util

util

ValidationError

Constructor

new util(message, line, col)

Source:

Type to use when a validation error occurs.

Parameters:
Name Type Description
message String

The error message.

line int

The line at which the error occurred.

col int

The column at which the error occurred.

util

TokenStreamBase

Constructor

new util(input)

Source:

Generic TokenStream providing base functionality.

Parameters:
Name Type Description
input String | StringReader

The text to tokenize or a reader from which to read the input.

util

StringReader

Constructor

new util(text)

Source:

Convenient way to read through strings.

Parameters:
Name Type Description
text String

The text to read.

util

SyntaxError

Constructor

new util(message, line, col)

Source:

Type to use when a syntax error occurs.

Parameters:
Name Type Description
message String

The error message.

line int

The line at which the error occurred.

col int

The column at which the error occurred.

util

SyntaxUnit

Constructor

new util(text, line, col)

Source:

Base type to represent a single syntactic unit.

Parameters:
Name Type Description
text String

The text of the unit.

line int

The line of text on which the unit resides.

col int

The column of text on which the unit resides.