v1/src/compiler/template_ast library

Classes

AttrAst
A plain attribute on an element.
AttributeValue<T>
An abstract attribute value.
BoundDirectiveEventAst
An event binding that matches an @Output declared on the directive.
BoundDirectivePropertyAst
A directive property binding.
BoundElementPropertyAst
A binding for an element property (e.g. property='expression').
BoundEventAst
A binding for an element event (e.g. (event)='handler()').
BoundExpression
A bound expression.
BoundI18nMessage
A bound internationalized message.
BoundTextAst
A bound expression within the text of a template.
BoundValue
An abstract bound value.
DirectiveAst
A directive declared on an element.
ElementAst
An element declaration in a template.
ElementProviderUsage
Public part of ProviderElementContext passed to ElementAst/EmbeddedTemplateAst to drive codegen optimizations.
EmbeddedTemplateAst
A
EventHandler
An event handler expression, with addition metadata.
I18nAttributeValue
An internationalized attribute value.
I18nTextAst
A segment of internationalized text within a template.
LiteralAttributeValue
A literal attribute value.
NgContainerAst
A
NgContentAst
Position where content is to be projected (instance of
ProviderAst
A provider declared on an element.
ReferenceAst
A reference declaration on an element (e.g. #someName='expression').
TemplateAst
An Abstract Syntax Tree node representing part of a parsed Angular template.
TemplateAstVisitor<R, C>
A visitor for TemplateAst trees that will process each node.
TextAst
A segment of text within the template.
VariableAst
A variable declaration on a

Enums

PropertyBindingType
Enumeration of types of property bindings.
ProviderAstType

Functions

templateVisitAll<R, C>(TemplateAstVisitor<R, C> visitor, List<TemplateAst> asts, C context) List<R>
Visit every node in a list of TemplateAsts with the given TemplateAstVisitor.