Class VariableAccessNode
- Namespace
- EzrSquared.Runtime.Nodes
- Assembly
- ezrSquared-lib.dll
The Node structure for accesing a variable from the context.
public record VariableAccessNode : Node
- Inheritance
-
objectVariableAccessNode
- Inherited Members
Constructors
VariableAccessNode(Token, AccessMod, Position, Position)
The Node structure for accesing a variable from the context.
public VariableAccessNode(Token Name, AccessMod AccessibilityModifiers, Position StartPosition, Position EndPosition)
Parameters
NameTokenThe name of the variable, a Token object of type Identifier.
AccessibilityModifiersAccessModThe accessibility modifiers for the variable access operation.
StartPositionPositionThe starting Position of the VariableAccessNode.
EndPositionPositionThe ending Position of the VariableAccessNode.
Properties
AccessibilityModifiers
The accessibility modifiers for the variable access operation.
public AccessMod AccessibilityModifiers { get; init; }
Property Value
Name
The name of the variable, a Token object of type Identifier.
public Token Name { get; init; }