Class PolyglotBaseListener
- All Implemented Interfaces:
PolyglotListener,org.antlr.v4.runtime.tree.ParseTreeListener
- Direct Known Subclasses:
CriteriaExtractor
PolyglotListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced byPolyglotParser.attribute_key().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidEnter a parse tree produced byPolyglotParser.expr_and().voidEnter a parse tree produced byPolyglotParser.expr_atom().voidEnter a parse tree produced byPolyglotParser.expr_or().voidEnter a parse tree produced byPolyglotParser.order_by().voidEnter a parse tree produced byPolyglotParser.order_key().voidEnter a parse tree produced byPolyglotParser.query().voidEnter a parse tree produced byPolyglotParser.type_key().voidEnter a parse tree produced byPolyglotParser.where_clause().voidExit a parse tree produced byPolyglotParser.attribute_key().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidExit a parse tree produced byPolyglotParser.expr_and().voidExit a parse tree produced byPolyglotParser.expr_atom().voidExit a parse tree produced byPolyglotParser.expr_or().voidExit a parse tree produced byPolyglotParser.order_by().voidExit a parse tree produced byPolyglotParser.order_key().voidExit a parse tree produced byPolyglotParser.query().voidExit a parse tree produced byPolyglotParser.type_key().voidExit a parse tree produced byPolyglotParser.where_clause().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
PolyglotBaseListener
public PolyglotBaseListener()
-
-
Method Details
-
enterQuery
Enter a parse tree produced byPolyglotParser.query().The default implementation does nothing.
- Specified by:
enterQueryin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
exitQuery
Exit a parse tree produced byPolyglotParser.query().The default implementation does nothing.
- Specified by:
exitQueryin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
enterWhere_clause
Enter a parse tree produced byPolyglotParser.where_clause().The default implementation does nothing.
- Specified by:
enterWhere_clausein interfacePolyglotListener- Parameters:
ctx- the parse tree
-
exitWhere_clause
Exit a parse tree produced byPolyglotParser.where_clause().The default implementation does nothing.
- Specified by:
exitWhere_clausein interfacePolyglotListener- Parameters:
ctx- the parse tree
-
enterType_key
Enter a parse tree produced byPolyglotParser.type_key().The default implementation does nothing.
- Specified by:
enterType_keyin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
exitType_key
Exit a parse tree produced byPolyglotParser.type_key().The default implementation does nothing.
- Specified by:
exitType_keyin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
enterExpr_or
Enter a parse tree produced byPolyglotParser.expr_or().The default implementation does nothing.
- Specified by:
enterExpr_orin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
exitExpr_or
Exit a parse tree produced byPolyglotParser.expr_or().The default implementation does nothing.
- Specified by:
exitExpr_orin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
enterExpr_and
Enter a parse tree produced byPolyglotParser.expr_and().The default implementation does nothing.
- Specified by:
enterExpr_andin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
exitExpr_and
Exit a parse tree produced byPolyglotParser.expr_and().The default implementation does nothing.
- Specified by:
exitExpr_andin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
enterExpr_atom
Enter a parse tree produced byPolyglotParser.expr_atom().The default implementation does nothing.
- Specified by:
enterExpr_atomin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
exitExpr_atom
Exit a parse tree produced byPolyglotParser.expr_atom().The default implementation does nothing.
- Specified by:
exitExpr_atomin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
enterAttribute_key
Enter a parse tree produced byPolyglotParser.attribute_key().The default implementation does nothing.
- Specified by:
enterAttribute_keyin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
exitAttribute_key
Exit a parse tree produced byPolyglotParser.attribute_key().The default implementation does nothing.
- Specified by:
exitAttribute_keyin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
enterOrder_key
Enter a parse tree produced byPolyglotParser.order_key().The default implementation does nothing.
- Specified by:
enterOrder_keyin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
exitOrder_key
Exit a parse tree produced byPolyglotParser.order_key().The default implementation does nothing.
- Specified by:
exitOrder_keyin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
enterOrder_by
Enter a parse tree produced byPolyglotParser.order_by().The default implementation does nothing.
- Specified by:
enterOrder_byin interfacePolyglotListener- Parameters:
ctx- the parse tree
-
exitOrder_by
Exit a parse tree produced byPolyglotParser.order_by().The default implementation does nothing.
- Specified by:
exitOrder_byin interfacePolyglotListener- 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
-