Package cel.parser.internal
Interface CELVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for 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 T
visitBoolFalse(CELParser.BoolFalseContext ctx)
Visit a parse tree produced by theBoolFalse
labeled alternative inCELParser.literal()
.T
visitBoolTrue(CELParser.BoolTrueContext ctx)
Visit a parse tree produced by theBoolTrue
labeled alternative inCELParser.literal()
.T
visitBytes(CELParser.BytesContext ctx)
Visit a parse tree produced by theBytes
labeled alternative inCELParser.literal()
.T
visitCalc(CELParser.CalcContext ctx)
Visit a parse tree produced byCELParser.calc()
.T
visitConditionalAnd(CELParser.ConditionalAndContext ctx)
Visit a parse tree produced byCELParser.conditionalAnd()
.T
visitConditionalOr(CELParser.ConditionalOrContext ctx)
Visit a parse tree produced byCELParser.conditionalOr()
.T
visitConstantLiteral(CELParser.ConstantLiteralContext ctx)
Visit a parse tree produced by theConstantLiteral
labeled alternative inCELParser.primary()
.T
visitCreateList(CELParser.CreateListContext ctx)
Visit a parse tree produced by theCreateList
labeled alternative inCELParser.primary()
.T
visitCreateMap(CELParser.CreateMapContext ctx)
Visit a parse tree produced by theCreateMap
labeled alternative inCELParser.primary()
.T
visitCreateMessage(CELParser.CreateMessageContext ctx)
Visit a parse tree produced by theCreateMessage
labeled alternative inCELParser.primary()
.T
visitDouble(CELParser.DoubleContext ctx)
Visit a parse tree produced by theDouble
labeled alternative inCELParser.literal()
.T
visitEscapedIdentifier(CELParser.EscapedIdentifierContext ctx)
Visit a parse tree produced by theEscapedIdentifier
labeled alternative inCELParser.escapeIdent()
.T
visitExpr(CELParser.ExprContext ctx)
Visit a parse tree produced byCELParser.expr()
.T
visitExprList(CELParser.ExprListContext ctx)
Visit a parse tree produced byCELParser.exprList()
.T
visitFieldInitializerList(CELParser.FieldInitializerListContext ctx)
Visit a parse tree produced byCELParser.fieldInitializerList()
.T
visitGlobalCall(CELParser.GlobalCallContext ctx)
Visit a parse tree produced by theGlobalCall
labeled alternative inCELParser.primary()
.T
visitIdent(CELParser.IdentContext ctx)
Visit a parse tree produced by theIdent
labeled alternative inCELParser.primary()
.T
visitIndex(CELParser.IndexContext ctx)
Visit a parse tree produced by theIndex
labeled alternative inCELParser.member()
.T
visitInt(CELParser.IntContext ctx)
Visit a parse tree produced by theInt
labeled alternative inCELParser.literal()
.T
visitListInit(CELParser.ListInitContext ctx)
Visit a parse tree produced byCELParser.listInit()
.T
visitLogicalNot(CELParser.LogicalNotContext ctx)
Visit a parse tree produced by theLogicalNot
labeled alternative inCELParser.unary()
.T
visitMapInitializerList(CELParser.MapInitializerListContext ctx)
Visit a parse tree produced byCELParser.mapInitializerList()
.T
visitMemberCall(CELParser.MemberCallContext ctx)
Visit a parse tree produced by theMemberCall
labeled alternative inCELParser.member()
.T
visitMemberExpr(CELParser.MemberExprContext ctx)
Visit a parse tree produced by theMemberExpr
labeled alternative inCELParser.unary()
.T
visitNegate(CELParser.NegateContext ctx)
Visit a parse tree produced by theNegate
labeled alternative inCELParser.unary()
.T
visitNested(CELParser.NestedContext ctx)
Visit a parse tree produced by theNested
labeled alternative inCELParser.primary()
.T
visitNull(CELParser.NullContext ctx)
Visit a parse tree produced by theNull
labeled alternative inCELParser.literal()
.T
visitOptExpr(CELParser.OptExprContext ctx)
Visit a parse tree produced byCELParser.optExpr()
.T
visitOptField(CELParser.OptFieldContext ctx)
Visit a parse tree produced byCELParser.optField()
.T
visitPrimaryExpr(CELParser.PrimaryExprContext ctx)
Visit a parse tree produced by thePrimaryExpr
labeled alternative inCELParser.member()
.T
visitRelation(CELParser.RelationContext ctx)
Visit a parse tree produced byCELParser.relation()
.T
visitSelect(CELParser.SelectContext ctx)
Visit a parse tree produced by theSelect
labeled alternative inCELParser.member()
.T
visitSimpleIdentifier(CELParser.SimpleIdentifierContext ctx)
Visit a parse tree produced by theSimpleIdentifier
labeled alternative inCELParser.escapeIdent()
.T
visitStart(CELParser.StartContext ctx)
Visit a parse tree produced byCELParser.start()
.T
visitString(CELParser.StringContext ctx)
Visit a parse tree produced by theString
labeled alternative inCELParser.literal()
.T
visitUint(CELParser.UintContext ctx)
Visit a parse tree produced by theUint
labeled 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 theMemberExpr
labeled alternative inCELParser.unary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLogicalNot
T visitLogicalNot(CELParser.LogicalNotContext ctx)
Visit a parse tree produced by theLogicalNot
labeled alternative inCELParser.unary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNegate
T visitNegate(CELParser.NegateContext ctx)
Visit a parse tree produced by theNegate
labeled alternative inCELParser.unary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMemberCall
T visitMemberCall(CELParser.MemberCallContext ctx)
Visit a parse tree produced by theMemberCall
labeled alternative inCELParser.member()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSelect
T visitSelect(CELParser.SelectContext ctx)
Visit a parse tree produced by theSelect
labeled alternative inCELParser.member()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimaryExpr
T visitPrimaryExpr(CELParser.PrimaryExprContext ctx)
Visit a parse tree produced by thePrimaryExpr
labeled alternative inCELParser.member()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIndex
T visitIndex(CELParser.IndexContext ctx)
Visit a parse tree produced by theIndex
labeled alternative inCELParser.member()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdent
T visitIdent(CELParser.IdentContext ctx)
Visit a parse tree produced by theIdent
labeled alternative inCELParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGlobalCall
T visitGlobalCall(CELParser.GlobalCallContext ctx)
Visit a parse tree produced by theGlobalCall
labeled alternative inCELParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNested
T visitNested(CELParser.NestedContext ctx)
Visit a parse tree produced by theNested
labeled alternative inCELParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreateList
T visitCreateList(CELParser.CreateListContext ctx)
Visit a parse tree produced by theCreateList
labeled alternative inCELParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreateMap
T visitCreateMap(CELParser.CreateMapContext ctx)
Visit a parse tree produced by theCreateMap
labeled alternative inCELParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreateMessage
T visitCreateMessage(CELParser.CreateMessageContext ctx)
Visit a parse tree produced by theCreateMessage
labeled alternative inCELParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConstantLiteral
T visitConstantLiteral(CELParser.ConstantLiteralContext ctx)
Visit a parse tree produced by theConstantLiteral
labeled 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 theSimpleIdentifier
labeled alternative inCELParser.escapeIdent()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEscapedIdentifier
T visitEscapedIdentifier(CELParser.EscapedIdentifierContext ctx)
Visit a parse tree produced by theEscapedIdentifier
labeled 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 theInt
labeled alternative inCELParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUint
T visitUint(CELParser.UintContext ctx)
Visit a parse tree produced by theUint
labeled alternative inCELParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDouble
T visitDouble(CELParser.DoubleContext ctx)
Visit a parse tree produced by theDouble
labeled alternative inCELParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitString
T visitString(CELParser.StringContext ctx)
Visit a parse tree produced by theString
labeled alternative inCELParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBytes
T visitBytes(CELParser.BytesContext ctx)
Visit a parse tree produced by theBytes
labeled alternative inCELParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBoolTrue
T visitBoolTrue(CELParser.BoolTrueContext ctx)
Visit a parse tree produced by theBoolTrue
labeled alternative inCELParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBoolFalse
T visitBoolFalse(CELParser.BoolFalseContext ctx)
Visit a parse tree produced by theBoolFalse
labeled alternative inCELParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNull
T visitNull(CELParser.NullContext ctx)
Visit a parse tree produced by theNull
labeled alternative inCELParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-