TemplateAstVisitor<R, C> class abstract

A visitor for TemplateAst trees that may process each node.

An implementation may return element R, and optionally use C as context.

Implementers

Constructors

TemplateAstVisitor()
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
visitAnnotation(AnnotationAst astNode, [C? context]) → R
Visits all annotation ASTs.
visitAttribute(AttributeAst astNode, [C? context]) → R
Visits all attribute ASTs.
visitBanana(BananaAst astNode, [C? context]) → R
Visits all banana ASTs.
visitCloseElement(CloseElementAst astNode, [C? context]) → R
Visits all closeElement ASTS.
visitComment(CommentAst astNode, [C? context]) → R
Visits all comment ASTs.
visitContainer(ContainerAst astNode, [C? context]) → R?
Visits all container ASTs.
visitElement(ElementAst astNode, [C? context]) → R?
Visits all element ASTs.
visitEmbeddedContent(EmbeddedContentAst astNode, [C? context]) → R
Visits all embedded content ASTs.
visitEmbeddedTemplate(EmbeddedTemplateAst astNode, [C? context]) → R?
Visits all embedded template ASTs.
visitEvent(EventAst astNode, [C? context]) → R
Visits all event ASTs.
visitInterpolation(InterpolationAst astNode, [C? context]) → R
Visits all interpolation ASTs.
visitLetBinding(LetBindingAst astNode, [C? context]) → R
Visits all let-binding ASTs.
visitProperty(PropertyAst astNode, [C? context]) → R
Visits all property ASTs.
visitReference(ReferenceAst astNode, [C? context]) → R
Visits all reference ASTs.
visitStar(StarAst astNode, [C? context]) → R
Visits all star ASTs.
visitText(TextAst astNode, [C? context]) → R
Visits all text ASTs.

Operators

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