T
- The return type of the visit operation. Use Void
for
operations with no return type.public class CQLBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements CQLVisitor<T>
CQLVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Constructor and Description |
---|
CQLBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public T visitExpression(CQLParser.ExpressionContext ctx)
CQLParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExpression
in interface CQLVisitor<T>
ctx
- the parse treepublic T visitPrimary(CQLParser.PrimaryContext ctx)
CQLParser.primary()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitPrimary
in interface CQLVisitor<T>
ctx
- the parse treepublic T visitNegativeTest(CQLParser.NegativeTestContext ctx)
CQLParser.negativeTest()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNegativeTest
in interface CQLVisitor<T>
ctx
- the parse treepublic T visitGroupedTest(CQLParser.GroupedTestContext ctx)
CQLParser.groupedTest()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitGroupedTest
in interface CQLVisitor<T>
ctx
- the parse treepublic T visitConstantTest(CQLParser.ConstantTestContext ctx)
CQLParser.constantTest()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitConstantTest
in interface CQLVisitor<T>
ctx
- the parse treepublic T visitPropertyTest(CQLParser.PropertyTestContext ctx)
CQLParser.propertyTest()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitPropertyTest
in interface CQLVisitor<T>
ctx
- the parse treepublic T visitInstanceOfTest(CQLParser.InstanceOfTestContext ctx)
CQLParser.instanceOfTest()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitInstanceOfTest
in interface CQLVisitor<T>
ctx
- the parse treepublic T visitQualifiedName(CQLParser.QualifiedNameContext ctx)
CQLParser.qualifiedName()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitQualifiedName
in interface CQLVisitor<T>
ctx
- the parse treepublic T visitLiteral(CQLParser.LiteralContext ctx)
CQLParser.literal()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLiteral
in interface CQLVisitor<T>
ctx
- the parse treepublic T visitEnumLiteral(CQLParser.EnumLiteralContext ctx)
CQLParser.enumLiteral()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitEnumLiteral
in interface CQLVisitor<T>
ctx
- the parse treeCopyright © 2016–2021. All rights reserved.