Class SearchBaseListener
- java.lang.Object
-
- gov.nasa.pds.api.engineering.lexer.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
-
-
-
Method Detail
-
enterQuery
public void enterQuery(SearchParser.QueryContext ctx)
Enter a parse tree produced bySearchParser.query()
.The default implementation does nothing.
- Specified by:
enterQuery
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitQuery
public void exitQuery(SearchParser.QueryContext ctx)
Exit a parse tree produced bySearchParser.query()
.The default implementation does nothing.
- Specified by:
exitQuery
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterQueryTerm
public void enterQueryTerm(SearchParser.QueryTermContext ctx)
Enter a parse tree produced bySearchParser.queryTerm()
.The default implementation does nothing.
- Specified by:
enterQueryTerm
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitQueryTerm
public void exitQueryTerm(SearchParser.QueryTermContext ctx)
Exit a parse tree produced bySearchParser.queryTerm()
.The default implementation does nothing.
- Specified by:
exitQueryTerm
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterGroup
public void enterGroup(SearchParser.GroupContext ctx)
Enter a parse tree produced bySearchParser.group()
.The default implementation does nothing.
- Specified by:
enterGroup
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitGroup
public void exitGroup(SearchParser.GroupContext ctx)
Exit a parse tree produced bySearchParser.group()
.The default implementation does nothing.
- Specified by:
exitGroup
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterExpression
public void enterExpression(SearchParser.ExpressionContext ctx)
Enter a parse tree produced bySearchParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpression
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitExpression
public void exitExpression(SearchParser.ExpressionContext ctx)
Exit a parse tree produced bySearchParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpression
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterAndStatement
public void enterAndStatement(SearchParser.AndStatementContext ctx)
Enter a parse tree produced bySearchParser.andStatement()
.The default implementation does nothing.
- Specified by:
enterAndStatement
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitAndStatement
public void exitAndStatement(SearchParser.AndStatementContext ctx)
Exit a parse tree produced bySearchParser.andStatement()
.The default implementation does nothing.
- Specified by:
exitAndStatement
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterOrStatement
public void enterOrStatement(SearchParser.OrStatementContext ctx)
Enter a parse tree produced bySearchParser.orStatement()
.The default implementation does nothing.
- Specified by:
enterOrStatement
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitOrStatement
public void exitOrStatement(SearchParser.OrStatementContext ctx)
Exit a parse tree produced bySearchParser.orStatement()
.The default implementation does nothing.
- Specified by:
exitOrStatement
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterComparison
public void enterComparison(SearchParser.ComparisonContext ctx)
Enter a parse tree produced bySearchParser.comparison()
.The default implementation does nothing.
- Specified by:
enterComparison
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitComparison
public void exitComparison(SearchParser.ComparisonContext ctx)
Exit a parse tree produced bySearchParser.comparison()
.The default implementation does nothing.
- Specified by:
exitComparison
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterLikeComparison
public void enterLikeComparison(SearchParser.LikeComparisonContext ctx)
Enter a parse tree produced bySearchParser.likeComparison()
.The default implementation does nothing.
- Specified by:
enterLikeComparison
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitLikeComparison
public void exitLikeComparison(SearchParser.LikeComparisonContext ctx)
Exit a parse tree produced bySearchParser.likeComparison()
.The default implementation does nothing.
- Specified by:
exitLikeComparison
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
enterOperator
public void enterOperator(SearchParser.OperatorContext ctx)
Enter a parse tree produced bySearchParser.operator()
.The default implementation does nothing.
- Specified by:
enterOperator
in interfaceSearchListener
- Parameters:
ctx
- the parse tree
-
exitOperator
public void exitOperator(SearchParser.OperatorContext ctx)
Exit a parse tree produced bySearchParser.operator()
.The default implementation does nothing.
- Specified by:
exitOperator
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
-
-