See Token.type
See Token.content
A copy of the full string this token was created from.
Optional
alias: TokenNameThe alias(es) of the token.
Optional
aliasThe alias(es) of the token. Multiple aliases are separated by spaces.
The strings or tokens contained by this token.
This will be a token stream if the pattern matched also defined an inside
grammar.
Length of the full string this token was created from.
The type of the token.
This is usually the key of a pattern in a Grammar.
Generated using TypeDoc
Creates a new token.