Table of Contents

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

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

Location SourceLocation

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

RangeClauses ImmutableArray<CaseRangeClauseNode>

The comma-separated range clauses on this Case line, in source order (MS-VBAL 5.4.2.10).

Block StatementBlock

The body of the Case block.

Properties

Block

The body of the Case block.

public StatementBlock Block { get; init; }

Property Value

StatementBlock

Location

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

public SourceLocation Location { get; init; }

Property Value

SourceLocation

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

Property Value

ImmutableArray<CaseRangeClauseNode>