Column of the last character of the Token.
Line of the last character of the Token.
The textual representation of the Token as it appeared in the text.
Column of the first character of the Token.
Line of the first character of the Token.
Offset of the first character of the Token.
A "human readable" Label for a Token. Subclasses of Token may define their own static LABEL property. This label will be used in error messages and drawing syntax diagrams.
For example a Token constructor may be called LCurly, which is short for LeftCurlyBrackets, These names are either too short or too unwieldy to be used in error messages.
Imagine : "expecting LCurly but found ')'" or "expecting LeftCurlyBrackets but found ')'"
However if a static property LABEL with the value '{' exists on LCurly class, that error message will be: "expecting '{' but found ')'"
Generated using TypeDoc
A special kind of Token which does not really exist in the input (hence the 'Virtual' prefix). These type of Tokens can be used as special markers: for example, EOF (end-of-file).