RecursiveTemplateAstVisitor<C> class

An TemplateAstVisitor that recursively visits all children of an AST node, in addition to itself.

Note that methods may modify values.

Implemented types
Implementers

Constructors

RecursiveTemplateAstVisitor()
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
visit<T extends TemplateAst>(T? astNode, [C? context]) → T?
Visits a single TemplateAst node, capturing the type.
visitAll<T extends TemplateAst>(Iterable<T>? astNodes, [C? context]) List<T>?
Visits a collection of TemplateAst nodes, returning all of those that are not null.
visitAnnotation(AnnotationAst astNode, [C? _]) TemplateAst
Visits all annotation ASTs.
override
visitAttribute(AttributeAst astNode, [C? context]) TemplateAst
Visits all attribute ASTs.
override
visitBanana(BananaAst astNode, [C? _]) TemplateAst
Visits all banana ASTs.
override
visitCloseElement(CloseElementAst astNode, [C? _]) TemplateAst
Visits all closeElement ASTS.
override
visitComment(CommentAst astNode, [C? _]) TemplateAst
Visits all comment ASTs.
override
visitContainer(ContainerAst astNode, [C? context]) TemplateAst
Visits all container ASTs.
override
visitElement(ElementAst astNode, [C? context]) TemplateAst?
Visits all element ASTs.
override
visitEmbeddedContent(EmbeddedContentAst astNode, [C? _]) TemplateAst
Visits all embedded content ASTs.
override
visitEmbeddedTemplate(EmbeddedTemplateAst astNode, [C? context]) TemplateAst
Visits all embedded template ASTs.
override
visitEvent(EventAst astNode, [C? context]) TemplateAst
Visits all event ASTs.
override
visitInterpolation(InterpolationAst astNode, [C? _]) TemplateAst
Visits all interpolation ASTs.
override
visitLetBinding(LetBindingAst astNode, [C? _]) TemplateAst
Visits all let-binding ASTs.
override
visitProperty(PropertyAst astNode, [C? _]) TemplateAst
Visits all property ASTs.
override
visitReference(ReferenceAst astNode, [C? _]) TemplateAst
Visits all reference ASTs.
override
visitStar(StarAst astNode, [C? _]) TemplateAst
Visits all star ASTs.
override
visitText(TextAst astNode, [C? _]) TemplateAst
Visits all text ASTs.
override

Operators

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