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().TvisitCreateMap(CELParser.CreateMapContext ctx)Visit a parse tree produced by theCreateMaplabeled alternative inCELParser.primary().TvisitCreateMessage(CELParser.CreateMessageContext ctx)Visit a parse tree produced by theCreateMessagelabeled alternative inCELParser.primary().TvisitDouble(CELParser.DoubleContext ctx)Visit a parse tree produced by theDoublelabeled alternative inCELParser.literal().TvisitEscapedIdentifier(CELParser.EscapedIdentifierContext ctx)Visit a parse tree produced by theEscapedIdentifierlabeled alternative inCELParser.escapeIdent().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().TvisitGlobalCall(CELParser.GlobalCallContext ctx)Visit a parse tree produced by theGlobalCalllabeled alternative inCELParser.primary().TvisitIdent(CELParser.IdentContext ctx)Visit a parse tree produced by theIdentlabeled 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().TvisitSimpleIdentifier(CELParser.SimpleIdentifierContext ctx)Visit a parse tree produced by theSimpleIdentifierlabeled alternative inCELParser.escapeIdent().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
-
visitIdent
T visitIdent(CELParser.IdentContext ctx)
Visit a parse tree produced by theIdentlabeled alternative inCELParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGlobalCall
T visitGlobalCall(CELParser.GlobalCallContext ctx)
Visit a parse tree produced by theGlobalCalllabeled 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
-
visitCreateMap
T visitCreateMap(CELParser.CreateMapContext ctx)
Visit a parse tree produced by theCreateMaplabeled 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
-
visitSimpleIdentifier
T visitSimpleIdentifier(CELParser.SimpleIdentifierContext ctx)
Visit a parse tree produced by theSimpleIdentifierlabeled alternative inCELParser.escapeIdent().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEscapedIdentifier
T visitEscapedIdentifier(CELParser.EscapedIdentifierContext ctx)
Visit a parse tree produced by theEscapedIdentifierlabeled alternative inCELParser.escapeIdent().- 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
-
-