Table of Contents

Class WhileNode

Namespace
EzrSquared.Runtime.Nodes
Assembly
ezrSquared-lib.dll

The Node structure for an while expression.

public record WhileNode : Node
Inheritance
object
WhileNode
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 Node

The condition of the while loop.

Body Node

The body of the while loop.

StartPosition Position

The starting Position of the WhileNode.

EndPosition Position

The ending Position of the WhileNode.

Properties

Body

The body of the while loop.

public Node Body { get; init; }

Property Value

Node

Condition

The condition of the while loop.

public Node Condition { get; init; }

Property Value

Node