Class DoLoopUntilStatementNode
- Namespace
- RDCore.SDK.Model.AST.Statements
- Assembly
- RDCore.SDK.dll
Represents a Do... Loop Until construct.
public record DoLoopUntilStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<DoLoopUntilStatementNode>
- Inheritance
-
DoLoopUntilStatementNode
- Implements
- Inherited Members
Remarks
This loop construct exits when the ConditionExpression evaluates to True.
Constructors
DoLoopUntilStatementNode(SyntaxNodeId, SourceLocation, ExpressionNode, StatementBlock)
Represents a Do... Loop Until construct.
public DoLoopUntilStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, ExpressionNode ConditionExpression, StatementBlock Body)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.ConditionExpressionExpressionNodeAn object or variant expression that controls loop entry and continuation.
BodyStatementBlockThe executable statements in the body of the loop.
Remarks
This loop construct exits when the ConditionExpression evaluates to True.
Properties
Body
The executable statements in the body of the loop.
public StatementBlock Body { get; init; }
Property Value
ConditionExpression
An object or variant expression that controls loop entry and continuation.
public ExpressionNode ConditionExpression { get; init; }