Package org.drools.drl.parser.antlr4
Class DRLErrorListener
java.lang.Object
org.antlr.v4.runtime.BaseErrorListener
org.drools.drl.parser.antlr4.DRLErrorListener
- All Implemented Interfaces:
org.antlr.v4.runtime.ANTLRErrorListener
public class DRLErrorListener
extends org.antlr.v4.runtime.BaseErrorListener
Collect errors while parsing DRL
-
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
-
DRLErrorListener
public DRLErrorListener()
-
-
Method Details
-
getErrors
-
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
-