Class GremlinErrorListener
- java.lang.Object
-
- org.antlr.v4.runtime.BaseErrorListener
-
- org.apache.tinkerpop.gremlin.language.grammar.GremlinErrorListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.ANTLRErrorListener
public class GremlinErrorListener extends org.antlr.v4.runtime.BaseErrorListener
Gremlin error listener class which throwGremlinParserException
on syntax error.
-
-
Constructor Summary
Constructors Constructor Description GremlinErrorListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
syntaxError(org.antlr.v4.runtime.Recognizer<?,?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, org.antlr.v4.runtime.RecognitionException e)
-
-
-
Method Detail
-
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:
syntaxError
in interfaceorg.antlr.v4.runtime.ANTLRErrorListener
- Overrides:
syntaxError
in classorg.antlr.v4.runtime.BaseErrorListener
-
-