The type of the token emitted by this rule.
The tokenizer stage type.
The context passed by tokenizer.
The list of stages at which the rule can be used. If undefined
then the rule is used on all stages. If an empty
array then the rule is never used.
The reader that reads chars from the string.
If set to true
then tokens read by this reader are not emitted.
Provides the stage to which tokenizer transitions if this rule successfully reads a token.
If undefined
then the stage is left unchanged.
The type of the token that is passed to TokenHandler when the rule successfully reads chars from the input string. Type isn't required to be unique, so multiple rules may share the same type if needed.
Generated using TypeDoc
Defines how the token is read from the input string and how Tokenizer transitions between stages.