Class SearchBaseListener
- java.lang.Object
-
- app.commerceio.spring.data.search.SearchBaseListener
-
- All Implemented Interfaces:
SearchListener,org.antlr.v4.runtime.tree.ParseTreeListener
public class SearchBaseListener extends Object implements SearchListener
This class provides an empty implementation ofSearchListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description SearchBaseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenterAtomSearch(SearchParser.AtomSearchContext ctx)Enter a parse tree produced by theatomSearchlabeled alternative inSearchParser.search().voidenterCriteria(SearchParser.CriteriaContext ctx)Enter a parse tree produced bySearchParser.criteria().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidenterInput(SearchParser.InputContext ctx)Enter a parse tree produced bySearchParser.input().voidenterKey(SearchParser.KeyContext ctx)Enter a parse tree produced bySearchParser.key().voidenterOp(SearchParser.OpContext ctx)Enter a parse tree produced bySearchParser.op().voidenterOpSearch(SearchParser.OpSearchContext ctx)Enter a parse tree produced by theopSearchlabeled alternative inSearchParser.search().voidenterPrioritySearch(SearchParser.PrioritySearchContext ctx)Enter a parse tree produced by theprioritySearchlabeled alternative inSearchParser.search().voidenterValue(SearchParser.ValueContext ctx)Enter a parse tree produced bySearchParser.value().voidexitAtomSearch(SearchParser.AtomSearchContext ctx)Exit a parse tree produced by theatomSearchlabeled alternative inSearchParser.search().voidexitCriteria(SearchParser.CriteriaContext ctx)Exit a parse tree produced bySearchParser.criteria().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidexitInput(SearchParser.InputContext ctx)Exit a parse tree produced bySearchParser.input().voidexitKey(SearchParser.KeyContext ctx)Exit a parse tree produced bySearchParser.key().voidexitOp(SearchParser.OpContext ctx)Exit a parse tree produced bySearchParser.op().voidexitOpSearch(SearchParser.OpSearchContext ctx)Exit a parse tree produced by theopSearchlabeled alternative inSearchParser.search().voidexitPrioritySearch(SearchParser.PrioritySearchContext ctx)Exit a parse tree produced by theprioritySearchlabeled alternative inSearchParser.search().voidexitValue(SearchParser.ValueContext ctx)Exit a parse tree produced bySearchParser.value().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
-
-
Method Detail
-
enterInput
public void enterInput(SearchParser.InputContext ctx)
Enter a parse tree produced bySearchParser.input().The default implementation does nothing.
- Specified by:
enterInputin interfaceSearchListener- Parameters:
ctx- the parse tree
-
exitInput
public void exitInput(SearchParser.InputContext ctx)
Exit a parse tree produced bySearchParser.input().The default implementation does nothing.
- Specified by:
exitInputin interfaceSearchListener- Parameters:
ctx- the parse tree
-
enterOpSearch
public void enterOpSearch(SearchParser.OpSearchContext ctx)
Enter a parse tree produced by theopSearchlabeled alternative inSearchParser.search().The default implementation does nothing.
- Specified by:
enterOpSearchin interfaceSearchListener- Parameters:
ctx- the parse tree
-
exitOpSearch
public void exitOpSearch(SearchParser.OpSearchContext ctx)
Exit a parse tree produced by theopSearchlabeled alternative inSearchParser.search().The default implementation does nothing.
- Specified by:
exitOpSearchin interfaceSearchListener- Parameters:
ctx- the parse tree
-
enterAtomSearch
public void enterAtomSearch(SearchParser.AtomSearchContext ctx)
Enter a parse tree produced by theatomSearchlabeled alternative inSearchParser.search().The default implementation does nothing.
- Specified by:
enterAtomSearchin interfaceSearchListener- Parameters:
ctx- the parse tree
-
exitAtomSearch
public void exitAtomSearch(SearchParser.AtomSearchContext ctx)
Exit a parse tree produced by theatomSearchlabeled alternative inSearchParser.search().The default implementation does nothing.
- Specified by:
exitAtomSearchin interfaceSearchListener- Parameters:
ctx- the parse tree
-
enterPrioritySearch
public void enterPrioritySearch(SearchParser.PrioritySearchContext ctx)
Enter a parse tree produced by theprioritySearchlabeled alternative inSearchParser.search().The default implementation does nothing.
- Specified by:
enterPrioritySearchin interfaceSearchListener- Parameters:
ctx- the parse tree
-
exitPrioritySearch
public void exitPrioritySearch(SearchParser.PrioritySearchContext ctx)
Exit a parse tree produced by theprioritySearchlabeled alternative inSearchParser.search().The default implementation does nothing.
- Specified by:
exitPrioritySearchin interfaceSearchListener- Parameters:
ctx- the parse tree
-
enterCriteria
public void enterCriteria(SearchParser.CriteriaContext ctx)
Enter a parse tree produced bySearchParser.criteria().The default implementation does nothing.
- Specified by:
enterCriteriain interfaceSearchListener- Parameters:
ctx- the parse tree
-
exitCriteria
public void exitCriteria(SearchParser.CriteriaContext ctx)
Exit a parse tree produced bySearchParser.criteria().The default implementation does nothing.
- Specified by:
exitCriteriain interfaceSearchListener- Parameters:
ctx- the parse tree
-
enterKey
public void enterKey(SearchParser.KeyContext ctx)
Enter a parse tree produced bySearchParser.key().The default implementation does nothing.
- Specified by:
enterKeyin interfaceSearchListener- Parameters:
ctx- the parse tree
-
exitKey
public void exitKey(SearchParser.KeyContext ctx)
Exit a parse tree produced bySearchParser.key().The default implementation does nothing.
- Specified by:
exitKeyin interfaceSearchListener- Parameters:
ctx- the parse tree
-
enterValue
public void enterValue(SearchParser.ValueContext ctx)
Enter a parse tree produced bySearchParser.value().The default implementation does nothing.
- Specified by:
enterValuein interfaceSearchListener- Parameters:
ctx- the parse tree
-
exitValue
public void exitValue(SearchParser.ValueContext ctx)
Exit a parse tree produced bySearchParser.value().The default implementation does nothing.
- Specified by:
exitValuein interfaceSearchListener- Parameters:
ctx- the parse tree
-
enterOp
public void enterOp(SearchParser.OpContext ctx)
Enter a parse tree produced bySearchParser.op().The default implementation does nothing.
- Specified by:
enterOpin interfaceSearchListener- Parameters:
ctx- the parse tree
-
exitOp
public void exitOp(SearchParser.OpContext ctx)
Exit a parse tree produced bySearchParser.op().The default implementation does nothing.
- Specified by:
exitOpin interfaceSearchListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-