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
Name
TokenThe name of the variable, a Token object of type Identifier.
AccessibilityModifiers
AccessModThe accessibility modifiers for the variable access operation.
StartPosition
PositionThe starting Position of the VariableAccessNode.
EndPosition
PositionThe 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; }