TagScript
classes
Node

Class: Node

A low-level object representing a bracketed tag.

Constructors

new Node()

new Node(coordinates, tag): Node

Parameters

coordinates: [number, number]

tag: null | Lexer

Returns

Node

Source

lib/Interpreter/Node.ts:13

Properties

coordinates

coordinates: [number, number]

Source

lib/Interpreter/Node.ts:7


output

output: null | string

Source

lib/Interpreter/Node.ts:11


tag

tag: null | Lexer

Source

lib/Interpreter/Node.ts:9

Methods

toJSON()

toJSON(): object

Returns

object

coordinates

coordinates: [number, number]

output

output: null | string

tag

tag: null | Lexer

Source

lib/Interpreter/Node.ts:24


toString()

toString(): string

Returns

string

Source

lib/Interpreter/Node.ts:19