Class CaseValueRangeClauseNode
- Namespace
- RDCore.SDK.Model.AST.Statements
- Assembly
- RDCore.SDK.dll
A Case range clause matching a single value (e.g. Case 5).
public sealed record CaseValueRangeClauseNode : CaseRangeClauseNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<CaseRangeClauseNode>, IEquatable<CaseValueRangeClauseNode>
- Inheritance
-
CaseValueRangeClauseNode
- Implements
- Inherited Members
Constructors
CaseValueRangeClauseNode(SyntaxNodeId, SourceLocation, ExpressionNode)
A Case range clause matching a single value (e.g. Case 5).
public CaseValueRangeClauseNode(SyntaxNodeId Identity, SourceLocation SourceLocation, ExpressionNode Value)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.ValueExpressionNodeThe value this clause matches against the
Selectcontrol expression.
Properties
Value
The value this clause matches against the Select control expression.
public ExpressionNode Value { get; init; }