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. UseVoid
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 ofCQLVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description CQLBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitExpression
public T visitExpression(CQLParser.ExpressionContext ctx)
Visit a parse tree produced byCQLParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpression
in interfaceCQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimary
public T visitPrimary(CQLParser.PrimaryContext ctx)
Visit a parse tree produced byCQLParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPrimary
in interfaceCQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNegativeTest
public T visitNegativeTest(CQLParser.NegativeTestContext ctx)
Visit a parse tree produced byCQLParser.negativeTest()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNegativeTest
in interfaceCQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGroupedTest
public T visitGroupedTest(CQLParser.GroupedTestContext ctx)
Visit a parse tree produced byCQLParser.groupedTest()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGroupedTest
in interfaceCQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConstantTest
public T visitConstantTest(CQLParser.ConstantTestContext ctx)
Visit a parse tree produced byCQLParser.constantTest()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitConstantTest
in interfaceCQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPropertyTest
public T visitPropertyTest(CQLParser.PropertyTestContext ctx)
Visit a parse tree produced byCQLParser.propertyTest()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPropertyTest
in interfaceCQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstanceOfTest
public T visitInstanceOfTest(CQLParser.InstanceOfTestContext ctx)
Visit a parse tree produced byCQLParser.instanceOfTest()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInstanceOfTest
in interfaceCQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
public T visitQualifiedName(CQLParser.QualifiedNameContext ctx)
Visit a parse tree produced byCQLParser.qualifiedName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQualifiedName
in interfaceCQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteral
public T visitLiteral(CQLParser.LiteralContext ctx)
Visit a parse tree produced byCQLParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteral
in interfaceCQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumLiteral
public T visitEnumLiteral(CQLParser.EnumLiteralContext ctx)
Visit a parse tree produced byCQLParser.enumLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEnumLiteral
in interfaceCQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-