T
- The return type of the visit operation. Use Void
for
operations with no return type.public class PredicateBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements PredicateVisitor<T>
PredicateVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Constructor and Description |
---|
PredicateBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public T visitScript(PredicateParser.ScriptContext ctx)
PredicateParser.script()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitScript
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitNotPredicate(PredicateParser.NotPredicateContext ctx)
NotPredicate
labeled alternative in PredicateParser.predicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNotPredicate
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitNormal(PredicateParser.NormalContext ctx)
Normal
labeled alternative in PredicateParser.predicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNormal
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitFunctionPredicate(PredicateParser.FunctionPredicateContext ctx)
FunctionPredicate
labeled alternative in PredicateParser.predicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitFunctionPredicate
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitParenPredicate(PredicateParser.ParenPredicateContext ctx)
ParenPredicate
labeled alternative in PredicateParser.predicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitParenPredicate
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitObjPredicate(PredicateParser.ObjPredicateContext ctx)
ObjPredicate
labeled alternative in PredicateParser.predicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitObjPredicate
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitComparison(PredicateParser.ComparisonContext ctx)
Comparison
labeled alternative in PredicateParser.objectPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitComparison
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitCheckNull(PredicateParser.CheckNullContext ctx)
CheckNull
labeled alternative in PredicateParser.objectPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCheckNull
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitInComp(PredicateParser.InCompContext ctx)
InComp
labeled alternative in PredicateParser.objectPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitInComp
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitCountExpr(PredicateParser.CountExprContext ctx)
CountExpr
labeled alternative in PredicateParser.functionalPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCountExpr
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitExistExpr(PredicateParser.ExistExprContext ctx)
ExistExpr
labeled alternative in PredicateParser.functionalPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExistExpr
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitLowerExpr(PredicateParser.LowerExprContext ctx)
LowerExpr
labeled alternative in PredicateParser.functionalPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLowerExpr
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitUpperExpr(PredicateParser.UpperExprContext ctx)
UpperExpr
labeled alternative in PredicateParser.functionalPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitUpperExpr
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitSubstrExpr(PredicateParser.SubstrExprContext ctx)
SubstrExpr
labeled alternative in PredicateParser.functionalPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSubstrExpr
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitExistListOr(PredicateParser.ExistListOrContext ctx)
ExistListOr
labeled alternative in PredicateParser.functionalPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExistListOr
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitExistListAnd(PredicateParser.ExistListAndContext ctx)
ExistListAnd
labeled alternative in PredicateParser.functionalPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExistListAnd
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitBitsOr(PredicateParser.BitsOrContext ctx)
BitsOr
labeled alternative in PredicateParser.functionalPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBitsOr
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitBitsAnd(PredicateParser.BitsAndContext ctx)
BitsAnd
labeled alternative in PredicateParser.functionalPredicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBitsAnd
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitExpValue(PredicateParser.ExpValueContext ctx)
ExpValue
labeled alternative in PredicateParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExpValue
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitExpParen(PredicateParser.ExpParenContext ctx)
ExpParen
labeled alternative in PredicateParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExpParen
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitExpr(PredicateParser.ExprContext ctx)
Expr
labeled alternative in PredicateParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExpr
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitStrings(PredicateParser.StringsContext ctx)
Strings
labeled alternative in PredicateParser.value()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitStrings
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitNumbers(PredicateParser.NumbersContext ctx)
Numbers
labeled alternative in PredicateParser.value()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNumbers
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitBooleans(PredicateParser.BooleansContext ctx)
Booleans
labeled alternative in PredicateParser.value()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBooleans
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitNulls(PredicateParser.NullsContext ctx)
Nulls
labeled alternative in PredicateParser.value()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNulls
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitObjectField(PredicateParser.ObjectFieldContext ctx)
PredicateParser.objectField()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitObjectField
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitBinaryOperator(PredicateParser.BinaryOperatorContext ctx)
PredicateParser.binaryOperator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBinaryOperator
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitUnaryOperator(PredicateParser.UnaryOperatorContext ctx)
PredicateParser.unaryOperator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitUnaryOperator
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitComparisonOperator(PredicateParser.ComparisonOperatorContext ctx)
PredicateParser.comparisonOperator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitComparisonOperator
in interface PredicateVisitor<T>
ctx
- the parse treepublic T visitLogicalOperator(PredicateParser.LogicalOperatorContext ctx)
PredicateParser.logicalOperator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLogicalOperator
in interface PredicateVisitor<T>
ctx
- the parse treeCopyright © 2016. All rights reserved.