Table of Contents

Class WhileWendStatementNode

Namespace
RDCore.SDK.Model.AST.Statements
Assembly
RDCore.SDK.dll

Represents a While...Wend loop construct.

public record WhileWendStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<WhileWendStatementNode>
Inheritance
WhileWendStatementNode
Implements
Inherited Members

Remarks

This loop construct exits (and may not even enter) when the ConditionExpression evaluates to False.

Constructors

WhileWendStatementNode(SyntaxNodeId, SourceLocation, ExpressionNode, StatementBlock)

Represents a While...Wend loop construct.

public WhileWendStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, ExpressionNode ConditionExpression, StatementBlock Body)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

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

ConditionExpression ExpressionNode

An object or variant expression that controls loop entry and continuation.

Body StatementBlock

The executable statements in the body of the loop.

Remarks

This loop construct exits (and may not even enter) when the ConditionExpression evaluates to False.

Properties

Body

The executable statements in the body of the loop.

public StatementBlock Body { get; init; }

Property Value

StatementBlock

ConditionExpression

An object or variant expression that controls loop entry and continuation.

public ExpressionNode ConditionExpression { get; init; }

Property Value

ExpressionNode