ParseException
This exception is thrown when parse errors are encountered. You can explicitly create objects of this exception type by calling the method generateParseException in the generated parser. You can modify this class to customize your error reporting mechanisms so long as you retain the public fields.
Constructors
Link copied to clipboard
constructor(currentTokenVal: Token, expectedTokenSequencesVal: Array<Array<Int>>, tokenImageVal: Array<String>)
This constructor is used by the method "generateParseException" in the generated parser.
constructor()
The following constructors are for use by you for whatever purpose you can think of.
Constructor with message.
Properties
Link copied to clipboard
This is the last token that has been consumed successfully.
Link copied to clipboard
Each entry in this array is an array of integers.
Link copied to clipboard
Link copied to clipboard
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.