SimpleElementVisitor<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

SimpleElementVisitor()
Initialize a newly created visitor.
const

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
visitAugmentationImportElement(AugmentationImportElement element) → R?
override
visitClassElement(ClassElement element) → R?
override
visitCompilationUnitElement(CompilationUnitElement element) → R?
override
visitConstructorElement(ConstructorElement element) → R?
override
visitEnumElement(EnumElement element) → R?
override
visitExportElement(ExportElement element) → R?
override
visitExtensionElement(ExtensionElement element) → R?
override
visitFieldElement(FieldElement element) → R?
override
visitFieldFormalParameterElement(FieldFormalParameterElement element) → R?
override
visitFunctionElement(FunctionElement element) → R?
override
visitGenericFunctionTypeElement(GenericFunctionTypeElement element) → R?
override
visitImportElement(ImportElement element) → R?
override
visitLabelElement(LabelElement element) → R?
override
visitLibraryAugmentationElement(LibraryAugmentationElement element) → R?
override
visitLibraryElement(LibraryElement element) → R?
override
visitLibraryExportElement(LibraryExportElement element) → R?
override
visitLibraryImportElement(LibraryImportElement element) → R?
override
visitLocalVariableElement(LocalVariableElement element) → R?
override
visitMethodElement(MethodElement element) → R?
override
visitMixinElement(MixinElement element) → R?
override
visitMultiplyDefinedElement(MultiplyDefinedElement element) → R?
override
visitParameterElement(ParameterElement element) → R?
override
visitPartElement(PartElement element) → R?
override
visitPrefixElement(PrefixElement element) → R?
override
visitPropertyAccessorElement(PropertyAccessorElement element) → R?
override
visitSuperFormalParameterElement(SuperFormalParameterElement element) → R?
override
visitTopLevelVariableElement(TopLevelVariableElement element) → R?
override
visitTypeAliasElement(TypeAliasElement element) → R?
override
visitTypeParameterElement(TypeParameterElement element) → R?
override

Operators

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