Class CaseComparisonRangeClauseNode
- Namespace
- RDCore.SDK.Model.AST.Statements
- Assembly
- RDCore.SDK.dll
A Case range clause matching by comparison (e.g. Case Is > 5).
public sealed record CaseComparisonRangeClauseNode : CaseRangeClauseNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<CaseRangeClauseNode>, IEquatable<CaseComparisonRangeClauseNode>
- Inheritance
-
CaseComparisonRangeClauseNode
- Implements
- Inherited Members
Constructors
CaseComparisonRangeClauseNode(SyntaxNodeId, SourceLocation, string, ExpressionNode)
A Case range clause matching by comparison (e.g. Case Is > 5).
public CaseComparisonRangeClauseNode(SyntaxNodeId Identity, SourceLocation SourceLocation, string ComparisonOperator, ExpressionNode Value)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.ComparisonOperatorstringThe comparison operator token (see
Tokens).ValueExpressionNodeThe value the control expression is compared against.
Properties
ComparisonOperator
The comparison operator token (see Tokens).
public string ComparisonOperator { get; init; }
Property Value
Value
The value the control expression is compared against.
public ExpressionNode Value { get; init; }