Package org.apache.sysds.parser.dml
Interface DmlListener
-
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
- All Known Implementing Classes:
DmlBaseListener
,DmlPreprocessor
,DmlSyntacticValidator
public interface DmlListener extends org.antlr.v4.runtime.tree.ParseTreeListener
This interface defines a complete listener for a parse tree produced byDmlParser
.
-
-
Method Summary
-
-
-
Method Detail
-
enterProgramroot
void enterProgramroot(DmlParser.ProgramrootContext ctx)
Enter a parse tree produced byDmlParser.programroot()
.- Parameters:
ctx
- the parse tree
-
exitProgramroot
void exitProgramroot(DmlParser.ProgramrootContext ctx)
Exit a parse tree produced byDmlParser.programroot()
.- Parameters:
ctx
- the parse tree
-
enterImportStatement
void enterImportStatement(DmlParser.ImportStatementContext ctx)
Enter a parse tree produced by theImportStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
exitImportStatement
void exitImportStatement(DmlParser.ImportStatementContext ctx)
Exit a parse tree produced by theImportStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
enterPathStatement
void enterPathStatement(DmlParser.PathStatementContext ctx)
Enter a parse tree produced by thePathStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
exitPathStatement
void exitPathStatement(DmlParser.PathStatementContext ctx)
Exit a parse tree produced by thePathStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
enterFunctionCallAssignmentStatement
void enterFunctionCallAssignmentStatement(DmlParser.FunctionCallAssignmentStatementContext ctx)
Enter a parse tree produced by theFunctionCallAssignmentStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
exitFunctionCallAssignmentStatement
void exitFunctionCallAssignmentStatement(DmlParser.FunctionCallAssignmentStatementContext ctx)
Exit a parse tree produced by theFunctionCallAssignmentStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
enterFunctionCallMultiAssignmentStatement
void enterFunctionCallMultiAssignmentStatement(DmlParser.FunctionCallMultiAssignmentStatementContext ctx)
Enter a parse tree produced by theFunctionCallMultiAssignmentStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
exitFunctionCallMultiAssignmentStatement
void exitFunctionCallMultiAssignmentStatement(DmlParser.FunctionCallMultiAssignmentStatementContext ctx)
Exit a parse tree produced by theFunctionCallMultiAssignmentStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
enterIfdefAssignmentStatement
void enterIfdefAssignmentStatement(DmlParser.IfdefAssignmentStatementContext ctx)
Enter a parse tree produced by theIfdefAssignmentStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
exitIfdefAssignmentStatement
void exitIfdefAssignmentStatement(DmlParser.IfdefAssignmentStatementContext ctx)
Exit a parse tree produced by theIfdefAssignmentStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
enterAssignmentStatement
void enterAssignmentStatement(DmlParser.AssignmentStatementContext ctx)
Enter a parse tree produced by theAssignmentStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
exitAssignmentStatement
void exitAssignmentStatement(DmlParser.AssignmentStatementContext ctx)
Exit a parse tree produced by theAssignmentStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
enterAccumulatorAssignmentStatement
void enterAccumulatorAssignmentStatement(DmlParser.AccumulatorAssignmentStatementContext ctx)
Enter a parse tree produced by theAccumulatorAssignmentStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
exitAccumulatorAssignmentStatement
void exitAccumulatorAssignmentStatement(DmlParser.AccumulatorAssignmentStatementContext ctx)
Exit a parse tree produced by theAccumulatorAssignmentStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
enterIfStatement
void enterIfStatement(DmlParser.IfStatementContext ctx)
Enter a parse tree produced by theIfStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
exitIfStatement
void exitIfStatement(DmlParser.IfStatementContext ctx)
Exit a parse tree produced by theIfStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
enterForStatement
void enterForStatement(DmlParser.ForStatementContext ctx)
Enter a parse tree produced by theForStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
exitForStatement
void exitForStatement(DmlParser.ForStatementContext ctx)
Exit a parse tree produced by theForStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
enterParForStatement
void enterParForStatement(DmlParser.ParForStatementContext ctx)
Enter a parse tree produced by theParForStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
exitParForStatement
void exitParForStatement(DmlParser.ParForStatementContext ctx)
Exit a parse tree produced by theParForStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
enterWhileStatement
void enterWhileStatement(DmlParser.WhileStatementContext ctx)
Enter a parse tree produced by theWhileStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
exitWhileStatement
void exitWhileStatement(DmlParser.WhileStatementContext ctx)
Exit a parse tree produced by theWhileStatement
labeled alternative inDmlParser.statement()
.- Parameters:
ctx
- the parse tree
-
enterIterablePredicateColonExpression
void enterIterablePredicateColonExpression(DmlParser.IterablePredicateColonExpressionContext ctx)
Enter a parse tree produced by theIterablePredicateColonExpression
labeled alternative inDmlParser.iterablePredicate()
.- Parameters:
ctx
- the parse tree
-
exitIterablePredicateColonExpression
void exitIterablePredicateColonExpression(DmlParser.IterablePredicateColonExpressionContext ctx)
Exit a parse tree produced by theIterablePredicateColonExpression
labeled alternative inDmlParser.iterablePredicate()
.- Parameters:
ctx
- the parse tree
-
enterIterablePredicateSeqExpression
void enterIterablePredicateSeqExpression(DmlParser.IterablePredicateSeqExpressionContext ctx)
Enter a parse tree produced by theIterablePredicateSeqExpression
labeled alternative inDmlParser.iterablePredicate()
.- Parameters:
ctx
- the parse tree
-
exitIterablePredicateSeqExpression
void exitIterablePredicateSeqExpression(DmlParser.IterablePredicateSeqExpressionContext ctx)
Exit a parse tree produced by theIterablePredicateSeqExpression
labeled alternative inDmlParser.iterablePredicate()
.- Parameters:
ctx
- the parse tree
-
enterInternalFunctionDefExpression
void enterInternalFunctionDefExpression(DmlParser.InternalFunctionDefExpressionContext ctx)
Enter a parse tree produced by theInternalFunctionDefExpression
labeled alternative inDmlParser.functionStatement()
.- Parameters:
ctx
- the parse tree
-
exitInternalFunctionDefExpression
void exitInternalFunctionDefExpression(DmlParser.InternalFunctionDefExpressionContext ctx)
Exit a parse tree produced by theInternalFunctionDefExpression
labeled alternative inDmlParser.functionStatement()
.- Parameters:
ctx
- the parse tree
-
enterExternalFunctionDefExpression
void enterExternalFunctionDefExpression(DmlParser.ExternalFunctionDefExpressionContext ctx)
Enter a parse tree produced by theExternalFunctionDefExpression
labeled alternative inDmlParser.functionStatement()
.- Parameters:
ctx
- the parse tree
-
exitExternalFunctionDefExpression
void exitExternalFunctionDefExpression(DmlParser.ExternalFunctionDefExpressionContext ctx)
Exit a parse tree produced by theExternalFunctionDefExpression
labeled alternative inDmlParser.functionStatement()
.- Parameters:
ctx
- the parse tree
-
enterIndexedExpression
void enterIndexedExpression(DmlParser.IndexedExpressionContext ctx)
Enter a parse tree produced by theIndexedExpression
labeled alternative inDmlParser.dataIdentifier()
.- Parameters:
ctx
- the parse tree
-
exitIndexedExpression
void exitIndexedExpression(DmlParser.IndexedExpressionContext ctx)
Exit a parse tree produced by theIndexedExpression
labeled alternative inDmlParser.dataIdentifier()
.- Parameters:
ctx
- the parse tree
-
enterSimpleDataIdentifierExpression
void enterSimpleDataIdentifierExpression(DmlParser.SimpleDataIdentifierExpressionContext ctx)
Enter a parse tree produced by theSimpleDataIdentifierExpression
labeled alternative inDmlParser.dataIdentifier()
.- Parameters:
ctx
- the parse tree
-
exitSimpleDataIdentifierExpression
void exitSimpleDataIdentifierExpression(DmlParser.SimpleDataIdentifierExpressionContext ctx)
Exit a parse tree produced by theSimpleDataIdentifierExpression
labeled alternative inDmlParser.dataIdentifier()
.- Parameters:
ctx
- the parse tree
-
enterCommandlineParamExpression
void enterCommandlineParamExpression(DmlParser.CommandlineParamExpressionContext ctx)
Enter a parse tree produced by theCommandlineParamExpression
labeled alternative inDmlParser.dataIdentifier()
.- Parameters:
ctx
- the parse tree
-
exitCommandlineParamExpression
void exitCommandlineParamExpression(DmlParser.CommandlineParamExpressionContext ctx)
Exit a parse tree produced by theCommandlineParamExpression
labeled alternative inDmlParser.dataIdentifier()
.- Parameters:
ctx
- the parse tree
-
enterCommandlinePositionExpression
void enterCommandlinePositionExpression(DmlParser.CommandlinePositionExpressionContext ctx)
Enter a parse tree produced by theCommandlinePositionExpression
labeled alternative inDmlParser.dataIdentifier()
.- Parameters:
ctx
- the parse tree
-
exitCommandlinePositionExpression
void exitCommandlinePositionExpression(DmlParser.CommandlinePositionExpressionContext ctx)
Exit a parse tree produced by theCommandlinePositionExpression
labeled alternative inDmlParser.dataIdentifier()
.- Parameters:
ctx
- the parse tree
-
enterModIntDivExpression
void enterModIntDivExpression(DmlParser.ModIntDivExpressionContext ctx)
Enter a parse tree produced by theModIntDivExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitModIntDivExpression
void exitModIntDivExpression(DmlParser.ModIntDivExpressionContext ctx)
Exit a parse tree produced by theModIntDivExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterRelationalExpression
void enterRelationalExpression(DmlParser.RelationalExpressionContext ctx)
Enter a parse tree produced by theRelationalExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitRelationalExpression
void exitRelationalExpression(DmlParser.RelationalExpressionContext ctx)
Exit a parse tree produced by theRelationalExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterBooleanNotExpression
void enterBooleanNotExpression(DmlParser.BooleanNotExpressionContext ctx)
Enter a parse tree produced by theBooleanNotExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitBooleanNotExpression
void exitBooleanNotExpression(DmlParser.BooleanNotExpressionContext ctx)
Exit a parse tree produced by theBooleanNotExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterPowerExpression
void enterPowerExpression(DmlParser.PowerExpressionContext ctx)
Enter a parse tree produced by thePowerExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitPowerExpression
void exitPowerExpression(DmlParser.PowerExpressionContext ctx)
Exit a parse tree produced by thePowerExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterBuiltinFunctionExpression
void enterBuiltinFunctionExpression(DmlParser.BuiltinFunctionExpressionContext ctx)
Enter a parse tree produced by theBuiltinFunctionExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitBuiltinFunctionExpression
void exitBuiltinFunctionExpression(DmlParser.BuiltinFunctionExpressionContext ctx)
Exit a parse tree produced by theBuiltinFunctionExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterConstIntIdExpression
void enterConstIntIdExpression(DmlParser.ConstIntIdExpressionContext ctx)
Enter a parse tree produced by theConstIntIdExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitConstIntIdExpression
void exitConstIntIdExpression(DmlParser.ConstIntIdExpressionContext ctx)
Exit a parse tree produced by theConstIntIdExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterAtomicExpression
void enterAtomicExpression(DmlParser.AtomicExpressionContext ctx)
Enter a parse tree produced by theAtomicExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitAtomicExpression
void exitAtomicExpression(DmlParser.AtomicExpressionContext ctx)
Exit a parse tree produced by theAtomicExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterConstStringIdExpression
void enterConstStringIdExpression(DmlParser.ConstStringIdExpressionContext ctx)
Enter a parse tree produced by theConstStringIdExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitConstStringIdExpression
void exitConstStringIdExpression(DmlParser.ConstStringIdExpressionContext ctx)
Exit a parse tree produced by theConstStringIdExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterConstTrueExpression
void enterConstTrueExpression(DmlParser.ConstTrueExpressionContext ctx)
Enter a parse tree produced by theConstTrueExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitConstTrueExpression
void exitConstTrueExpression(DmlParser.ConstTrueExpressionContext ctx)
Exit a parse tree produced by theConstTrueExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterUnaryExpression
void enterUnaryExpression(DmlParser.UnaryExpressionContext ctx)
Enter a parse tree produced by theUnaryExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitUnaryExpression
void exitUnaryExpression(DmlParser.UnaryExpressionContext ctx)
Exit a parse tree produced by theUnaryExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterMultDivExpression
void enterMultDivExpression(DmlParser.MultDivExpressionContext ctx)
Enter a parse tree produced by theMultDivExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitMultDivExpression
void exitMultDivExpression(DmlParser.MultDivExpressionContext ctx)
Exit a parse tree produced by theMultDivExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterConstFalseExpression
void enterConstFalseExpression(DmlParser.ConstFalseExpressionContext ctx)
Enter a parse tree produced by theConstFalseExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitConstFalseExpression
void exitConstFalseExpression(DmlParser.ConstFalseExpressionContext ctx)
Exit a parse tree produced by theConstFalseExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterDataIdExpression
void enterDataIdExpression(DmlParser.DataIdExpressionContext ctx)
Enter a parse tree produced by theDataIdExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitDataIdExpression
void exitDataIdExpression(DmlParser.DataIdExpressionContext ctx)
Exit a parse tree produced by theDataIdExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterAddSubExpression
void enterAddSubExpression(DmlParser.AddSubExpressionContext ctx)
Enter a parse tree produced by theAddSubExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitAddSubExpression
void exitAddSubExpression(DmlParser.AddSubExpressionContext ctx)
Exit a parse tree produced by theAddSubExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterConstDoubleIdExpression
void enterConstDoubleIdExpression(DmlParser.ConstDoubleIdExpressionContext ctx)
Enter a parse tree produced by theConstDoubleIdExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitConstDoubleIdExpression
void exitConstDoubleIdExpression(DmlParser.ConstDoubleIdExpressionContext ctx)
Exit a parse tree produced by theConstDoubleIdExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterMatrixMulExpression
void enterMatrixMulExpression(DmlParser.MatrixMulExpressionContext ctx)
Enter a parse tree produced by theMatrixMulExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitMatrixMulExpression
void exitMatrixMulExpression(DmlParser.MatrixMulExpressionContext ctx)
Exit a parse tree produced by theMatrixMulExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterMultiIdExpression
void enterMultiIdExpression(DmlParser.MultiIdExpressionContext ctx)
Enter a parse tree produced by theMultiIdExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitMultiIdExpression
void exitMultiIdExpression(DmlParser.MultiIdExpressionContext ctx)
Exit a parse tree produced by theMultiIdExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterBooleanAndExpression
void enterBooleanAndExpression(DmlParser.BooleanAndExpressionContext ctx)
Enter a parse tree produced by theBooleanAndExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitBooleanAndExpression
void exitBooleanAndExpression(DmlParser.BooleanAndExpressionContext ctx)
Exit a parse tree produced by theBooleanAndExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterBooleanOrExpression
void enterBooleanOrExpression(DmlParser.BooleanOrExpressionContext ctx)
Enter a parse tree produced by theBooleanOrExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
exitBooleanOrExpression
void exitBooleanOrExpression(DmlParser.BooleanOrExpressionContext ctx)
Exit a parse tree produced by theBooleanOrExpression
labeled alternative inDmlParser.expression()
.- Parameters:
ctx
- the parse tree
-
enterTypedArgNoAssign
void enterTypedArgNoAssign(DmlParser.TypedArgNoAssignContext ctx)
Enter a parse tree produced byDmlParser.typedArgNoAssign()
.- Parameters:
ctx
- the parse tree
-
exitTypedArgNoAssign
void exitTypedArgNoAssign(DmlParser.TypedArgNoAssignContext ctx)
Exit a parse tree produced byDmlParser.typedArgNoAssign()
.- Parameters:
ctx
- the parse tree
-
enterTypedArgAssign
void enterTypedArgAssign(DmlParser.TypedArgAssignContext ctx)
Enter a parse tree produced byDmlParser.typedArgAssign()
.- Parameters:
ctx
- the parse tree
-
exitTypedArgAssign
void exitTypedArgAssign(DmlParser.TypedArgAssignContext ctx)
Exit a parse tree produced byDmlParser.typedArgAssign()
.- Parameters:
ctx
- the parse tree
-
enterParameterizedExpression
void enterParameterizedExpression(DmlParser.ParameterizedExpressionContext ctx)
Enter a parse tree produced byDmlParser.parameterizedExpression()
.- Parameters:
ctx
- the parse tree
-
exitParameterizedExpression
void exitParameterizedExpression(DmlParser.ParameterizedExpressionContext ctx)
Exit a parse tree produced byDmlParser.parameterizedExpression()
.- Parameters:
ctx
- the parse tree
-
enterStrictParameterizedExpression
void enterStrictParameterizedExpression(DmlParser.StrictParameterizedExpressionContext ctx)
Enter a parse tree produced byDmlParser.strictParameterizedExpression()
.- Parameters:
ctx
- the parse tree
-
exitStrictParameterizedExpression
void exitStrictParameterizedExpression(DmlParser.StrictParameterizedExpressionContext ctx)
Exit a parse tree produced byDmlParser.strictParameterizedExpression()
.- Parameters:
ctx
- the parse tree
-
enterStrictParameterizedKeyValueString
void enterStrictParameterizedKeyValueString(DmlParser.StrictParameterizedKeyValueStringContext ctx)
Enter a parse tree produced byDmlParser.strictParameterizedKeyValueString()
.- Parameters:
ctx
- the parse tree
-
exitStrictParameterizedKeyValueString
void exitStrictParameterizedKeyValueString(DmlParser.StrictParameterizedKeyValueStringContext ctx)
Exit a parse tree produced byDmlParser.strictParameterizedKeyValueString()
.- Parameters:
ctx
- the parse tree
-
enterMl_type
void enterMl_type(DmlParser.Ml_typeContext ctx)
Enter a parse tree produced byDmlParser.ml_type()
.- Parameters:
ctx
- the parse tree
-
exitMl_type
void exitMl_type(DmlParser.Ml_typeContext ctx)
Exit a parse tree produced byDmlParser.ml_type()
.- Parameters:
ctx
- the parse tree
-
enterValueType
void enterValueType(DmlParser.ValueTypeContext ctx)
Enter a parse tree produced byDmlParser.valueType()
.- Parameters:
ctx
- the parse tree
-
exitValueType
void exitValueType(DmlParser.ValueTypeContext ctx)
Exit a parse tree produced byDmlParser.valueType()
.- Parameters:
ctx
- the parse tree
-
enterMatrixDataTypeCheck
void enterMatrixDataTypeCheck(DmlParser.MatrixDataTypeCheckContext ctx)
Enter a parse tree produced by theMatrixDataTypeCheck
labeled alternative inDmlParser.dataType()
.- Parameters:
ctx
- the parse tree
-
exitMatrixDataTypeCheck
void exitMatrixDataTypeCheck(DmlParser.MatrixDataTypeCheckContext ctx)
Exit a parse tree produced by theMatrixDataTypeCheck
labeled alternative inDmlParser.dataType()
.- Parameters:
ctx
- the parse tree
-
-