浏览该文件的文档.
3 #ifndef JAVACC_PARSE_EXCEPTION_H
4 #define JAVACC_PARSE_EXCEPTION_H
31 int** expectedTokenSequencesVal,
Describes the input token stream.
JJString initialise(Token currentToken, int **expectedTokenSequences, JJString *tokenImage)
It uses "currentToken" and "expectedTokenSequences" to generate a parse error message and returns it.
JJString add_escapes(const JJString &str)
Used to convert raw characters to their escaped version when these raw version cannot be used as part...
Token currentToken
This is the last token that has been consumed successfully.
This exception is thrown when parse errors are encountered.
int ** expectedTokenSequences
Each entry in this array is an array of integers.
Token literal values and constants.
JJString * tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error oc...
JAVACC_STRING_TYPE JJString
ParseException()
The following constructors are for use by you for whatever purpose you can think of.