The Token that requested pop mode.
An Unexpected Character Error occurs when the lexer is unable to match a range of one or more characters in the input text against any of the Token Types in it's Lexer definition
Full original input text.
Offset in input text where error starts.
Error length.
Line number where the error occurred. (optional) Will not be provided when lexer is not defined to track lines/columns
Column number where the error occurred. (optional) Will not be provided when lexer is not defined to track lines/columns
Generated using TypeDoc
Unable To Pop Lexer Mode Error happens when lexer tries to pop the last remaining mode from the mode stack so that there is no longer any active lexer mode This error only relevant for multi-mode lexers