Class ParserErrorListener
java.lang.Object
org.antlr.v4.runtime.BaseErrorListener
org.hansken.plugin.extraction.hql_lite.lang.human.ParserErrorListener
- All Implemented Interfaces:
org.antlr.v4.runtime.ANTLRErrorListener
public class ParserErrorListener
extends org.antlr.v4.runtime.BaseErrorListener
Throws a ParserException on parse errors.
- Author:
- Netherlands Forensic Institute
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsyntaxError(org.antlr.v4.runtime.Recognizer<?, ?> arg0, Object arg1, int line, int position, String message, org.antlr.v4.runtime.RecognitionException arg5) Methods inherited from class org.antlr.v4.runtime.BaseErrorListener
reportAmbiguity, reportAttemptingFullContext, reportContextSensitivity
-
Constructor Details
-
ParserErrorListener
Public constructor.- Parameters:
queryParserClass- parser (class name used in message)
-
-
Method Details
-
syntaxError
public void syntaxError(org.antlr.v4.runtime.Recognizer<?, ?> arg0, Object arg1, int line, int position, String message, org.antlr.v4.runtime.RecognitionException arg5) - Specified by:
syntaxErrorin interfaceorg.antlr.v4.runtime.ANTLRErrorListener- Overrides:
syntaxErrorin classorg.antlr.v4.runtime.BaseErrorListener
-