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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the errors.voidsyntaxError(org.antlr.v4.runtime.Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, org.antlr.v4.runtime.RecognitionException e) Syntax error.Methods inherited from class org.antlr.v4.runtime.BaseErrorListener
reportAmbiguity, reportAttemptingFullContext, reportContextSensitivity
-
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:
syntaxErrorin interfaceorg.antlr.v4.runtime.ANTLRErrorListener- Overrides:
syntaxErrorin classorg.antlr.v4.runtime.BaseErrorListener- Parameters:
recognizer- the recognizeroffendingSymbol- the offending symbolline- the linecharPositionInLine- the char position in linemsg- the msge- the e
-
getErrors
Gets the errors.- Returns:
- the errors
-