Class DoLoopStatementNode
- Namespace
- RDCore.SDK.Model.AST.Statements
- Assembly
- RDCore.SDK.dll
Represents a Do...Loop construct.
public record DoLoopStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<DoLoopStatementNode>
- Inheritance
-
DoLoopStatementNode
- Implements
- Inherited Members
Remarks
If the Body contains no Exit statement (conditional or not), the loop is deterministically infinite.
Constructors
DoLoopStatementNode(SyntaxNodeId, SourceLocation, StatementBlock)
Represents a Do...Loop construct.
public DoLoopStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, StatementBlock Body)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.BodyStatementBlockThe executable statements in the body of the loop.
Remarks
If the Body contains no Exit statement (conditional or not), the loop is deterministically infinite.
Properties
Body
The executable statements in the body of the loop.
public StatementBlock Body { get; init; }