The ParseException type exposes the following members.

Fields

  Name Description
currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token following this token will (therefore) be the first error token.
eol
The end of line string for this machine.
expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.
specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "GetMessage" method (see below).
tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.

See Also