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
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe source location of the dimension.
LowerBoundExpressionNodeThe lower-bound expression, or
nullwhen theToclause is omitted — in which case the effective lower bound followsOption Base. Absent rather than synthesized, because the statement did not write one.UpperBoundExpressionNodeThe upper-bound expression.
Properties
Location
The source location of the dimension.
public SourceLocation Location { get; init; }
Property Value
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
UpperBound
The upper-bound expression.
public ExpressionNode UpperBound { get; init; }