antlr
public class MismatchedTokenException extends RecognitionException
Field Summary | |
---|---|
int | expecting |
int | mismatchType |
AST | node |
static int | NOT_RANGE |
static int | NOT_SET |
static int | NOT_TOKEN |
static int | RANGE |
BitSet | set |
static int | SET |
Token | token |
String[] | tokenNames |
String | tokenText |
static int | TOKEN |
int | upper |
Constructor Summary | |
---|---|
MismatchedTokenException() Looking for AST wildcard, didn't find it | |
MismatchedTokenException(String[] tokenNames_, AST node_, int lower, int upper_, boolean matchNot) | |
MismatchedTokenException(String[] tokenNames_, AST node_, int expecting_, boolean matchNot) | |
MismatchedTokenException(String[] tokenNames_, AST node_, BitSet set_, boolean matchNot) | |
MismatchedTokenException(String[] tokenNames_, Token token_, int lower, int upper_, boolean matchNot, String fileName_) | |
MismatchedTokenException(String[] tokenNames_, Token token_, int expecting_, boolean matchNot, String fileName_) | |
MismatchedTokenException(String[] tokenNames_, Token token_, BitSet set_, boolean matchNot, String fileName_) |
Method Summary | |
---|---|
String | getMessage()
Returns a clean error message (no line number/column information) |