Class RqlBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
RqlVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- Direct Known Subclasses:
ASTGenerator,FunctionVisitor,PredicateVisitor,QueryVisitor,ValueVisitor
RqlVisitor,
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 by theandlabeled alternative inRqlParser.expression().Visit a parse tree produced byRqlParser.arrayValue().Visit a parse tree produced by thefunctionlabeled alternative inRqlParser.expression().Visit a parse tree produced byRqlParser.functionName().Visit a parse tree produced by thegrouplabeled alternative inRqlParser.expression().Visit a parse tree produced byRqlParser.identifier().Visit a parse tree produced by thelogicallabeled alternative inRqlParser.expression().Visit a parse tree produced byRqlParser.logicalOperator().Visit a parse tree produced by theorlabeled alternative inRqlParser.expression().Visit a parse tree produced by thepredicatelabeled alternative inRqlParser.expression().Visit a parse tree produced byRqlParser.predicateOperator().Visit a parse tree produced byRqlParser.query().Visit a parse tree produced by theshortPredicatelabeled alternative inRqlParser.expression().Visit a parse tree produced byRqlParser.shortPredicateOperator().Visit a parse tree produced byRqlParser.typedValue().Visit a parse tree produced byRqlParser.value().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
RqlBaseVisitor
public RqlBaseVisitor()
-
-
Method Details
-
visitQuery
Visit a parse tree produced byRqlParser.query().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQueryin interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredicate
Visit a parse tree produced by thepredicatelabeled alternative inRqlParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPredicatein interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShortPredicate
Visit a parse tree produced by theshortPredicatelabeled alternative inRqlParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitShortPredicatein interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOr
Visit a parse tree produced by theorlabeled alternative inRqlParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOrin interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnd
Visit a parse tree produced by theandlabeled alternative inRqlParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAndin interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunction
Visit a parse tree produced by thefunctionlabeled alternative inRqlParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionin interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogical
Visit a parse tree produced by thelogicallabeled alternative inRqlParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLogicalin interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGroup
Visit a parse tree produced by thegrouplabeled alternative inRqlParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGroupin interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionName
Visit a parse tree produced byRqlParser.functionName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionNamein interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
Visit a parse tree produced byRqlParser.identifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierin interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValue
Visit a parse tree produced byRqlParser.value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitValuein interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypedValue
Visit a parse tree produced byRqlParser.typedValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypedValuein interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayValue
Visit a parse tree produced byRqlParser.arrayValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayValuein interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalOperator
Visit a parse tree produced byRqlParser.logicalOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLogicalOperatorin interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredicateOperator
Visit a parse tree produced byRqlParser.predicateOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPredicateOperatorin interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShortPredicateOperator
Visit a parse tree produced byRqlParser.shortPredicateOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitShortPredicateOperatorin interfaceRqlVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-