ParsedCloseElementAst class

Represents a real, non-synthetic DOM close element that was parsed.

Clients should not extend, implement, or mix-in this class.

Inheritance
Mixed in types

Constructors

ParsedCloseElementAst(SourceFile sourceFile, NgToken closeElementStart, NgToken identifierToken, NgToken closeElementEnd, {ElementAst? openComplement})

Properties

beginToken NgToken?
First token that was used to form this AST.
finalinherited
childNodes List<StandaloneTemplateAst>
Child nodes, if any.
no setterinherited
endToken NgToken?
Last token that was used to form this AST.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
identifierToken NgToken
NgToken that represents the identifier tag in </tag>.
final
isEmbeddedTemplate bool
Whether this is a </template> tag and should be directly rendered.
no setterinherited
isParent bool
Whether this node is capable of containing children and does.
finalinherited
isStandalone bool
Whether this node needs to be 'attached' to another node to be valid.
no setterinherited
isSynthetic bool
Whether this node did not truly originate from the parsed source.
finalinherited
name String
Name (tag) of the close element.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceSpan → SourceSpan
Segment of source text from which the AST was parsed from.
no setterinherited
sourceUrl String?
no setterinherited

Methods

accept<R, C>(TemplateAstVisitor<R, C?> visitor, [C? context]) → R
Have the visitor start visiting this node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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