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, ExpressionNode, StatementBlock)

An executable statement node that represents a Case block within a Select Case block statement.

public CaseExpressionStatementNode(SyntaxNodeId Identity, SourceLocation Location, ExpressionNode Expression, StatementBlock Block)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

Location SourceLocation

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

Expression ExpressionNode

The expression whose evaluation result is to be compared to the Select control expression.

Block StatementBlock

The body of the Case block.

Properties

Block

The body of the Case block.

public StatementBlock Block { get; init; }

Property Value

StatementBlock

Expression

The expression whose evaluation result is to be compared to the Select control expression.

public ExpressionNode Expression { get; init; }

Property Value

ExpressionNode

Location

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

public SourceLocation Location { get; init; }

Property Value

SourceLocation