Table of Contents

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

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

The document location (Uri+Range) of the bound expression.

Body StatementBlock

The 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; }

Property Value

StatementBlock