Fragment class abstract
A fragment that wholly or partially defines an element.
When an element is defined by one or more fragments, those fragments form an augmentation chain. This is represented in the element model as a doubly-linked list.
In valid code the first fragment is the base declaration and all of the other fragments are augmentations. This can be violated in the element model in the case of invalid code, such as when an augmentation is declared even though there is no base declaration.
Constructors
- Fragment()
Properties
-
children3
→ List<
Fragment> -
The children of this fragment.
no setter
- element → Element2
-
The element composed from this fragment and possibly other fragments.
no setter
- enclosingFragment → Fragment?
-
The fragment that either physically or logically encloses this fragment.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- libraryFragment → LibraryFragment?
-
The library fragment that contains this fragment.
no setter
- name2 → String?
-
The name of the fragment.
no setter
- nameOffset2 → int?
-
The offset of the name2 of this element.
no setter
- nextFragment → Fragment?
-
The next fragment in the augmentation chain.
no setter
- previousFragment → Fragment?
-
The previous fragment in the augmentation chain.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
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