RecursiveElementVisitor2<R> class
A visitor that will recursively visit all of the element in an element model. For example, using an instance of this class to visit a LibraryFragment will also cause all of the types in the fragment to be visited.
Subclasses that override a visit method must either invoke the overridden visit method or must explicitly ask the visited element to visit its children. Failure to do so will cause the children of the visited element to not be visited.
Clients may extend this class.
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
visitClassElement(
ClassElement2 element) → R? -
override
-
visitConstructorElement(
ConstructorElement2 element) → R? -
override
-
visitEnumElement(
EnumElement2 element) → R? -
override
-
visitExtensionElement(
ExtensionElement2 element) → R? -
override
-
visitExtensionTypeElement(
ExtensionTypeElement2 element) → R? -
override
-
visitFieldElement(
FieldElement2 element) → R? -
override
-
visitFieldFormalParameterElement(
FieldFormalParameterElement2 element) → R? -
override
-
visitFormalParameterElement(
FormalParameterElement element) → R? -
override
-
visitGenericFunctionTypeElement(
GenericFunctionTypeElement2 element) → R? -
override
-
visitGetterElement(
GetterElement element) → R? -
override
-
visitLabelElement(
LabelElement2 element) → R? -
override
-
visitLibraryElement(
LibraryElement2 element) → R? -
override
-
visitLocalFunctionElement(
LocalFunctionElement element) → R? -
override
-
visitLocalVariableElement(
LocalVariableElement2 element) → R? -
override
-
visitMethodElement(
MethodElement2 element) → R? -
override
-
visitMixinElement(
MixinElement2 element) → R? -
override
-
visitMultiplyDefinedElement(
MultiplyDefinedElement2 element) → R? -
override
-
visitPrefixElement(
PrefixElement2 element) → R? -
override
-
visitSetterElement(
SetterElement element) → R? -
override
-
visitSuperFormalParameterElement(
SuperFormalParameterElement2 element) → R? -
override
-
visitTopLevelFunctionElement(
TopLevelFunctionElement element) → R? -
override
-
visitTopLevelVariableElement(
TopLevelVariableElement2 element) → R? -
override
-
visitTypeAliasElement(
TypeAliasElement2 element) → R? -
override
-
visitTypeParameterElement(
TypeParameterElement2 element) → R? -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited