Class ExprListenerImpl
- java.lang.Object
-
- org.apache.druid.math.expr.antlr.ExprBaseListener
-
- org.apache.druid.math.expr.ExprListenerImpl
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
,ExprListener
public class ExprListenerImpl extends ExprBaseListener
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enterLambda(ExprParser.LambdaContext ctx)
Enter a parse tree produced byExprParser.lambda()
.void
exitAddSubExpr(ExprParser.AddSubExprContext ctx)
Exit a parse tree produced by theaddSubExpr
labeled alternative inExprParser.expr()
.void
exitApplyFunctionExpr(ExprParser.ApplyFunctionExprContext ctx)
Exit a parse tree produced by theapplyFunctionExpr
labeled alternative inExprParser.expr()
.void
exitDoubleArray(ExprParser.DoubleArrayContext ctx)
Exit a parse tree produced by thedoubleArray
labeled alternative inExprParser.expr()
.void
exitDoubleExpr(ExprParser.DoubleExprContext ctx)
Exit a parse tree produced by thedoubleExpr
labeled alternative inExprParser.expr()
.void
exitExplicitArray(ExprParser.ExplicitArrayContext ctx)
Exit a parse tree produced by theexplicitArray
labeled alternative inExprParser.expr()
.void
exitExplicitLongArray(ExprParser.ExplicitLongArrayContext ctx)
Exit a parse tree produced by theexplicitLongArray
labeled alternative inExprParser.expr()
.void
exitExplicitStringArray(ExprParser.ExplicitStringArrayContext ctx)
Exit a parse tree produced by theexplicitStringArray
labeled alternative inExprParser.expr()
.void
exitFunctionArgs(ExprParser.FunctionArgsContext ctx)
Exit a parse tree produced by thefunctionArgs
labeled alternative inExprParser.fnArgs()
.void
exitFunctionExpr(ExprParser.FunctionExprContext ctx)
Exit a parse tree produced by thefunctionExpr
labeled alternative inExprParser.expr()
.void
exitIdentifierExpr(ExprParser.IdentifierExprContext ctx)
Exit a parse tree produced by theidentifierExpr
labeled alternative inExprParser.expr()
.void
exitLambda(ExprParser.LambdaContext ctx)
Exit a parse tree produced byExprParser.lambda()
.void
exitLogicalAndOrExpr(ExprParser.LogicalAndOrExprContext ctx)
Exit a parse tree produced by thelogicalAndOrExpr
labeled alternative inExprParser.expr()
.void
exitLogicalOpExpr(ExprParser.LogicalOpExprContext ctx)
Exit a parse tree produced by thelogicalOpExpr
labeled alternative inExprParser.expr()
.void
exitLongArray(ExprParser.LongArrayContext ctx)
Exit a parse tree produced by thelongArray
labeled alternative inExprParser.expr()
.void
exitLongExpr(ExprParser.LongExprContext ctx)
Exit a parse tree produced by thelongExpr
labeled alternative inExprParser.expr()
.void
exitMulDivModuloExpr(ExprParser.MulDivModuloExprContext ctx)
Exit a parse tree produced by themulDivModuloExpr
labeled alternative inExprParser.expr()
.void
exitNestedExpr(ExprParser.NestedExprContext ctx)
Exit a parse tree produced by thenestedExpr
labeled alternative inExprParser.expr()
.void
exitNull(ExprParser.NullContext ctx)
Exit a parse tree produced by thenull
labeled alternative inExprParser.expr()
.void
exitPowOpExpr(ExprParser.PowOpExprContext ctx)
Exit a parse tree produced by thepowOpExpr
labeled alternative inExprParser.expr()
.void
exitString(ExprParser.StringContext ctx)
Exit a parse tree produced by thestring
labeled alternative inExprParser.expr()
.void
exitStringArray(ExprParser.StringArrayContext ctx)
Exit a parse tree produced by thestringArray
labeled alternative inExprParser.expr()
.void
exitUnaryOpExpr(ExprParser.UnaryOpExprContext ctx)
Exit a parse tree produced by theunaryOpExpr
labeled alternative inExprParser.expr()
.-
Methods inherited from class org.apache.druid.math.expr.antlr.ExprBaseListener
enterAddSubExpr, enterApplyFunctionExpr, enterDoubleArray, enterDoubleExpr, enterEveryRule, enterExplicitArray, enterExplicitLongArray, enterExplicitStringArray, enterFunctionArgs, enterFunctionExpr, enterIdentifierExpr, enterLiteralElement, enterLogicalAndOrExpr, enterLogicalOpExpr, enterLongArray, enterLongElement, enterLongExpr, enterMulDivModuloExpr, enterNestedExpr, enterNull, enterNumericElement, enterPowOpExpr, enterStart, enterString, enterStringArray, enterStringElement, enterUnaryOpExpr, exitEveryRule, exitLiteralElement, exitLongElement, exitNumericElement, exitStart, exitStringElement, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
exitUnaryOpExpr
public void exitUnaryOpExpr(ExprParser.UnaryOpExprContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by theunaryOpExpr
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitUnaryOpExpr
in interfaceExprListener
- Overrides:
exitUnaryOpExpr
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitApplyFunctionExpr
public void exitApplyFunctionExpr(ExprParser.ApplyFunctionExprContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by theapplyFunctionExpr
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitApplyFunctionExpr
in interfaceExprListener
- Overrides:
exitApplyFunctionExpr
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitDoubleExpr
public void exitDoubleExpr(ExprParser.DoubleExprContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by thedoubleExpr
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitDoubleExpr
in interfaceExprListener
- Overrides:
exitDoubleExpr
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitAddSubExpr
public void exitAddSubExpr(ExprParser.AddSubExprContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by theaddSubExpr
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitAddSubExpr
in interfaceExprListener
- Overrides:
exitAddSubExpr
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitLongExpr
public void exitLongExpr(ExprParser.LongExprContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by thelongExpr
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitLongExpr
in interfaceExprListener
- Overrides:
exitLongExpr
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitLogicalAndOrExpr
public void exitLogicalAndOrExpr(ExprParser.LogicalAndOrExprContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by thelogicalAndOrExpr
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitLogicalAndOrExpr
in interfaceExprListener
- Overrides:
exitLogicalAndOrExpr
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitNestedExpr
public void exitNestedExpr(ExprParser.NestedExprContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by thenestedExpr
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitNestedExpr
in interfaceExprListener
- Overrides:
exitNestedExpr
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitString
public void exitString(ExprParser.StringContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by thestring
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitString
in interfaceExprListener
- Overrides:
exitString
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitLogicalOpExpr
public void exitLogicalOpExpr(ExprParser.LogicalOpExprContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by thelogicalOpExpr
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitLogicalOpExpr
in interfaceExprListener
- Overrides:
exitLogicalOpExpr
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitMulDivModuloExpr
public void exitMulDivModuloExpr(ExprParser.MulDivModuloExprContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by themulDivModuloExpr
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitMulDivModuloExpr
in interfaceExprListener
- Overrides:
exitMulDivModuloExpr
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitPowOpExpr
public void exitPowOpExpr(ExprParser.PowOpExprContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by thepowOpExpr
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitPowOpExpr
in interfaceExprListener
- Overrides:
exitPowOpExpr
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitFunctionExpr
public void exitFunctionExpr(ExprParser.FunctionExprContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by thefunctionExpr
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitFunctionExpr
in interfaceExprListener
- Overrides:
exitFunctionExpr
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitIdentifierExpr
public void exitIdentifierExpr(ExprParser.IdentifierExprContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by theidentifierExpr
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitIdentifierExpr
in interfaceExprListener
- Overrides:
exitIdentifierExpr
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
enterLambda
public void enterLambda(ExprParser.LambdaContext ctx)
Description copied from class:ExprBaseListener
Enter a parse tree produced byExprParser.lambda()
.The default implementation does nothing.
- Specified by:
enterLambda
in interfaceExprListener
- Overrides:
enterLambda
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitLambda
public void exitLambda(ExprParser.LambdaContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced byExprParser.lambda()
.The default implementation does nothing.
- Specified by:
exitLambda
in interfaceExprListener
- Overrides:
exitLambda
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitFunctionArgs
public void exitFunctionArgs(ExprParser.FunctionArgsContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by thefunctionArgs
labeled alternative inExprParser.fnArgs()
.The default implementation does nothing.
- Specified by:
exitFunctionArgs
in interfaceExprListener
- Overrides:
exitFunctionArgs
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitNull
public void exitNull(ExprParser.NullContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by thenull
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitNull
in interfaceExprListener
- Overrides:
exitNull
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitDoubleArray
public void exitDoubleArray(ExprParser.DoubleArrayContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by thedoubleArray
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitDoubleArray
in interfaceExprListener
- Overrides:
exitDoubleArray
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitExplicitArray
public void exitExplicitArray(ExprParser.ExplicitArrayContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by theexplicitArray
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitExplicitArray
in interfaceExprListener
- Overrides:
exitExplicitArray
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitLongArray
public void exitLongArray(ExprParser.LongArrayContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by thelongArray
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitLongArray
in interfaceExprListener
- Overrides:
exitLongArray
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitExplicitLongArray
public void exitExplicitLongArray(ExprParser.ExplicitLongArrayContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by theexplicitLongArray
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitExplicitLongArray
in interfaceExprListener
- Overrides:
exitExplicitLongArray
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitStringArray
public void exitStringArray(ExprParser.StringArrayContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by thestringArray
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitStringArray
in interfaceExprListener
- Overrides:
exitStringArray
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
exitExplicitStringArray
public void exitExplicitStringArray(ExprParser.ExplicitStringArrayContext ctx)
Description copied from class:ExprBaseListener
Exit a parse tree produced by theexplicitStringArray
labeled alternative inExprParser.expr()
.The default implementation does nothing.
- Specified by:
exitExplicitStringArray
in interfaceExprListener
- Overrides:
exitExplicitStringArray
in classExprBaseListener
- Parameters:
ctx
- the parse tree
-
-