Class CaseExpressionStatementNode
- Namespace
- RDCore.SDK.Model.AST.Statements
- Assembly
- RDCore.SDK.dll
An executable statement node that represents a Case block within a Select Case block statement.
public record CaseExpressionStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<CaseExpressionStatementNode>
- Inheritance
-
CaseExpressionStatementNode
- Implements
- Inherited Members
Constructors
CaseExpressionStatementNode(SyntaxNodeId, SourceLocation, ImmutableArray<CaseRangeClauseNode>, StatementBlock)
An executable statement node that represents a Case block within a Select Case block statement.
public CaseExpressionStatementNode(SyntaxNodeId Identity, SourceLocation Location, ImmutableArray<CaseRangeClauseNode> RangeClauses, StatementBlock Block)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe document location (
Uri+Range) of the bound expression.RangeClausesImmutableArray<CaseRangeClauseNode>The comma-separated range clauses on this
Caseline, in source order (MS-VBAL 5.4.2.10).BlockStatementBlockThe body of the
Caseblock.
Properties
Block
The body of the Case block.
public StatementBlock Block { get; init; }
Property Value
Location
The document location (Uri+Range) of the bound expression.
public SourceLocation Location { get; init; }
Property Value
RangeClauses
The comma-separated range clauses on this Case line, in source order (MS-VBAL 5.4.2.10).
public ImmutableArray<CaseRangeClauseNode> RangeClauses { get; init; }