Class SelectCaseStatementNode
- Namespace
- RDCore.SDK.Model.AST.Statements
- Assembly
- RDCore.SDK.dll
An executable statement node that represents a Select Case...End Select block.
public record SelectCaseStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<SelectCaseStatementNode>
- Inheritance
-
SelectCaseStatementNode
- Implements
- Inherited Members
Constructors
SelectCaseStatementNode(SyntaxNodeId, SourceLocation, ExpressionNode, ImmutableArray<CaseExpressionStatementNode>)
An executable statement node that represents a Select Case...End Select block.
public SelectCaseStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, ExpressionNode ControlExpression, ImmutableArray<CaseExpressionStatementNode> CaseExpressionBlocks)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.ControlExpressionExpressionNodeThe control expression whose evaluation result each
Caseexpression gets compared to.CaseExpressionBlocksImmutableArray<CaseExpressionStatementNode>The
Casesub-expressions.
Properties
CaseExpressionBlocks
The Case sub-expressions.
public ImmutableArray<CaseExpressionStatementNode> CaseExpressionBlocks { get; init; }
Property Value
ControlExpression
The control expression whose evaluation result each Case expression gets compared to.
public ExpressionNode ControlExpression { get; init; }