ElementAst class

An element declaration in a template.

Implemented types

Constructors

ElementAst(String name, List<AttrAst> attrs, List<BoundElementPropertyAst> inputs, List<BoundEventAst> outputs, List<ReferenceAst> references, List<DirectiveAst> directives, List<ProviderAst> providers, ElementProviderUsage? elementProviderUsage, List<TemplateAst> children, int? ngContentIndex, SourceSpan sourceSpan, List<CssSelector> matchedNgContentSelectors, {bool skipOnPushValidation = false, String skipSchemaValidationForSelector = '', Set<String> attributeDeps = const {}})

Properties

attributeDeps Set<String>
A container for all @Attribute dependencies in the Element.
final
attrs List<AttrAst>
final
children List<TemplateAst>
final
directives List<DirectiveAst>
final
elementProviderUsage ElementProviderUsage?
final
hashCode int
The hash code for this object.
no setterinherited
hasViewContainer bool
no setter
inputs List<BoundElementPropertyAst>
final
matchedNgContentSelectors List<CssSelector>
Selectors from select or ngProjectAs on an <ng-content> into which this element is projected.
final
name String
final
ngContentIndex int?
final
outputs List<BoundEventAst>
final
providers List<ProviderAst>
final
references List<ReferenceAst>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipOnPushValidation bool
Whether this element is annotated with @skipOnPushValidation.
final
skipSchemaValidationForSelector String
final
sourceSpan → SourceSpan
The source span from which this node was parsed.
final

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<R, C, CO extends C>(TemplateAstVisitor<R, C> visitor, CO context) → R
Visit this node and possibly transform it.
override

Operators

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