T
- The return type of the visit operation. Use Void
for
operations with no return type.public class QueryBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements QueryVisitor<T>
QueryVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Constructor and Description |
---|
QueryBaseVisitor() |
Modifier and Type | Method and Description |
---|---|
T |
visitAll(QueryParser.AllContext ctx)
Visit a parse tree produced by the
All
labeled alternative in QueryParser.objectField() . |
T |
visitArrayEmpty(QueryParser.ArrayEmptyContext ctx)
Visit a parse tree produced by the
ArrayEmpty
labeled alternative in QueryParser.array() . |
T |
visitArrays(QueryParser.ArraysContext ctx)
Visit a parse tree produced by the
Arrays
labeled alternative in QueryParser.value() . |
T |
visitArrayValue(QueryParser.ArrayValueContext ctx)
Visit a parse tree produced by the
ArrayValue
labeled alternative in QueryParser.array() . |
T |
visitAssignObject(QueryParser.AssignObjectContext ctx)
Visit a parse tree produced by the
AssignObject
labeled alternative in QueryParser.assignments() . |
T |
visitAssignStats(QueryParser.AssignStatsContext ctx)
Visit a parse tree produced by the
AssignStats
labeled alternative in QueryParser.assignments() . |
T |
visitBinaryOperator(QueryParser.BinaryOperatorContext ctx)
Visit a parse tree produced by
QueryParser.binaryOperator() . |
T |
visitBooleans(QueryParser.BooleansContext ctx)
Visit a parse tree produced by the
Booleans
labeled alternative in QueryParser.value() . |
T |
visitComparison(QueryParser.ComparisonContext ctx)
Visit a parse tree produced by the
Comparison
labeled alternative in QueryParser.objectPredicate() . |
T |
visitComparisonOperator(QueryParser.ComparisonOperatorContext ctx)
Visit a parse tree produced by
QueryParser.comparisonOperator() . |
T |
visitCountExpr(QueryParser.CountExprContext ctx)
Visit a parse tree produced by the
CountExpr
labeled alternative in QueryParser.functionalExpression() . |
T |
visitExistExpr(QueryParser.ExistExprContext ctx)
Visit a parse tree produced by the
ExistExpr
labeled alternative in QueryParser.functionalExpression() . |
T |
visitExpParen(QueryParser.ExpParenContext ctx)
Visit a parse tree produced by the
ExpParen
labeled alternative in QueryParser.expression() . |
T |
visitExpr(QueryParser.ExprContext ctx)
Visit a parse tree produced by the
Expr
labeled alternative in QueryParser.expression() . |
T |
visitExpressionPredicate(QueryParser.ExpressionPredicateContext ctx)
Visit a parse tree produced by the
ExpressionPredicate
labeled alternative in QueryParser.objectPredicate() . |
T |
visitExpValues(QueryParser.ExpValuesContext ctx)
Visit a parse tree produced by the
ExpValues
labeled alternative in QueryParser.expression() . |
T |
visitFunctionExp(QueryParser.FunctionExpContext ctx)
Visit a parse tree produced by the
FunctionExp
labeled alternative in QueryParser.expression() . |
T |
visitIdentifier(QueryParser.IdentifierContext ctx)
Visit a parse tree produced by
QueryParser.identifier() . |
T |
visitIDS(QueryParser.IDSContext ctx)
Visit a parse tree produced by the
IDS
labeled alternative in QueryParser.objectField() . |
T |
visitInComp(QueryParser.InCompContext ctx)
Visit a parse tree produced by the
InComp
labeled alternative in QueryParser.objectPredicate() . |
T |
visitInsertStats(QueryParser.InsertStatsContext ctx)
Visit a parse tree produced by the
InsertStats
labeled alternative in QueryParser.updateStatement() . |
T |
visitKeys(QueryParser.KeysContext ctx)
Visit a parse tree produced by the
Keys
labeled alternative in QueryParser.objectField() . |
T |
visitLimitPhrase(QueryParser.LimitPhraseContext ctx)
Visit a parse tree produced by the
LimitPhrase
labeled alternative in QueryParser.limitCause() . |
T |
visitLogicalOperator(QueryParser.LogicalOperatorContext ctx)
Visit a parse tree produced by
QueryParser.logicalOperator() . |
T |
visitLogicPredicate(QueryParser.LogicPredicateContext ctx)
Visit a parse tree produced by the
LogicPredicate
labeled alternative in QueryParser.predicate() . |
T |
visitLowerExpr(QueryParser.LowerExprContext ctx)
Visit a parse tree produced by the
LowerExpr
labeled alternative in QueryParser.functionalExpression() . |
T |
visitNotPredicate(QueryParser.NotPredicateContext ctx)
Visit a parse tree produced by the
NotPredicate
labeled alternative in QueryParser.predicate() . |
T |
visitNulls(QueryParser.NullsContext ctx)
Visit a parse tree produced by the
Nulls
labeled alternative in QueryParser.value() . |
T |
visitNumbers(QueryParser.NumbersContext ctx)
Visit a parse tree produced by the
Numbers
labeled alternative in QueryParser.value() . |
T |
visitObjectAssigns(QueryParser.ObjectAssignsContext ctx)
Visit a parse tree produced by the
ObjectAssigns
labeled alternative in QueryParser.object() . |
T |
visitObjectEmpty(QueryParser.ObjectEmptyContext ctx)
Visit a parse tree produced by the
ObjectEmpty
labeled alternative in QueryParser.object() . |
T |
visitObjects(QueryParser.ObjectsContext ctx)
Visit a parse tree produced by the
Objects
labeled alternative in QueryParser.value() . |
T |
visitObjPredicate(QueryParser.ObjPredicateContext ctx)
Visit a parse tree produced by the
ObjPredicate
labeled alternative in QueryParser.predicate() . |
T |
visitParenPredicate(QueryParser.ParenPredicateContext ctx)
Visit a parse tree produced by the
ParenPredicate
labeled alternative in QueryParser.predicate() . |
T |
visitReplaceStats(QueryParser.ReplaceStatsContext ctx)
Visit a parse tree produced by the
ReplaceStats
labeled alternative in QueryParser.updateStatement() . |
T |
visitScript(QueryParser.ScriptContext ctx)
Visit a parse tree produced by
QueryParser.script() . |
T |
visitSelectStats(QueryParser.SelectStatsContext ctx)
Visit a parse tree produced by the
SelectStats
labeled alternative in QueryParser.selectStatement() . |
T |
visitStrings(QueryParser.StringsContext ctx)
Visit a parse tree produced by the
Strings
labeled alternative in QueryParser.value() . |
T |
visitStrToBytesFuncExpr(QueryParser.StrToBytesFuncExprContext ctx)
Visit a parse tree produced by the
StrToBytesFuncExpr
labeled alternative in QueryParser.functionalExpression() . |
T |
visitSubstrExpr(QueryParser.SubstrExprContext ctx)
Visit a parse tree produced by the
SubstrExpr
labeled alternative in QueryParser.functionalExpression() . |
T |
visitUnaryOperator(QueryParser.UnaryOperatorContext ctx)
Visit a parse tree produced by
QueryParser.unaryOperator() . |
T |
visitUpperExpr(QueryParser.UpperExprContext ctx)
Visit a parse tree produced by the
UpperExpr
labeled alternative in QueryParser.functionalExpression() . |
T |
visitWhereStatement(QueryParser.WhereStatementContext ctx)
Visit a parse tree produced by
QueryParser.whereStatement() . |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public T visitScript(QueryParser.ScriptContext ctx)
QueryParser.script()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitScript
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitSelectStats(QueryParser.SelectStatsContext ctx)
SelectStats
labeled alternative in QueryParser.selectStatement()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSelectStats
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitReplaceStats(QueryParser.ReplaceStatsContext ctx)
ReplaceStats
labeled alternative in QueryParser.updateStatement()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitReplaceStats
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitInsertStats(QueryParser.InsertStatsContext ctx)
InsertStats
labeled alternative in QueryParser.updateStatement()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitInsertStats
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitWhereStatement(QueryParser.WhereStatementContext ctx)
QueryParser.whereStatement()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitWhereStatement
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitLimitPhrase(QueryParser.LimitPhraseContext ctx)
LimitPhrase
labeled alternative in QueryParser.limitCause()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLimitPhrase
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitObjPredicate(QueryParser.ObjPredicateContext ctx)
ObjPredicate
labeled alternative in QueryParser.predicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitObjPredicate
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitLogicPredicate(QueryParser.LogicPredicateContext ctx)
LogicPredicate
labeled alternative in QueryParser.predicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLogicPredicate
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitNotPredicate(QueryParser.NotPredicateContext ctx)
NotPredicate
labeled alternative in QueryParser.predicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNotPredicate
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitParenPredicate(QueryParser.ParenPredicateContext ctx)
ParenPredicate
labeled alternative in QueryParser.predicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitParenPredicate
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitComparison(QueryParser.ComparisonContext ctx)
Comparison
labeled alternative in QueryParser.objectPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitComparison
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitInComp(QueryParser.InCompContext ctx)
InComp
labeled alternative in QueryParser.objectPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitInComp
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitExpressionPredicate(QueryParser.ExpressionPredicateContext ctx)
ExpressionPredicate
labeled alternative in QueryParser.objectPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExpressionPredicate
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitFunctionExp(QueryParser.FunctionExpContext ctx)
FunctionExp
labeled alternative in QueryParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitFunctionExp
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitExpr(QueryParser.ExprContext ctx)
Expr
labeled alternative in QueryParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExpr
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitExpValues(QueryParser.ExpValuesContext ctx)
ExpValues
labeled alternative in QueryParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExpValues
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitExpParen(QueryParser.ExpParenContext ctx)
ExpParen
labeled alternative in QueryParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExpParen
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitLowerExpr(QueryParser.LowerExprContext ctx)
LowerExpr
labeled alternative in QueryParser.functionalExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLowerExpr
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitUpperExpr(QueryParser.UpperExprContext ctx)
UpperExpr
labeled alternative in QueryParser.functionalExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitUpperExpr
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitCountExpr(QueryParser.CountExprContext ctx)
CountExpr
labeled alternative in QueryParser.functionalExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCountExpr
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitSubstrExpr(QueryParser.SubstrExprContext ctx)
SubstrExpr
labeled alternative in QueryParser.functionalExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSubstrExpr
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitExistExpr(QueryParser.ExistExprContext ctx)
ExistExpr
labeled alternative in QueryParser.functionalExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExistExpr
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitStrToBytesFuncExpr(QueryParser.StrToBytesFuncExprContext ctx)
StrToBytesFuncExpr
labeled alternative in QueryParser.functionalExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitStrToBytesFuncExpr
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitAssignStats(QueryParser.AssignStatsContext ctx)
AssignStats
labeled alternative in QueryParser.assignments()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAssignStats
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitAssignObject(QueryParser.AssignObjectContext ctx)
AssignObject
labeled alternative in QueryParser.assignments()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAssignObject
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitKeys(QueryParser.KeysContext ctx)
Keys
labeled alternative in QueryParser.objectField()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitKeys
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitAll(QueryParser.AllContext ctx)
All
labeled alternative in QueryParser.objectField()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAll
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitIDS(QueryParser.IDSContext ctx)
IDS
labeled alternative in QueryParser.objectField()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitIDS
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitIdentifier(QueryParser.IdentifierContext ctx)
QueryParser.identifier()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitIdentifier
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitObjects(QueryParser.ObjectsContext ctx)
Objects
labeled alternative in QueryParser.value()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitObjects
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitArrays(QueryParser.ArraysContext ctx)
Arrays
labeled alternative in QueryParser.value()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitArrays
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitStrings(QueryParser.StringsContext ctx)
Strings
labeled alternative in QueryParser.value()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitStrings
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitNumbers(QueryParser.NumbersContext ctx)
Numbers
labeled alternative in QueryParser.value()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNumbers
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitBooleans(QueryParser.BooleansContext ctx)
Booleans
labeled alternative in QueryParser.value()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBooleans
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitNulls(QueryParser.NullsContext ctx)
Nulls
labeled alternative in QueryParser.value()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNulls
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitObjectAssigns(QueryParser.ObjectAssignsContext ctx)
ObjectAssigns
labeled alternative in QueryParser.object()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitObjectAssigns
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitObjectEmpty(QueryParser.ObjectEmptyContext ctx)
ObjectEmpty
labeled alternative in QueryParser.object()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitObjectEmpty
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitArrayValue(QueryParser.ArrayValueContext ctx)
ArrayValue
labeled alternative in QueryParser.array()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitArrayValue
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitArrayEmpty(QueryParser.ArrayEmptyContext ctx)
ArrayEmpty
labeled alternative in QueryParser.array()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitArrayEmpty
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitBinaryOperator(QueryParser.BinaryOperatorContext ctx)
QueryParser.binaryOperator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBinaryOperator
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitUnaryOperator(QueryParser.UnaryOperatorContext ctx)
QueryParser.unaryOperator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitUnaryOperator
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitComparisonOperator(QueryParser.ComparisonOperatorContext ctx)
QueryParser.comparisonOperator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitComparisonOperator
in interface QueryVisitor<T>
ctx
- the parse treepublic T visitLogicalOperator(QueryParser.LogicalOperatorContext ctx)
QueryParser.logicalOperator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLogicalOperator
in interface QueryVisitor<T>
ctx
- the parse treeCopyright © 2016. All rights reserved.