Class CELBaseVisitor<T>

  • Type Parameters:
    T - The return type of the visit operation. Use Void for operations with no return type.
    All Implemented Interfaces:
    CELVisitor<T>, org.antlr.v4.runtime.tree.ParseTreeVisitor<T>

    public class CELBaseVisitor<T>
    extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
    implements CELVisitor<T>
    This class provides an empty implementation of CELVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
    • Constructor Detail

      • CELBaseVisitor

        public CELBaseVisitor()
    • Method Detail

      • visitStart

        public T visitStart​(CELParser.StartContext ctx)
        Visit a parse tree produced by CELParser.start().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitStart in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitExpr

        public T visitExpr​(CELParser.ExprContext ctx)
        Visit a parse tree produced by CELParser.expr().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitExpr in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitRelation

        public T visitRelation​(CELParser.RelationContext ctx)
        Visit a parse tree produced by CELParser.relation().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitRelation in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitCalc

        public T visitCalc​(CELParser.CalcContext ctx)
        Visit a parse tree produced by CELParser.calc().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitCalc in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMemberExpr

        public T visitMemberExpr​(CELParser.MemberExprContext ctx)
        Visit a parse tree produced by the MemberExpr labeled alternative in CELParser.unary().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitMemberExpr in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitLogicalNot

        public T visitLogicalNot​(CELParser.LogicalNotContext ctx)
        Visit a parse tree produced by the LogicalNot labeled alternative in CELParser.unary().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitLogicalNot in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitNegate

        public T visitNegate​(CELParser.NegateContext ctx)
        Visit a parse tree produced by the Negate labeled alternative in CELParser.unary().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitNegate in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMemberCall

        public T visitMemberCall​(CELParser.MemberCallContext ctx)
        Visit a parse tree produced by the MemberCall labeled alternative in CELParser.member().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitMemberCall in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitSelect

        public T visitSelect​(CELParser.SelectContext ctx)
        Visit a parse tree produced by the Select labeled alternative in CELParser.member().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitSelect in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitPrimaryExpr

        public T visitPrimaryExpr​(CELParser.PrimaryExprContext ctx)
        Visit a parse tree produced by the PrimaryExpr labeled alternative in CELParser.member().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitPrimaryExpr in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitIndex

        public T visitIndex​(CELParser.IndexContext ctx)
        Visit a parse tree produced by the Index labeled alternative in CELParser.member().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitIndex in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitIdentOrGlobalCall

        public T visitIdentOrGlobalCall​(CELParser.IdentOrGlobalCallContext ctx)
        Visit a parse tree produced by the IdentOrGlobalCall labeled alternative in CELParser.primary().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitIdentOrGlobalCall in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitNested

        public T visitNested​(CELParser.NestedContext ctx)
        Visit a parse tree produced by the Nested labeled alternative in CELParser.primary().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitNested in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitCreateList

        public T visitCreateList​(CELParser.CreateListContext ctx)
        Visit a parse tree produced by the CreateList labeled alternative in CELParser.primary().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitCreateList in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitCreateMap

        public T visitCreateMap​(CELParser.CreateMapContext ctx)
        Visit a parse tree produced by the CreateMap labeled alternative in CELParser.primary().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitCreateMap in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitCreateMessage

        public T visitCreateMessage​(CELParser.CreateMessageContext ctx)
        Visit a parse tree produced by the CreateMessage labeled alternative in CELParser.primary().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitCreateMessage in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitConstantLiteral

        public T visitConstantLiteral​(CELParser.ConstantLiteralContext ctx)
        Visit a parse tree produced by the ConstantLiteral labeled alternative in CELParser.primary().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitConstantLiteral in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitExprList

        public T visitExprList​(CELParser.ExprListContext ctx)
        Visit a parse tree produced by CELParser.exprList().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitExprList in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitListInit

        public T visitListInit​(CELParser.ListInitContext ctx)
        Visit a parse tree produced by CELParser.listInit().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitListInit in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitOptField

        public T visitOptField​(CELParser.OptFieldContext ctx)
        Visit a parse tree produced by CELParser.optField().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitOptField in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitOptExpr

        public T visitOptExpr​(CELParser.OptExprContext ctx)
        Visit a parse tree produced by CELParser.optExpr().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitOptExpr in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitInt

        public T visitInt​(CELParser.IntContext ctx)
        Visit a parse tree produced by the Int labeled alternative in CELParser.literal().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitInt in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitUint

        public T visitUint​(CELParser.UintContext ctx)
        Visit a parse tree produced by the Uint labeled alternative in CELParser.literal().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitUint in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitDouble

        public T visitDouble​(CELParser.DoubleContext ctx)
        Visit a parse tree produced by the Double labeled alternative in CELParser.literal().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitDouble in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitString

        public T visitString​(CELParser.StringContext ctx)
        Visit a parse tree produced by the String labeled alternative in CELParser.literal().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitString in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitBytes

        public T visitBytes​(CELParser.BytesContext ctx)
        Visit a parse tree produced by the Bytes labeled alternative in CELParser.literal().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitBytes in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitBoolTrue

        public T visitBoolTrue​(CELParser.BoolTrueContext ctx)
        Visit a parse tree produced by the BoolTrue labeled alternative in CELParser.literal().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitBoolTrue in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitBoolFalse

        public T visitBoolFalse​(CELParser.BoolFalseContext ctx)
        Visit a parse tree produced by the BoolFalse labeled alternative in CELParser.literal().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitBoolFalse in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitNull

        public T visitNull​(CELParser.NullContext ctx)
        Visit a parse tree produced by the Null labeled alternative in CELParser.literal().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitNull in interface CELVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result