Package com.walkfares.odsl.searchgrammar
Interface SearchVisitor<T>
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for 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 T
visitField(SearchParser.FieldContext ctx)
Visit a parse tree produced bySearchParser.field()
.T
visitGroup(SearchParser.GroupContext ctx)
Visit a parse tree produced bySearchParser.group()
.T
visitNamed(SearchParser.NamedContext ctx)
Visit a parse tree produced bySearchParser.named()
.T
visitNot(SearchParser.NotContext ctx)
Visit a parse tree produced bySearchParser.not()
.T
visitOr(SearchParser.OrContext ctx)
Visit a parse tree produced bySearchParser.or()
.T
visitStart(SearchParser.StartContext ctx)
Visit a parse tree produced bySearchParser.start()
.T
visitTag(SearchParser.TagContext ctx)
Visit a parse tree produced bySearchParser.tag()
.T
visitTerm(SearchParser.TermContext ctx)
Visit a parse tree produced bySearchParser.term()
.T
visitWord(SearchParser.WordContext ctx)
Visit a parse tree produced bySearchParser.word()
.T
visitWords(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
-