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
Condition
NodeThe condition of the while loop.
Body
NodeThe body of the while loop.
StartPosition
PositionEndPosition
Position
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; }