EachNode class

Inheritance

Constructors

EachNode({required String varName, required Node items, required Node body, Loc? loc})

Properties

body Node
Statement | Expression
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
items Node
Expression
getter/setter pair
loc Loc?
The location of the source string that created this node.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of the node.
no setteroverride
varName String
getter/setter pair

Methods

accept(Visitor fn) → void
Accepts a visitor.
override
isExpression() bool
Checks if the node is an expression.
inherited
isStatement() bool
Checks if the node is a statement.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visit(Visitor fn) Node
Visits the node and its child nodes.
inherited

Operators

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