Table of Contents

Class BoundName

Namespace
RDCore.SDK.Semantics.Binding
Assembly
RDCore.SDK.dll

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

Name SimpleNameExpressionNode

The simple name expression.

Symbol Symbol

The 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

SimpleNameExpressionNode

Symbol

The symbol the name resolves to, from the scope it is written in.

public Symbol Symbol { get; init; }

Property Value

Symbol