T
- The return type of the visit operation. Use Void
for
operations with no return type.public class SearchCriteriaBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements SearchCriteriaVisitor<T>
SearchCriteriaVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Constructor and Description |
---|
SearchCriteriaBaseVisitor() |
Modifier and Type | Method and Description |
---|---|
T |
visitComparator(SearchCriteriaParser.ComparatorContext ctx)
Visit a parse tree produced by
SearchCriteriaParser.comparator() . |
T |
visitExpression(SearchCriteriaParser.ExpressionContext ctx)
Visit a parse tree produced by
SearchCriteriaParser.expression() . |
T |
visitOperator(SearchCriteriaParser.OperatorContext ctx)
Visit a parse tree produced by
SearchCriteriaParser.operator() . |
T |
visitSearchCriteria(SearchCriteriaParser.SearchCriteriaContext ctx)
Visit a parse tree produced by
SearchCriteriaParser.searchCriteria() . |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public T visitSearchCriteria(SearchCriteriaParser.SearchCriteriaContext ctx)
SearchCriteriaParser.searchCriteria()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSearchCriteria
in interface SearchCriteriaVisitor<T>
ctx
- the parse treepublic T visitExpression(SearchCriteriaParser.ExpressionContext ctx)
SearchCriteriaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExpression
in interface SearchCriteriaVisitor<T>
ctx
- the parse treepublic T visitComparator(SearchCriteriaParser.ComparatorContext ctx)
SearchCriteriaParser.comparator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitComparator
in interface SearchCriteriaVisitor<T>
ctx
- the parse treepublic T visitOperator(SearchCriteriaParser.OperatorContext ctx)
SearchCriteriaParser.operator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitOperator
in interface SearchCriteriaVisitor<T>
ctx
- the parse treeCopyright © 2020 Caplin Systems.