Class: Node
Defined in: Interpreter/Node.ts:6
A low-level object representing a bracketed tag.
Constructors
new Node()
new Node(coordinates
, tag
): Node
Defined in: Interpreter/Node.ts:13
Parameters
coordinates
[number
, number
]
tag
null
| Lexer
Returns
Properties
coordinates
coordinates: [number
, number
]
Defined in: Interpreter/Node.ts:7
output
output: null
| string
Defined in: Interpreter/Node.ts:11
tag
tag: null
| Lexer
Defined in: Interpreter/Node.ts:9
Methods
toJSON()
toJSON(): object
Defined in: Interpreter/Node.ts:24
Returns
object
coordinates
coordinates: [number
, number
]
output
output: null
| string
tag
tag: null
| Lexer
toString()
toString(): string
Defined in: Interpreter/Node.ts:19
Returns
string