Package antlr
Class MismatchedTokenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
antlr.ANTLRException
antlr.RecognitionException
antlr.MismatchedTokenException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
static final int
static final int
static final int
static final int
static final int
static final int
(package private) String[]
(package private) String
int
Fields inherited from class antlr.RecognitionException
column, fileName, line
-
Constructor Summary
ConstructorsConstructorDescriptionLooking for AST wildcard, didn't find itMismatchedTokenException
(String[] tokenNames_, AST node_, int expecting_, boolean matchNot) MismatchedTokenException
(String[] tokenNames_, AST node_, int lower, int upper_, boolean matchNot) MismatchedTokenException
(String[] tokenNames_, AST node_, BitSet set_, boolean matchNot) MismatchedTokenException
(String[] tokenNames_, Token token_, int expecting_, boolean matchNot, String fileName_) MismatchedTokenException
(String[] tokenNames_, Token token_, int lower, int upper_, boolean matchNot, String fileName_) MismatchedTokenException
(String[] tokenNames_, Token token_, BitSet set_, boolean matchNot, String fileName_) -
Method Summary
Modifier and TypeMethodDescriptionReturns a clean error message (no line number/column information)Methods inherited from class antlr.RecognitionException
getColumn, getErrorMessage, getFilename, getLine, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
tokenNames
String[] tokenNames -
token
-
node
-
tokenText
String tokenText -
TOKEN
public static final int TOKEN- See Also:
-
NOT_TOKEN
public static final int NOT_TOKEN- See Also:
-
RANGE
public static final int RANGE- See Also:
-
NOT_RANGE
public static final int NOT_RANGE- See Also:
-
SET
public static final int SET- See Also:
-
NOT_SET
public static final int NOT_SET- See Also:
-
mismatchType
public int mismatchType -
expecting
public int expecting -
upper
public int upper -
set
-
-
Constructor Details
-
MismatchedTokenException
public MismatchedTokenException()Looking for AST wildcard, didn't find it -
MismatchedTokenException
-
MismatchedTokenException
-
MismatchedTokenException
-
MismatchedTokenException
-
MismatchedTokenException
-
MismatchedTokenException
-
-
Method Details
-
getMessage
Returns a clean error message (no line number/column information)- Overrides:
getMessage
in classThrowable
-