Class SQLParserErrorListener
java.lang.Object
org.antlr.v4.runtime.BaseErrorListener
org.apache.shardingsphere.sql.parser.core.database.parser.SQLParserErrorListener
- All Implemented Interfaces:
org.antlr.v4.runtime.ANTLRErrorListener
public final class SQLParserErrorListener
extends org.antlr.v4.runtime.BaseErrorListener
SQL parser error listener.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SQLParserErrorListenerGet instance.voidsyntaxError(org.antlr.v4.runtime.Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String message, org.antlr.v4.runtime.RecognitionException e) Methods inherited from class org.antlr.v4.runtime.BaseErrorListener
reportAmbiguity, reportAttemptingFullContext, reportContextSensitivity
-
Constructor Details
-
SQLParserErrorListener
public SQLParserErrorListener()
-
-
Method Details
-
getInstance
Get instance.- Returns:
- instance
-
syntaxError
public void syntaxError(org.antlr.v4.runtime.Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String message, org.antlr.v4.runtime.RecognitionException e) throws org.antlr.v4.runtime.misc.ParseCancellationException- Specified by:
syntaxErrorin interfaceorg.antlr.v4.runtime.ANTLRErrorListener- Overrides:
syntaxErrorin classorg.antlr.v4.runtime.BaseErrorListener- Throws:
org.antlr.v4.runtime.misc.ParseCancellationException
-