Package org.apache.cassandra.cql3
Interface ErrorListener
- All Known Implementing Classes:
ErrorCollector
public interface ErrorListener
Listener used to collect the syntax errors emitted by the Lexer and Parser.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsyntaxError(org.antlr.runtime.BaseRecognizer recognizer, String errorMsg) Invoked when a syntax error with a specified message occurs.voidsyntaxError(org.antlr.runtime.BaseRecognizer recognizer, String[] tokenNames, org.antlr.runtime.RecognitionException e) Invoked when a syntax error occurs.
-
Method Details
-
syntaxError
void syntaxError(org.antlr.runtime.BaseRecognizer recognizer, String[] tokenNames, org.antlr.runtime.RecognitionException e) Invoked when a syntax error occurs.- Parameters:
recognizer- the parser or lexer that emitted the errortokenNames- the token namese- the exception
-
syntaxError
Invoked when a syntax error with a specified message occurs.- Parameters:
recognizer- the parser or lexer that emitted the errorerrorMsg- the error message
-