Token
Index
Constructors
constructor
Properties
readonlycolumn
The 1-indexed column number at which this Token begins.
readonlyend
The character offset at which this Node ends.
readonlykind
The kind of Token.
readonlyline
The 1-indexed line number on which this Token appears.
readonlynext
readonlyprev
Tokens exist as nodes in a double-linked-list amongst all tokens including ignored tokens.
<SOF>
is always the first node and <EOF>
the last.readonlystart
The character offset at which this Node begins.
readonlyvalue
For non-punctuation tokens, represents the interpreted value of the token.
Note: is undefined for punctuation tokens, but typed as string for convenience in the parser.
Accessors
[toStringTag]
Returns string
Represents a range of characters represented by a lexical token within a Source.