Table of Contents

Class RedimDimensionNode

Namespace
RDCore.SDK.Model.AST.Declarations
Assembly
RDCore.SDK.dll

One dimension of a RedimBoundsNode — MS-VBAL §5.4.3.3's dynamic-dim-spec, [<dynamic-lower-bound> To] <dynamic-upper-bound>.

public record RedimDimensionNode : SyntaxNode, IEquatable<SyntaxNode>, IEquatable<RedimDimensionNode>
Inheritance
RedimDimensionNode
Implements
Inherited Members

Constructors

RedimDimensionNode(SyntaxNodeId, SourceLocation, ExpressionNode?, ExpressionNode)

One dimension of a RedimBoundsNode — MS-VBAL §5.4.3.3's dynamic-dim-spec, [<dynamic-lower-bound> To] <dynamic-upper-bound>.

public RedimDimensionNode(SyntaxNodeId Identity, SourceLocation Location, ExpressionNode? LowerBound, ExpressionNode UpperBound)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

Location SourceLocation

The source location of the dimension.

LowerBound ExpressionNode

The lower-bound expression, or null when the To clause is omitted — in which case the effective lower bound follows Option Base. Absent rather than synthesized, because the statement did not write one.

UpperBound ExpressionNode

The upper-bound expression.

Properties

Location

The source location of the dimension.

public SourceLocation Location { get; init; }

Property Value

SourceLocation

LowerBound

The lower-bound expression, or null when the To clause is omitted — in which case the effective lower bound follows Option Base. Absent rather than synthesized, because the statement did not write one.

public ExpressionNode? LowerBound { get; init; }

Property Value

ExpressionNode

UpperBound

The upper-bound expression.

public ExpressionNode UpperBound { get; init; }

Property Value

ExpressionNode