Class CQLBaseVisitor<T>

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
com.cloudbees.plugins.credentials.matchers.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 Details

    • CQLBaseVisitor

      public CQLBaseVisitor()
  • Method Details

    • 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
    • visitNegativeTest

      public T visitNegativeTest(CQLParser.NegativeTestContext ctx)
      Visit a parse tree produced by CQLParser.negativeTest().

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

      Specified by:
      visitNegativeTest 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
    • visitConstantTest

      public T visitConstantTest(CQLParser.ConstantTestContext ctx)
      Visit a parse tree produced by CQLParser.constantTest().

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

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

      public T visitPropertyTest(CQLParser.PropertyTestContext ctx)
      Visit a parse tree produced by CQLParser.propertyTest().

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

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

      public T visitInstanceOfTest(CQLParser.InstanceOfTestContext ctx)
      Visit a parse tree produced by CQLParser.instanceOfTest().

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

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

      public T visitQualifiedName(CQLParser.QualifiedNameContext ctx)
      Visit a parse tree produced by CQLParser.qualifiedName().

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

      Specified by:
      visitQualifiedName 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