Table of Contents

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
object
VariableAccessNode
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 Token

The name of the variable, a Token object of type Identifier.

AccessibilityModifiers AccessMod

The accessibility modifiers for the variable access operation.

StartPosition Position

The starting Position of the VariableAccessNode.

EndPosition Position

The ending Position of the VariableAccessNode.

Properties

AccessibilityModifiers

The accessibility modifiers for the variable access operation.

public AccessMod AccessibilityModifiers { get; init; }

Property Value

AccessMod

Name

The name of the variable, a Token object of type Identifier.

public Token Name { get; init; }

Property Value

Token