SimpleElementVisitor2<R> class

A visitor that will do nothing when visiting an element. It is intended to be a superclass for classes that use the visitor pattern primarily as a dispatch mechanism (and hence don't need to recursively visit a whole structure) and that only need to visit a small number of element types.

Clients may extend this class.

Implemented types

Constructors

SimpleElementVisitor2()

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