Class WhileNode
- Namespace
- EzrSquared.Runtime.Nodes
- Assembly
- ezrSquared-lib.dll
The Node structure for an while expression.
public record WhileNode : Node
- Inheritance
-
objectWhileNode
- Inherited Members
Constructors
WhileNode(Node, Node, Position, Position)
The Node structure for an while expression.
public WhileNode(Node Condition, Node Body, Position StartPosition, Position EndPosition)
Parameters
ConditionNodeThe condition of the while loop.
BodyNodeThe body of the while loop.
StartPositionPositionEndPositionPosition
Properties
Body
The body of the while loop.
public Node Body { get; init; }
Property Value
Condition
The condition of the while loop.
public Node Condition { get; init; }