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.BaseErrorListenerThrows a ParserException on parse errors.- Author:
- Netherlands Forensic Institute
-
-
Constructor Summary
Constructors Constructor Description ParserErrorListener(Class<?> queryParserClass)Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsyntaxError(org.antlr.v4.runtime.Recognizer<?,?> arg0, Object arg1, int line, int position, String message, org.antlr.v4.runtime.RecognitionException arg5)
-
-
-
Constructor Detail
-
ParserErrorListener
public ParserErrorListener(Class<?> queryParserClass)
Public constructor.- Parameters:
queryParserClass- parser (class name used in message)
-
-
Method Detail
-
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
-
-