Class SearchBaseListener
- All Implemented Interfaces:
SearchListener
,org.antlr.v4.runtime.tree.ParseTreeListener
public class SearchBaseListener extends Object implements SearchListener
SearchListener
,
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
Modifier and Type Method Description void
enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
void
enterField(SearchParser.FieldContext ctx)
Enter a parse tree produced bySearchParser.field()
.void
enterGroup(SearchParser.GroupContext ctx)
Enter a parse tree produced bySearchParser.group()
.void
enterNamed(SearchParser.NamedContext ctx)
Enter a parse tree produced bySearchParser.named()
.void
enterNot(SearchParser.NotContext ctx)
Enter a parse tree produced bySearchParser.not()
.void
enterOr(SearchParser.OrContext ctx)
Enter a parse tree produced bySearchParser.or()
.void
enterStart(SearchParser.StartContext ctx)
Enter a parse tree produced bySearchParser.start()
.void
enterTag(SearchParser.TagContext ctx)
Enter a parse tree produced bySearchParser.tag()
.void
enterTerm(SearchParser.TermContext ctx)
Enter a parse tree produced bySearchParser.term()
.void
enterWord(SearchParser.WordContext ctx)
Enter a parse tree produced bySearchParser.word()
.void
enterWords(SearchParser.WordsContext ctx)
Enter a parse tree produced bySearchParser.words()
.void
exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
void
exitField(SearchParser.FieldContext ctx)
Exit a parse tree produced bySearchParser.field()
.void
exitGroup(SearchParser.GroupContext ctx)
Exit a parse tree produced bySearchParser.group()
.void
exitNamed(SearchParser.NamedContext ctx)
Exit a parse tree produced bySearchParser.named()
.void
exitNot(SearchParser.NotContext ctx)
Exit a parse tree produced bySearchParser.not()
.void
exitOr(SearchParser.OrContext ctx)
Exit a parse tree produced bySearchParser.or()
.void
exitStart(SearchParser.StartContext ctx)
Exit a parse tree produced bySearchParser.start()
.void
exitTag(SearchParser.TagContext ctx)
Exit a parse tree produced bySearchParser.tag()
.void
exitTerm(SearchParser.TermContext ctx)
Exit a parse tree produced bySearchParser.term()
.void
exitWord(SearchParser.WordContext ctx)
Exit a parse tree produced bySearchParser.word()
.void
exitWords(SearchParser.WordsContext ctx)
Exit a parse tree produced bySearchParser.words()
.void
visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
void
visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
SearchBaseListener
public SearchBaseListener()
-
-
Method Details
-
enterStart
Enter a parse tree produced bySearchParser.start()
.The default implementation does nothing.
- Specified by:
enterStart
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitStart
Exit a parse tree produced bySearchParser.start()
.The default implementation does nothing.
- Specified by:
exitStart
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterTerm
Enter a parse tree produced bySearchParser.term()
.The default implementation does nothing.
- Specified by:
enterTerm
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitTerm
Exit a parse tree produced bySearchParser.term()
.The default implementation does nothing.
- Specified by:
exitTerm
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterGroup
Enter a parse tree produced bySearchParser.group()
.The default implementation does nothing.
- Specified by:
enterGroup
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitGroup
Exit a parse tree produced bySearchParser.group()
.The default implementation does nothing.
- Specified by:
exitGroup
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterOr
Enter a parse tree produced bySearchParser.or()
.The default implementation does nothing.
- Specified by:
enterOr
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitOr
Exit a parse tree produced bySearchParser.or()
.The default implementation does nothing.
- Specified by:
exitOr
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterNot
Enter a parse tree produced bySearchParser.not()
.The default implementation does nothing.
- Specified by:
enterNot
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitNot
Exit a parse tree produced bySearchParser.not()
.The default implementation does nothing.
- Specified by:
exitNot
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterTag
Enter a parse tree produced bySearchParser.tag()
.The default implementation does nothing.
- Specified by:
enterTag
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitTag
Exit a parse tree produced bySearchParser.tag()
.The default implementation does nothing.
- Specified by:
exitTag
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterNamed
Enter a parse tree produced bySearchParser.named()
.The default implementation does nothing.
- Specified by:
enterNamed
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitNamed
Exit a parse tree produced bySearchParser.named()
.The default implementation does nothing.
- Specified by:
exitNamed
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterField
Enter a parse tree produced bySearchParser.field()
.The default implementation does nothing.
- Specified by:
enterField
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitField
Exit a parse tree produced bySearchParser.field()
.The default implementation does nothing.
- Specified by:
exitField
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterWord
Enter a parse tree produced bySearchParser.word()
.The default implementation does nothing.
- Specified by:
enterWord
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitWord
Exit a parse tree produced bySearchParser.word()
.The default implementation does nothing.
- Specified by:
exitWord
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterWords
Enter a parse tree produced bySearchParser.words()
.The default implementation does nothing.
- Specified by:
enterWords
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitWords
Exit a parse tree produced bySearchParser.words()
.The default implementation does nothing.
- Specified by:
exitWords
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)The default implementation does nothing.
- Specified by:
enterEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)The default implementation does nothing.
- Specified by:
exitEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)The default implementation does nothing.
- Specified by:
visitTerminal
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-