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 Details

    • DRLErrorListener

      public DRLErrorListener()
  • Method Details

    • getErrors

      public List<DRLParserError> 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:
      syntaxError in interface org.antlr.v4.runtime.ANTLRErrorListener
      Overrides:
      syntaxError in class org.antlr.v4.runtime.BaseErrorListener