StreamParser
A stream parser parses or tokenizes content from start to end, emitting tokens as it goes. It keeps a mutable (but copyable) object with state.
Properties
Link copied to clipboard
Default language data to attach to this language.
Link copied to clipboard
By default, adjacent tokens of the same type are merged. Set to false to disable.
Link copied to clipboard
Extra tokens to use in this parser. When the tokenizer returns a token name that exists here, the corresponding tags will be assigned.