Package net.jazdw.rql.util
Class ThrowWithDetailsErrorListener
java.lang.Object
org.antlr.v4.runtime.BaseErrorListener
net.jazdw.rql.util.ThrowWithDetailsErrorListener
- All Implemented Interfaces:
org.antlr.v4.runtime.ANTLRErrorListener
public class ThrowWithDetailsErrorListener
extends org.antlr.v4.runtime.BaseErrorListener
Throws a
ParseCancellationException with the line, position and message.- Author:
- Jared Wiltshire
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsyntaxError(org.antlr.v4.runtime.Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, org.antlr.v4.runtime.RecognitionException e) Methods inherited from class org.antlr.v4.runtime.BaseErrorListener
reportAmbiguity, reportAttemptingFullContext, reportContextSensitivity
-
Constructor Details
-
ThrowWithDetailsErrorListener
public ThrowWithDetailsErrorListener()
-
-
Method Details
-
syntaxError
public void syntaxError(org.antlr.v4.runtime.Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, org.antlr.v4.runtime.RecognitionException e) - Specified by:
syntaxErrorin interfaceorg.antlr.v4.runtime.ANTLRErrorListener- Overrides:
syntaxErrorin classorg.antlr.v4.runtime.BaseErrorListener
-