ChildEntities class
Helper class to allow iteration of child entities of an AST node.
Constructors
Properties
-
entities
→ List<
ChildEntity> -
The list of child entities to be iterated over.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
syntacticEntities
→ List<
SyntacticEntity> -
no setter
Methods
-
addAll(
ChildEntities other) → void -
addNode(
String name, AstNode? value) → void -
addNodeList(
String name, List< AstNode> value) → void -
addToken(
String name, Token? value) → void -
addTokenList(
String name, List< Token> value) → void -
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