Class InvalidNode
- Namespace
- EzrSquared.Runtime.Nodes
- Assembly
- ezrSquared-lib.dll
The dummy invalid Node structure. For returning instead of null if an EzrSyntaxError occurs during parsing.
public record InvalidNode : Node
- Inheritance
-
objectInvalidNode
- Inherited Members
Constructors
InvalidNode(Position, Position)
Creates a new InvalidNode object.
private InvalidNode(Position startPosition, Position endPosition)
Parameters
startPosition
PositionThe starting Position of the InvalidNode.
endPosition
PositionThe ending Position of the InvalidNode.
Fields
s_invalidNode
The static InvalidNode object.
internal static readonly InvalidNode s_invalidNode