Table of Contents

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

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

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

ComparisonOperator string

The comparison operator token (see Tokens).

Value ExpressionNode

The value the control expression is compared against.

Properties

ComparisonOperator

The comparison operator token (see Tokens).

public string ComparisonOperator { get; init; }

Property Value

string

Value

The value the control expression is compared against.

public ExpressionNode Value { get; init; }

Property Value

ExpressionNode