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, CompileDirectiveMetadata? _) TemplateAst
inherited
visitBoundText(BoundTextAst ast, CompileDirectiveMetadata? _) TemplateAst
inherited
visitDirective(DirectiveAst ast, CompileDirectiveMetadata? context) TemplateAst
inherited
visitDirectiveEvent(BoundDirectiveEventAst ast, CompileDirectiveMetadata? _) TemplateAst
inherited
visitDirectiveProperty(BoundDirectivePropertyAst ast, CompileDirectiveMetadata? _) TemplateAst
inherited
visitElement(ElementAst ast, CompileDirectiveMetadata? context) TemplateAst
inherited
visitElementProperty(BoundElementPropertyAst ast, CompileDirectiveMetadata? _) TemplateAst
inherited
visitEmbeddedTemplate(EmbeddedTemplateAst ast, CompileDirectiveMetadata? component) TemplateAst
override
visitEvent(BoundEventAst ast, CompileDirectiveMetadata? _) TemplateAst
inherited
visitI18nText(I18nTextAst ast, CompileDirectiveMetadata? _) TemplateAst
inherited
visitNgContainer(NgContainerAst ast, CompileDirectiveMetadata? context) TemplateAst
inherited
visitNgContent(NgContentAst ast, CompileDirectiveMetadata? context) TemplateAst
inherited
visitProvider(ProviderAst ast, CompileDirectiveMetadata? _) TemplateAst
inherited
visitReference(ReferenceAst ast, CompileDirectiveMetadata? _) TemplateAst
inherited
visitText(TextAst ast, CompileDirectiveMetadata? _) TemplateAst
inherited
visitVariable(VariableAst ast, CompileDirectiveMetadata? _) TemplateAst
inherited

Operators

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