Element class

An element node in the template.

This may represent an HTML element, such as <div>, or a Component instance.

Implemented types

Constructors

Element(CompileElement? compileElement, List<Binding> inputs, List<Binding> outputs, List<MatchedDirective> matchedDirectives, List<TemplateAst> parsedTemplate, List<IRNode> children)

Properties

children List<IRNode>
final
compileElement CompileElement?
final
hashCode int
The hash code for this object.
no setterinherited
inputs List<Binding>
final
matchedDirectives List<MatchedDirective>
final
outputs List<Binding>
final
parsedTemplate List<TemplateAst>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

accept<R, C, CO extends C>(IRVisitor<R, C> visitor, [CO? context]) → R
override
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 other) bool
The equality operator.
inherited