ClassFragment class abstract

The portion of a ClassElement2 contributed by a single declaration.

The fragment can be defined by either a class declaration (with a class body), or a mixin application (without a class body).

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

Implemented types

Constructors

ClassFragment()

Properties

children3 List<Fragment>
The children of this fragment.
no setterinherited
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 ClassElement2
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 ClassFragment?
The next fragment in the augmentation chain.
no setteroverride
previousFragment ClassFragment?
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