Class SearchBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
SearchVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
public class SearchBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements SearchVisitor<T>
SearchVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors Constructor Description SearchBaseVisitor() -
Method Summary
Modifier and Type Method Description TvisitField(SearchParser.FieldContext ctx)Visit a parse tree produced bySearchParser.field().TvisitGroup(SearchParser.GroupContext ctx)Visit a parse tree produced bySearchParser.group().TvisitNamed(SearchParser.NamedContext ctx)Visit a parse tree produced bySearchParser.named().TvisitNot(SearchParser.NotContext ctx)Visit a parse tree produced bySearchParser.not().TvisitOr(SearchParser.OrContext ctx)Visit a parse tree produced bySearchParser.or().TvisitStart(SearchParser.StartContext ctx)Visit a parse tree produced bySearchParser.start().TvisitTag(SearchParser.TagContext ctx)Visit a parse tree produced bySearchParser.tag().TvisitTerm(SearchParser.TermContext ctx)Visit a parse tree produced bySearchParser.term().TvisitWord(SearchParser.WordContext ctx)Visit a parse tree produced bySearchParser.word().TvisitWords(SearchParser.WordsContext ctx)Visit a parse tree produced bySearchParser.words().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
SearchBaseVisitor
public SearchBaseVisitor()
-
-
Method Details
-
visitStart
Visit a parse tree produced bySearchParser.start().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStartin interfaceSearchVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTerm
Visit a parse tree produced bySearchParser.term().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTermin interfaceSearchVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGroup
Visit a parse tree produced bySearchParser.group().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGroupin interfaceSearchVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOr
Visit a parse tree produced bySearchParser.or().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOrin interfaceSearchVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNot
Visit a parse tree produced bySearchParser.not().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNotin interfaceSearchVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTag
Visit a parse tree produced bySearchParser.tag().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTagin interfaceSearchVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNamed
Visit a parse tree produced bySearchParser.named().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNamedin interfaceSearchVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField
Visit a parse tree produced bySearchParser.field().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFieldin interfaceSearchVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWord
Visit a parse tree produced bySearchParser.word().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWordin interfaceSearchVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWords
Visit a parse tree produced bySearchParser.words().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWordsin interfaceSearchVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-