Package net.jazdw.rql
Interface RqlVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
ASTGenerator,FunctionVisitor,LimitOffsetVisitor,PredicateVisitor,QueryVisitor,RqlBaseVisitor,SortVisitor,ValueVisitor
public interface RqlVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
RqlParser.-
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 interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitQuery
Visit a parse tree produced byRqlParser.query().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredicate
Visit a parse tree produced by thepredicatelabeled alternative inRqlParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShortPredicate
Visit a parse tree produced by theshortPredicatelabeled alternative inRqlParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOr
Visit a parse tree produced by theorlabeled alternative inRqlParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnd
Visit a parse tree produced by theandlabeled alternative inRqlParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunction
Visit a parse tree produced by thefunctionlabeled alternative inRqlParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogical
Visit a parse tree produced by thelogicallabeled alternative inRqlParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGroup
Visit a parse tree produced by thegrouplabeled alternative inRqlParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionName
Visit a parse tree produced byRqlParser.functionName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
Visit a parse tree produced byRqlParser.identifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValue
Visit a parse tree produced byRqlParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypedValue
Visit a parse tree produced byRqlParser.typedValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayValue
Visit a parse tree produced byRqlParser.arrayValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalOperator
Visit a parse tree produced byRqlParser.logicalOperator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredicateOperator
Visit a parse tree produced byRqlParser.predicateOperator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShortPredicateOperator
Visit a parse tree produced byRqlParser.shortPredicateOperator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-