Class 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>
CQLVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byCQLParser.constantTest()
.Visit a parse tree produced byCQLParser.enumLiteral()
.Visit a parse tree produced byCQLParser.expression()
.Visit a parse tree produced byCQLParser.groupedTest()
.Visit a parse tree produced byCQLParser.instanceOfTest()
.Visit a parse tree produced byCQLParser.literal()
.Visit a parse tree produced byCQLParser.negativeTest()
.Visit a parse tree produced byCQLParser.primary()
.Visit a parse tree produced byCQLParser.propertyTest()
.Visit a parse tree produced byCQLParser.qualifiedName()
.Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
CQLBaseVisitor
public CQLBaseVisitor()
-
-
Method Details
-
visitExpression
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
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
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
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
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
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
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
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
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
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
-