Class CQLBaseVisitor<T>

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

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

      • CQLBaseVisitor

        public CQLBaseVisitor()
    • Method Detail

      • visitExpression

        public T visitExpression​(CQLParser.ExpressionContext ctx)
        Visit a parse tree produced by CQLParser.expression().

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

        Specified by:
        visitExpression in interface CQLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitPrimary

        public T visitPrimary​(CQLParser.PrimaryContext ctx)
        Visit a parse tree produced by CQLParser.primary().

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

        Specified by:
        visitPrimary in interface CQLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitGroupedTest

        public T visitGroupedTest​(CQLParser.GroupedTestContext ctx)
        Visit a parse tree produced by CQLParser.groupedTest().

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

        Specified by:
        visitGroupedTest in interface CQLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitLiteral

        public T visitLiteral​(CQLParser.LiteralContext ctx)
        Visit a parse tree produced by CQLParser.literal().

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

        Specified by:
        visitLiteral in interface CQLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitEnumLiteral

        public T visitEnumLiteral​(CQLParser.EnumLiteralContext ctx)
        Visit a parse tree produced by CQLParser.enumLiteral().

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

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