This class takes a set of highlighting rules, and creates a tokenizer out of them. For more information, see the wiki on extending highlighters.
Constructs a new tokenizer based on the given rules and flags.
The highlighting rules
Returns an object containing two properties: tokens, which contains all the tokens; and state, the current state.
tokens
state
Generated using TypeDoc
This class takes a set of highlighting rules, and creates a tokenizer out of them. For more information, see the wiki on extending highlighters.