Class ArrayLikeNode
- Namespace
- EzrSquared.Runtime.Nodes
- Assembly
- ezrSquared-lib.dll
The Node structure for an arraylike (array or list).
public record ArrayLikeNode : Node
- Inheritance
-
objectArrayLikeNode
- Inherited Members
Constructors
ArrayLikeNode(IReadOnlyCollection<Node>, bool, Position, Position)
The Node structure for an arraylike (array or list).
public ArrayLikeNode(IReadOnlyCollection<Node> Elements, bool CreateList, Position StartPosition, Position EndPosition)
Parameters
Elements
IReadOnlyCollection<Node>The elements of the arraylike.
CreateList
boolThe check for if the ArrayLikeNode should create a list instead of an array.
StartPosition
PositionThe starting Position of the ArrayLikeNode.
EndPosition
PositionThe ending Position of the ArrayLikeNode.
Properties
CreateList
The check for if the ArrayLikeNode should create a list instead of an array.
public bool CreateList { get; init; }
Property Value
- bool
Elements
The elements of the arraylike.
public IReadOnlyCollection<Node> Elements { get; init; }
Property Value
- IReadOnlyCollection<Node>