Class HDBSchemaSyntaxErrorListener

java.lang.Object
org.antlr.v4.runtime.BaseErrorListener
com.codbex.kronos.parser.hdbschema.custom.HDBSchemaSyntaxErrorListener
All Implemented Interfaces:
org.antlr.v4.runtime.ANTLRErrorListener

public class HDBSchemaSyntaxErrorListener extends org.antlr.v4.runtime.BaseErrorListener
The listener interface for receiving HDBSchemaSyntaxError events. The class that is interested in processing a HDBSchemaSyntaxError event implements this interface, and the object created with that class is registered with a component using the component's addHDBSchemaSyntaxErrorListener method. When the HDBSchemaSyntaxError event occurs, that object's appropriate method is invoked.
  • Constructor Details

    • HDBSchemaSyntaxErrorListener

      public HDBSchemaSyntaxErrorListener()
  • 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)
      Syntax error.
      Specified by:
      syntaxError in interface org.antlr.v4.runtime.ANTLRErrorListener
      Overrides:
      syntaxError in class org.antlr.v4.runtime.BaseErrorListener
      Parameters:
      recognizer - the recognizer
      offendingSymbol - the offending symbol
      line - the line
      charPositionInLine - the char position in line
      msg - the msg
      e - the e
    • getErrors

      public ArrayList<BaseParserErrorsModel> getErrors()
      Gets the errors.
      Returns:
      the errors