Class BoundName
A simple name (MS-VBAL §5.6.10), and the symbol it resolves to.
public sealed record BoundName : BoundNode, IEquatable<BoundNode>, IEquatable<BoundName>
- Inheritance
-
BoundName
- Implements
- Inherited Members
Remarks
What the name evaluates to - a variable's value, a constant's, a call of a procedure that takes no argument - is the symbol's to say: the binding only spares the evaluation the resolution of the name.
Constructors
BoundName(SimpleNameExpressionNode, Symbol)
A simple name (MS-VBAL §5.6.10), and the symbol it resolves to.
public BoundName(SimpleNameExpressionNode Name, Symbol Symbol)
Parameters
NameSimpleNameExpressionNodeThe simple name expression.
SymbolSymbolThe symbol the name resolves to, from the scope it is written in.
Remarks
What the name evaluates to - a variable's value, a constant's, a call of a procedure that takes no argument - is the symbol's to say: the binding only spares the evaluation the resolution of the name.
Properties
Name
The simple name expression.
public SimpleNameExpressionNode Name { get; init; }
Property Value
Symbol
The symbol the name resolves to, from the scope it is written in.
public Symbol Symbol { get; init; }