ForNode class

Inheritance

Constructors

ForNode({String? varName, Node? from, Node? to, Node? times, required Node body, Loc? loc})

Properties

body Node
Statement | Expression
getter/setter pair
from Node?
Expression
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
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
times Node?
Expression
getter/setter pair
to Node?
Expression
getter/setter pair
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