EnumFragment class abstract

The portion of an EnumElement2 contributed by a single declaration.

Clients may not extend, implement or mix-in this class.

Implemented types

Constructors

EnumFragment()

Properties

children3 List<Fragment>
The children of this fragment.
no setterinherited
constants2 List<FieldElement2>
The constants defined by this fragment of the enum.
no setter
constructors2 List<ConstructorFragment>
The constructors declared in this fragment.
no setterinherited
documentationComment String?
The content of the documentation comment (including delimiters) for this element or fragment.
no setterinherited
element EnumElement2
The element composed from this fragment and possibly other fragments.
no setteroverride
enclosingFragment LibraryFragment?
The fragment that either physically or logically encloses this fragment.
no setterinherited
fields2 List<FieldFragment>
The fields declared in this fragment.
no setterinherited
getters List<GetterFragment>
The getters declared in this fragment.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
interfaces List<InterfaceType>
The interfaces that are implemented by this fragment.
no setterinherited
isAugmentation bool
Whether the fragment is an augmentation.
no setterinherited
libraryFragment LibraryFragment
The library fragment that contains this fragment.
no setterinherited
metadata2 Metadata
The metadata associated with the element or fragment.
no setterinherited
methods2 List<MethodFragment>
The methods declared in this fragment.
no setterinherited
mixins List<InterfaceType>
The mixins that are applied by this fragment.
no setterinherited
name2 String?
The name of the fragment.
no setterinherited
nameOffset2 int?
The offset of the name2 of this element.
no setterinherited
nextFragment EnumFragment?
The next fragment in the augmentation chain.
no setteroverride
previousFragment EnumFragment?
The previous fragment in the augmentation chain.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setters List<SetterFragment>
The setters declared in this fragment.
no setterinherited
supertype InterfaceType?
The superclass declared by this fragment.
no setterinherited
typeParameters2 List<TypeParameterFragment>
The type parameters declared by this fragment directly.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited