|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.antlr.runtime.BaseRecognizer org.antlr.runtime.Parser isql.ISQLSelectParser isql.ISQLSelectParserWithErrors
public class ISQLSelectParserWithErrors
extends ISQLSelectParser (which is generated by ANTLR) to log all the errors reported by ANTLR when parsing the SQL query. Otherwise these errors would be lost
Nested Class Summary |
---|
Field Summary |
---|
Fields inherited from class org.antlr.runtime.BaseRecognizer |
---|
DEFAULT_TOKEN_CHANNEL, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, MEMO_RULE_FAILED, MEMO_RULE_FAILED_I, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME |
Constructor Summary | |
---|---|
ISQLSelectParserWithErrors(org.antlr.runtime.TokenStream input)
Wraps the constructor of ISQLSelectParser |
Method Summary | |
---|---|
java.util.List<org.antlr.runtime.RecognitionException> |
getExceptions()
Returns the error, so that they can be showed to the user |
void |
reportError(org.antlr.runtime.RecognitionException ex)
|
Methods inherited from class org.antlr.runtime.Parser |
---|
getTokenStream, reset, setTokenStream, traceIn, traceOut |
Methods inherited from class org.antlr.runtime.BaseRecognizer |
---|
alreadyParsedRule, beginResync, consumeUntil, consumeUntil, displayRecognitionError, emitErrorMessage, endResync, getBacktrackingLevel, getErrorHeader, getErrorMessage, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, match, matchAny, memoize, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, toStrings, traceIn, traceOut |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ISQLSelectParserWithErrors(org.antlr.runtime.TokenStream input)
input
- Method Detail |
---|
public void reportError(org.antlr.runtime.RecognitionException ex)
reportError
in class org.antlr.runtime.BaseRecognizer
public java.util.List<org.antlr.runtime.RecognitionException> getExceptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |