@OpenApiAll
public class ParseException
extends java.lang.Exception
Constructor and Description |
---|
ParseException()
The following constructors are for use by you for whatever
purpose you can think of.
|
ParseException(java.lang.String message)
Constructor with message.
|
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
java.lang.String[] tokenImageVal)
This constructor is used by the method "generateParseException"
in the generated parser.
|
Modifier and Type | Method and Description |
---|---|
(package private) static java.lang.String |
add_escapes(java.lang.String str)
Used to convert raw characters to their escaped version
when these raw version cannot be used as part of an ASCII
string literal.
|
Token |
getCurrentToken() |
java.lang.String |
getEol() |
int[][] |
getExpectedTokenSequences() |
java.lang.String[] |
getTokenImage() |
public ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal)
public ParseException()
public ParseException(java.lang.String message)
static java.lang.String add_escapes(java.lang.String str)
public Token getCurrentToken()
public int[][] getExpectedTokenSequences()
public java.lang.String[] getTokenImage()
public java.lang.String getEol()