Package antlr
Class MismatchedCharException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- antlr.ANTLRException
-
- antlr.RecognitionException
-
- antlr.MismatchedCharException
-
- All Implemented Interfaces:
java.io.Serializable
public class MismatchedCharException extends RecognitionException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
CHAR
int
expecting
int
foundChar
int
mismatchType
static int
NOT_CHAR
static int
NOT_RANGE
static int
NOT_SET
static int
RANGE
CharScanner
scanner
BitSet
set
static int
SET
int
upper
-
Fields inherited from class antlr.RecognitionException
column, fileName, line
-
-
Constructor Summary
Constructors Constructor Description MismatchedCharException()
MismatchedCharException constructor comment.MismatchedCharException(char c, char expecting_, boolean matchNot, CharScanner scanner_)
MismatchedCharException(char c, char lower, char upper_, boolean matchNot, CharScanner scanner_)
MismatchedCharException(char c, BitSet set_, boolean matchNot, CharScanner scanner_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Returns a clean error message (no line number/column information)-
Methods inherited from class antlr.RecognitionException
getColumn, getErrorMessage, getFilename, getLine, toString
-
-
-
-
Field Detail
-
CHAR
public static final int CHAR
- See Also:
- Constant Field Values
-
NOT_CHAR
public static final int NOT_CHAR
- See Also:
- Constant Field Values
-
RANGE
public static final int RANGE
- See Also:
- Constant Field Values
-
NOT_RANGE
public static final int NOT_RANGE
- See Also:
- Constant Field Values
-
SET
public static final int SET
- See Also:
- Constant Field Values
-
NOT_SET
public static final int NOT_SET
- See Also:
- Constant Field Values
-
mismatchType
public int mismatchType
-
foundChar
public int foundChar
-
expecting
public int expecting
-
upper
public int upper
-
set
public BitSet set
-
scanner
public CharScanner scanner
-
-
Constructor Detail
-
MismatchedCharException
public MismatchedCharException()
MismatchedCharException constructor comment.
-
MismatchedCharException
public MismatchedCharException(char c, char lower, char upper_, boolean matchNot, CharScanner scanner_)
-
MismatchedCharException
public MismatchedCharException(char c, char expecting_, boolean matchNot, CharScanner scanner_)
-
MismatchedCharException
public MismatchedCharException(char c, BitSet set_, boolean matchNot, CharScanner scanner_)
-
-