de.grogra.grammar
public class RecognitionException extends antlr.RecognitionException implements UserException, DetailedException, java.lang.Comparable<RecognitionException>
| Modifier and Type | Field and Description |
|---|---|
static long |
IS_ERROR |
static long |
MIN_UNUSED |
long |
warningBits |
| Constructor and Description |
|---|
RecognitionException(java.lang.String msg) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(RecognitionException e) |
void |
complete(Input input,
int begin,
int end) |
static RecognitionException |
convert(antlr.ANTLRException e,
java.lang.String[] tokenNames) |
void |
dispose() |
java.lang.String |
getCategoryDescription() |
int |
getColumn() |
java.lang.String |
getDetailedMessage(boolean html) |
java.lang.String |
getDetailedMessage(int firstLine,
int firstColumn,
int tabWidth,
boolean html) |
int |
getLine() |
boolean |
isError() |
RecognitionException |
set(antlr.collections.AST node) |
RecognitionException |
set(Input input,
int begin,
int end) |
RecognitionException |
set(antlr.RecognitionException ex) |
RecognitionException |
set(antlr.Token token) |
RecognitionException |
set(Tokenizer tokenizer) |
public static final long IS_ERROR
public static final long MIN_UNUSED
public long warningBits
public int compareTo(RecognitionException e)
compareTo in interface java.lang.Comparable<RecognitionException>public final void complete(Input input, int begin, int end)
public static RecognitionException convert(antlr.ANTLRException e, java.lang.String[] tokenNames) throws java.io.IOException
java.io.IOExceptionpublic void dispose()
dispose in interface Disposablepublic java.lang.String getCategoryDescription()
public int getColumn()
getColumn in class antlr.RecognitionExceptionpublic java.lang.String getDetailedMessage(boolean html)
getDetailedMessage in interface DetailedExceptionpublic java.lang.String getDetailedMessage(int firstLine,
int firstColumn,
int tabWidth,
boolean html)
public int getLine()
getLine in class antlr.RecognitionExceptionpublic boolean isError()
public final RecognitionException set(antlr.collections.AST node)
public final RecognitionException set(Input input, int begin, int end)
public final RecognitionException set(antlr.RecognitionException ex)
public final RecognitionException set(antlr.Token token)
public final RecognitionException set(Tokenizer tokenizer)