Class: Token

Token()

new Token()

Token class.

Token class.

Source:

Methods

getColumn() → {number}

Get a column position of this token.

Get a column position of this token.

Source:
Returns:

A line number.

Type
number

getLineNumber() → {number}

Get a line number of this token.

Get a line number of this token.

Source:
Returns:

A line number.

Type
number

getType() → {string}

A getter for this type.

A getter for this type.

Source:
Returns:

A type name of this token.

Type
string

isWhiteSpace() → {boolean}

Test if this term is a kind of white-spaces.

Test if this term is a kind of white-spaces.

Source:
Returns:

The test result.

Type
boolean