OptimizeTemplateAstVisitor class

Augments TemplateAsts with additional information to enable optimizations.

This information can't be provided during construction of the TemplateAsts as it may not exist yet at the time it is needed.

Inheritance

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, [CompileDirectiveMetadata? context]) → T?
inherited
visitAll<T extends TemplateAst>(Iterable<T> astNodes, [CompileDirectiveMetadata? context]) List<T>
Visits a collection of TemplateAst nodes, returning all of those that are not null.
inherited
visitAttr(AttrAst ast, void context) TemplateAst
inherited
visitBoundText(BoundTextAst ast, void context) TemplateAst
inherited
visitDirective(DirectiveAst ast, CompileDirectiveMetadata? context) TemplateAst
inherited
visitDirectiveEvent(BoundDirectiveEventAst ast, void context) TemplateAst
inherited
visitDirectiveProperty(BoundDirectivePropertyAst ast, void context) TemplateAst
inherited
visitElement(ElementAst ast, CompileDirectiveMetadata? context) TemplateAst
inherited
visitElementProperty(BoundElementPropertyAst ast, void context) TemplateAst
inherited
visitEmbeddedTemplate(EmbeddedTemplateAst ast, CompileDirectiveMetadata? context) TemplateAst
override
visitEvent(BoundEventAst ast, void context) TemplateAst
inherited
visitI18nText(I18nTextAst ast, void context) TemplateAst
inherited
visitNgContainer(NgContainerAst ast, CompileDirectiveMetadata? context) TemplateAst
inherited
visitNgContent(NgContentAst ast, CompileDirectiveMetadata? context) TemplateAst
inherited
visitProvider(ProviderAst ast, void context) TemplateAst
inherited
visitReference(ReferenceAst ast, void context) TemplateAst
inherited
visitText(TextAst ast, void context) TemplateAst
inherited
visitVariable(VariableAst ast, void context) TemplateAst
inherited

Operators

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