public interface ErrorListener
| Modifier and Type | Method and Description |
|---|---|
void |
syntaxError(org.antlr.runtime.BaseRecognizer recognizer,
java.lang.String errorMsg)
Invoked when a syntax error with a specified message occurs.
|
void |
syntaxError(org.antlr.runtime.BaseRecognizer recognizer,
java.lang.String[] tokenNames,
org.antlr.runtime.RecognitionException e)
Invoked when a syntax error occurs.
|
void syntaxError(org.antlr.runtime.BaseRecognizer recognizer,
java.lang.String[] tokenNames,
org.antlr.runtime.RecognitionException e)
recognizer - the parser or lexer that emitted the errortokenNames - the token namese - the exceptionvoid syntaxError(org.antlr.runtime.BaseRecognizer recognizer,
java.lang.String errorMsg)
recognizer - the parser or lexer that emitted the errorerrorMsg - the error messageCopyright © 2015 The Apache Software Foundation