Package cel.parser.internal
Interface CELVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
CELBaseVisitor
public interface CELVisitor<T> extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>This interface defines a complete generic visitor for a parse tree produced byCELParser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TvisitBoolFalse(CELParser.BoolFalseContext ctx)Visit a parse tree produced by theBoolFalselabeled alternative inCELParser.literal().TvisitBoolTrue(CELParser.BoolTrueContext ctx)Visit a parse tree produced by theBoolTruelabeled alternative inCELParser.literal().TvisitBytes(CELParser.BytesContext ctx)Visit a parse tree produced by theByteslabeled alternative inCELParser.literal().TvisitCalc(CELParser.CalcContext ctx)Visit a parse tree produced byCELParser.calc().TvisitConditionalAnd(CELParser.ConditionalAndContext ctx)Visit a parse tree produced byCELParser.conditionalAnd().TvisitConditionalOr(CELParser.ConditionalOrContext ctx)Visit a parse tree produced byCELParser.conditionalOr().TvisitConstantLiteral(CELParser.ConstantLiteralContext ctx)Visit a parse tree produced by theConstantLiterallabeled alternative inCELParser.primary().TvisitCreateList(CELParser.CreateListContext ctx)Visit a parse tree produced by theCreateListlabeled alternative inCELParser.primary().TvisitCreateMessage(CELParser.CreateMessageContext ctx)Visit a parse tree produced by theCreateMessagelabeled alternative inCELParser.primary().TvisitCreateStruct(CELParser.CreateStructContext ctx)Visit a parse tree produced by theCreateStructlabeled alternative inCELParser.primary().TvisitDouble(CELParser.DoubleContext ctx)Visit a parse tree produced by theDoublelabeled alternative inCELParser.literal().TvisitExpr(CELParser.ExprContext ctx)Visit a parse tree produced byCELParser.expr().TvisitExprList(CELParser.ExprListContext ctx)Visit a parse tree produced byCELParser.exprList().TvisitFieldInitializerList(CELParser.FieldInitializerListContext ctx)Visit a parse tree produced byCELParser.fieldInitializerList().TvisitIdentOrGlobalCall(CELParser.IdentOrGlobalCallContext ctx)Visit a parse tree produced by theIdentOrGlobalCalllabeled alternative inCELParser.primary().TvisitIndex(CELParser.IndexContext ctx)Visit a parse tree produced by theIndexlabeled alternative inCELParser.member().TvisitInt(CELParser.IntContext ctx)Visit a parse tree produced by theIntlabeled alternative inCELParser.literal().TvisitListInit(CELParser.ListInitContext ctx)Visit a parse tree produced byCELParser.listInit().TvisitLogicalNot(CELParser.LogicalNotContext ctx)Visit a parse tree produced by theLogicalNotlabeled alternative inCELParser.unary().TvisitMapInitializerList(CELParser.MapInitializerListContext ctx)Visit a parse tree produced byCELParser.mapInitializerList().TvisitMemberCall(CELParser.MemberCallContext ctx)Visit a parse tree produced by theMemberCalllabeled alternative inCELParser.member().TvisitMemberExpr(CELParser.MemberExprContext ctx)Visit a parse tree produced by theMemberExprlabeled alternative inCELParser.unary().TvisitNegate(CELParser.NegateContext ctx)Visit a parse tree produced by theNegatelabeled alternative inCELParser.unary().TvisitNested(CELParser.NestedContext ctx)Visit a parse tree produced by theNestedlabeled alternative inCELParser.primary().TvisitNull(CELParser.NullContext ctx)Visit a parse tree produced by theNulllabeled alternative inCELParser.literal().TvisitOptExpr(CELParser.OptExprContext ctx)Visit a parse tree produced byCELParser.optExpr().TvisitOptField(CELParser.OptFieldContext ctx)Visit a parse tree produced byCELParser.optField().TvisitPrimaryExpr(CELParser.PrimaryExprContext ctx)Visit a parse tree produced by thePrimaryExprlabeled alternative inCELParser.member().TvisitRelation(CELParser.RelationContext ctx)Visit a parse tree produced byCELParser.relation().TvisitSelect(CELParser.SelectContext ctx)Visit a parse tree produced by theSelectlabeled alternative inCELParser.member().TvisitStart(CELParser.StartContext ctx)Visit a parse tree produced byCELParser.start().TvisitString(CELParser.StringContext ctx)Visit a parse tree produced by theStringlabeled alternative inCELParser.literal().TvisitUint(CELParser.UintContext ctx)Visit a parse tree produced by theUintlabeled alternative inCELParser.literal().
-
-
-
Method Detail
-
visitStart
T visitStart(CELParser.StartContext ctx)
Visit a parse tree produced byCELParser.start().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr
T visitExpr(CELParser.ExprContext ctx)
Visit a parse tree produced byCELParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditionalOr
T visitConditionalOr(CELParser.ConditionalOrContext ctx)
Visit a parse tree produced byCELParser.conditionalOr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditionalAnd
T visitConditionalAnd(CELParser.ConditionalAndContext ctx)
Visit a parse tree produced byCELParser.conditionalAnd().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelation
T visitRelation(CELParser.RelationContext ctx)
Visit a parse tree produced byCELParser.relation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCalc
T visitCalc(CELParser.CalcContext ctx)
Visit a parse tree produced byCELParser.calc().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberExpr
T visitMemberExpr(CELParser.MemberExprContext ctx)
Visit a parse tree produced by theMemberExprlabeled alternative inCELParser.unary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalNot
T visitLogicalNot(CELParser.LogicalNotContext ctx)
Visit a parse tree produced by theLogicalNotlabeled alternative inCELParser.unary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNegate
T visitNegate(CELParser.NegateContext ctx)
Visit a parse tree produced by theNegatelabeled alternative inCELParser.unary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberCall
T visitMemberCall(CELParser.MemberCallContext ctx)
Visit a parse tree produced by theMemberCalllabeled alternative inCELParser.member().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSelect
T visitSelect(CELParser.SelectContext ctx)
Visit a parse tree produced by theSelectlabeled alternative inCELParser.member().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimaryExpr
T visitPrimaryExpr(CELParser.PrimaryExprContext ctx)
Visit a parse tree produced by thePrimaryExprlabeled alternative inCELParser.member().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndex
T visitIndex(CELParser.IndexContext ctx)
Visit a parse tree produced by theIndexlabeled alternative inCELParser.member().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentOrGlobalCall
T visitIdentOrGlobalCall(CELParser.IdentOrGlobalCallContext ctx)
Visit a parse tree produced by theIdentOrGlobalCalllabeled alternative inCELParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNested
T visitNested(CELParser.NestedContext ctx)
Visit a parse tree produced by theNestedlabeled alternative inCELParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreateList
T visitCreateList(CELParser.CreateListContext ctx)
Visit a parse tree produced by theCreateListlabeled alternative inCELParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreateStruct
T visitCreateStruct(CELParser.CreateStructContext ctx)
Visit a parse tree produced by theCreateStructlabeled alternative inCELParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreateMessage
T visitCreateMessage(CELParser.CreateMessageContext ctx)
Visit a parse tree produced by theCreateMessagelabeled alternative inCELParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstantLiteral
T visitConstantLiteral(CELParser.ConstantLiteralContext ctx)
Visit a parse tree produced by theConstantLiterallabeled alternative inCELParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprList
T visitExprList(CELParser.ExprListContext ctx)
Visit a parse tree produced byCELParser.exprList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitListInit
T visitListInit(CELParser.ListInitContext ctx)
Visit a parse tree produced byCELParser.listInit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldInitializerList
T visitFieldInitializerList(CELParser.FieldInitializerListContext ctx)
Visit a parse tree produced byCELParser.fieldInitializerList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOptField
T visitOptField(CELParser.OptFieldContext ctx)
Visit a parse tree produced byCELParser.optField().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMapInitializerList
T visitMapInitializerList(CELParser.MapInitializerListContext ctx)
Visit a parse tree produced byCELParser.mapInitializerList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOptExpr
T visitOptExpr(CELParser.OptExprContext ctx)
Visit a parse tree produced byCELParser.optExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInt
T visitInt(CELParser.IntContext ctx)
Visit a parse tree produced by theIntlabeled alternative inCELParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUint
T visitUint(CELParser.UintContext ctx)
Visit a parse tree produced by theUintlabeled alternative inCELParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDouble
T visitDouble(CELParser.DoubleContext ctx)
Visit a parse tree produced by theDoublelabeled alternative inCELParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitString
T visitString(CELParser.StringContext ctx)
Visit a parse tree produced by theStringlabeled alternative inCELParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBytes
T visitBytes(CELParser.BytesContext ctx)
Visit a parse tree produced by theByteslabeled alternative inCELParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolTrue
T visitBoolTrue(CELParser.BoolTrueContext ctx)
Visit a parse tree produced by theBoolTruelabeled alternative inCELParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolFalse
T visitBoolFalse(CELParser.BoolFalseContext ctx)
Visit a parse tree produced by theBoolFalselabeled alternative inCELParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNull
T visitNull(CELParser.NullContext ctx)
Visit a parse tree produced by theNulllabeled alternative inCELParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-