The ezr² Project 0.1.1
The codebase for the ezr² programming language.
Loading...
Searching...
No Matches
EzrSquared.Runtime.Nodes.InvalidNode Class Reference

The dummy invalid Node structure. For returning instead of null if an SyntaxError occurs during parsing. More...

Inheritance diagram for EzrSquared.Runtime.Nodes.InvalidNode:

Public Member Functions

override string ToString ()
 Creates a string representation of the InvalidNode.
All fields excluding the start and end positions are included in the representation, like "ExampleNode(Property1, Property2)".
 

Private Member Functions

 InvalidNode (Position startPosition, Position endPosition)
 Creates a new InvalidNode object.
 

Detailed Description

The dummy invalid Node structure. For returning instead of null if an SyntaxError occurs during parsing.

Constructor & Destructor Documentation

◆ InvalidNode()

EzrSquared.Runtime.Nodes.InvalidNode.InvalidNode ( Position startPosition,
Position endPosition )
private

Creates a new InvalidNode object.

Parameters
startPositionThe starting Position of the InvalidNode.
endPositionThe ending Position of the InvalidNode.

Member Function Documentation

◆ ToString()

override string EzrSquared.Runtime.Nodes.InvalidNode.ToString ( )

Creates a string representation of the InvalidNode.
All fields excluding the start and end positions are included in the representation, like "ExampleNode(Property1, Property2)".

Returns
The string representation.

The documentation for this class was generated from the following file: