Package com.walkfares.odsl.searchgrammar
Interface SearchVisitor<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:
SearchBaseVisitor
public interface SearchVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
SearchParser.-
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().
-
Method Details
-
visitStart
Visit a parse tree produced bySearchParser.start().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTerm
Visit a parse tree produced bySearchParser.term().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGroup
Visit a parse tree produced bySearchParser.group().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOr
Visit a parse tree produced bySearchParser.or().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNot
Visit a parse tree produced bySearchParser.not().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTag
Visit a parse tree produced bySearchParser.tag().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNamed
Visit a parse tree produced bySearchParser.named().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField
Visit a parse tree produced bySearchParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWord
Visit a parse tree produced bySearchParser.word().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWords
Visit a parse tree produced bySearchParser.words().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-