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 voidenterLambda(ExprParser.LambdaContext ctx)Enter a parse tree produced byExprParser.lambda().voidexitAddSubExpr(ExprParser.AddSubExprContext ctx)Exit a parse tree produced by theaddSubExprlabeled alternative inExprParser.expr().voidexitApplyFunctionExpr(ExprParser.ApplyFunctionExprContext ctx)Exit a parse tree produced by theapplyFunctionExprlabeled alternative inExprParser.expr().voidexitDoubleArray(ExprParser.DoubleArrayContext ctx)Exit a parse tree produced by thedoubleArraylabeled alternative inExprParser.expr().voidexitDoubleExpr(ExprParser.DoubleExprContext ctx)Exit a parse tree produced by thedoubleExprlabeled alternative inExprParser.expr().voidexitExplicitArray(ExprParser.ExplicitArrayContext ctx)Exit a parse tree produced by theexplicitArraylabeled alternative inExprParser.expr().voidexitExplicitLongArray(ExprParser.ExplicitLongArrayContext ctx)Exit a parse tree produced by theexplicitLongArraylabeled alternative inExprParser.expr().voidexitExplicitStringArray(ExprParser.ExplicitStringArrayContext ctx)Exit a parse tree produced by theexplicitStringArraylabeled alternative inExprParser.expr().voidexitFunctionArgs(ExprParser.FunctionArgsContext ctx)Exit a parse tree produced by thefunctionArgslabeled alternative inExprParser.fnArgs().voidexitFunctionExpr(ExprParser.FunctionExprContext ctx)Exit a parse tree produced by thefunctionExprlabeled alternative inExprParser.expr().voidexitIdentifierExpr(ExprParser.IdentifierExprContext ctx)Exit a parse tree produced by theidentifierExprlabeled alternative inExprParser.expr().voidexitLambda(ExprParser.LambdaContext ctx)Exit a parse tree produced byExprParser.lambda().voidexitLogicalAndOrExpr(ExprParser.LogicalAndOrExprContext ctx)Exit a parse tree produced by thelogicalAndOrExprlabeled alternative inExprParser.expr().voidexitLogicalOpExpr(ExprParser.LogicalOpExprContext ctx)Exit a parse tree produced by thelogicalOpExprlabeled alternative inExprParser.expr().voidexitLongArray(ExprParser.LongArrayContext ctx)Exit a parse tree produced by thelongArraylabeled alternative inExprParser.expr().voidexitLongExpr(ExprParser.LongExprContext ctx)Exit a parse tree produced by thelongExprlabeled alternative inExprParser.expr().voidexitMulDivModuloExpr(ExprParser.MulDivModuloExprContext ctx)Exit a parse tree produced by themulDivModuloExprlabeled alternative inExprParser.expr().voidexitNestedExpr(ExprParser.NestedExprContext ctx)Exit a parse tree produced by thenestedExprlabeled alternative inExprParser.expr().voidexitNull(ExprParser.NullContext ctx)Exit a parse tree produced by thenulllabeled alternative inExprParser.expr().voidexitPowOpExpr(ExprParser.PowOpExprContext ctx)Exit a parse tree produced by thepowOpExprlabeled alternative inExprParser.expr().voidexitString(ExprParser.StringContext ctx)Exit a parse tree produced by thestringlabeled alternative inExprParser.expr().voidexitStringArray(ExprParser.StringArrayContext ctx)Exit a parse tree produced by thestringArraylabeled alternative inExprParser.expr().voidexitUnaryOpExpr(ExprParser.UnaryOpExprContext ctx)Exit a parse tree produced by theunaryOpExprlabeled 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:ExprBaseListenerExit a parse tree produced by theunaryOpExprlabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitUnaryOpExprin interfaceExprListener- Overrides:
exitUnaryOpExprin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitApplyFunctionExpr
public void exitApplyFunctionExpr(ExprParser.ApplyFunctionExprContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by theapplyFunctionExprlabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitApplyFunctionExprin interfaceExprListener- Overrides:
exitApplyFunctionExprin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitDoubleExpr
public void exitDoubleExpr(ExprParser.DoubleExprContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by thedoubleExprlabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitDoubleExprin interfaceExprListener- Overrides:
exitDoubleExprin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitAddSubExpr
public void exitAddSubExpr(ExprParser.AddSubExprContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by theaddSubExprlabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitAddSubExprin interfaceExprListener- Overrides:
exitAddSubExprin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitLongExpr
public void exitLongExpr(ExprParser.LongExprContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by thelongExprlabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitLongExprin interfaceExprListener- Overrides:
exitLongExprin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitLogicalAndOrExpr
public void exitLogicalAndOrExpr(ExprParser.LogicalAndOrExprContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by thelogicalAndOrExprlabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitLogicalAndOrExprin interfaceExprListener- Overrides:
exitLogicalAndOrExprin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitNestedExpr
public void exitNestedExpr(ExprParser.NestedExprContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by thenestedExprlabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitNestedExprin interfaceExprListener- Overrides:
exitNestedExprin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitString
public void exitString(ExprParser.StringContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by thestringlabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitStringin interfaceExprListener- Overrides:
exitStringin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitLogicalOpExpr
public void exitLogicalOpExpr(ExprParser.LogicalOpExprContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by thelogicalOpExprlabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitLogicalOpExprin interfaceExprListener- Overrides:
exitLogicalOpExprin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitMulDivModuloExpr
public void exitMulDivModuloExpr(ExprParser.MulDivModuloExprContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by themulDivModuloExprlabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitMulDivModuloExprin interfaceExprListener- Overrides:
exitMulDivModuloExprin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitPowOpExpr
public void exitPowOpExpr(ExprParser.PowOpExprContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by thepowOpExprlabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitPowOpExprin interfaceExprListener- Overrides:
exitPowOpExprin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitFunctionExpr
public void exitFunctionExpr(ExprParser.FunctionExprContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by thefunctionExprlabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitFunctionExprin interfaceExprListener- Overrides:
exitFunctionExprin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitIdentifierExpr
public void exitIdentifierExpr(ExprParser.IdentifierExprContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by theidentifierExprlabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitIdentifierExprin interfaceExprListener- Overrides:
exitIdentifierExprin classExprBaseListener- Parameters:
ctx- the parse tree
-
enterLambda
public void enterLambda(ExprParser.LambdaContext ctx)
Description copied from class:ExprBaseListenerEnter a parse tree produced byExprParser.lambda().The default implementation does nothing.
- Specified by:
enterLambdain interfaceExprListener- Overrides:
enterLambdain classExprBaseListener- Parameters:
ctx- the parse tree
-
exitLambda
public void exitLambda(ExprParser.LambdaContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced byExprParser.lambda().The default implementation does nothing.
- Specified by:
exitLambdain interfaceExprListener- Overrides:
exitLambdain classExprBaseListener- Parameters:
ctx- the parse tree
-
exitFunctionArgs
public void exitFunctionArgs(ExprParser.FunctionArgsContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by thefunctionArgslabeled alternative inExprParser.fnArgs().The default implementation does nothing.
- Specified by:
exitFunctionArgsin interfaceExprListener- Overrides:
exitFunctionArgsin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitNull
public void exitNull(ExprParser.NullContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by thenulllabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitNullin interfaceExprListener- Overrides:
exitNullin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitDoubleArray
public void exitDoubleArray(ExprParser.DoubleArrayContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by thedoubleArraylabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitDoubleArrayin interfaceExprListener- Overrides:
exitDoubleArrayin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitExplicitArray
public void exitExplicitArray(ExprParser.ExplicitArrayContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by theexplicitArraylabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitExplicitArrayin interfaceExprListener- Overrides:
exitExplicitArrayin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitLongArray
public void exitLongArray(ExprParser.LongArrayContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by thelongArraylabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitLongArrayin interfaceExprListener- Overrides:
exitLongArrayin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitExplicitLongArray
public void exitExplicitLongArray(ExprParser.ExplicitLongArrayContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by theexplicitLongArraylabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitExplicitLongArrayin interfaceExprListener- Overrides:
exitExplicitLongArrayin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitStringArray
public void exitStringArray(ExprParser.StringArrayContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by thestringArraylabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitStringArrayin interfaceExprListener- Overrides:
exitStringArrayin classExprBaseListener- Parameters:
ctx- the parse tree
-
exitExplicitStringArray
public void exitExplicitStringArray(ExprParser.ExplicitStringArrayContext ctx)
Description copied from class:ExprBaseListenerExit a parse tree produced by theexplicitStringArraylabeled alternative inExprParser.expr().The default implementation does nothing.
- Specified by:
exitExplicitStringArrayin interfaceExprListener- Overrides:
exitExplicitStringArrayin classExprBaseListener- Parameters:
ctx- the parse tree
-
-