Class OrderingParserBaseListener
- java.lang.Object
-
- org.hibernate.grammars.ordering.OrderingParserBaseListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
,OrderingParserListener
public class OrderingParserBaseListener extends Object implements OrderingParserListener
This class provides an empty implementation ofOrderingParserListener
, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description OrderingParserBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterOrderByFragment
public void enterOrderByFragment(OrderingParser.OrderByFragmentContext ctx)
Enter a parse tree produced byOrderingParser.orderByFragment()
.The default implementation does nothing.
- Specified by:
enterOrderByFragment
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitOrderByFragment
public void exitOrderByFragment(OrderingParser.OrderByFragmentContext ctx)
Exit a parse tree produced byOrderingParser.orderByFragment()
.The default implementation does nothing.
- Specified by:
exitOrderByFragment
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterSortSpecification
public void enterSortSpecification(OrderingParser.SortSpecificationContext ctx)
Enter a parse tree produced byOrderingParser.sortSpecification()
.The default implementation does nothing.
- Specified by:
enterSortSpecification
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitSortSpecification
public void exitSortSpecification(OrderingParser.SortSpecificationContext ctx)
Exit a parse tree produced byOrderingParser.sortSpecification()
.The default implementation does nothing.
- Specified by:
exitSortSpecification
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterFunctionExpression
public void enterFunctionExpression(OrderingParser.FunctionExpressionContext ctx)
Enter a parse tree produced by theFunctionExpression
labeled alternative inOrderingParser.expression()
.The default implementation does nothing.
- Specified by:
enterFunctionExpression
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitFunctionExpression
public void exitFunctionExpression(OrderingParser.FunctionExpressionContext ctx)
Exit a parse tree produced by theFunctionExpression
labeled alternative inOrderingParser.expression()
.The default implementation does nothing.
- Specified by:
exitFunctionExpression
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterIdentifierExpression
public void enterIdentifierExpression(OrderingParser.IdentifierExpressionContext ctx)
Enter a parse tree produced by theIdentifierExpression
labeled alternative inOrderingParser.expression()
.The default implementation does nothing.
- Specified by:
enterIdentifierExpression
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitIdentifierExpression
public void exitIdentifierExpression(OrderingParser.IdentifierExpressionContext ctx)
Exit a parse tree produced by theIdentifierExpression
labeled alternative inOrderingParser.expression()
.The default implementation does nothing.
- Specified by:
exitIdentifierExpression
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterDotIdentifierExpression
public void enterDotIdentifierExpression(OrderingParser.DotIdentifierExpressionContext ctx)
Enter a parse tree produced by theDotIdentifierExpression
labeled alternative inOrderingParser.expression()
.The default implementation does nothing.
- Specified by:
enterDotIdentifierExpression
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitDotIdentifierExpression
public void exitDotIdentifierExpression(OrderingParser.DotIdentifierExpressionContext ctx)
Exit a parse tree produced by theDotIdentifierExpression
labeled alternative inOrderingParser.expression()
.The default implementation does nothing.
- Specified by:
exitDotIdentifierExpression
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterFunction
public void enterFunction(OrderingParser.FunctionContext ctx)
Enter a parse tree produced byOrderingParser.function()
.The default implementation does nothing.
- Specified by:
enterFunction
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitFunction
public void exitFunction(OrderingParser.FunctionContext ctx)
Exit a parse tree produced byOrderingParser.function()
.The default implementation does nothing.
- Specified by:
exitFunction
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterSimpleFunction
public void enterSimpleFunction(OrderingParser.SimpleFunctionContext ctx)
Enter a parse tree produced byOrderingParser.simpleFunction()
.The default implementation does nothing.
- Specified by:
enterSimpleFunction
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitSimpleFunction
public void exitSimpleFunction(OrderingParser.SimpleFunctionContext ctx)
Exit a parse tree produced byOrderingParser.simpleFunction()
.The default implementation does nothing.
- Specified by:
exitSimpleFunction
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterPackagedFunction
public void enterPackagedFunction(OrderingParser.PackagedFunctionContext ctx)
Enter a parse tree produced byOrderingParser.packagedFunction()
.The default implementation does nothing.
- Specified by:
enterPackagedFunction
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitPackagedFunction
public void exitPackagedFunction(OrderingParser.PackagedFunctionContext ctx)
Exit a parse tree produced byOrderingParser.packagedFunction()
.The default implementation does nothing.
- Specified by:
exitPackagedFunction
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterFunctionArguments
public void enterFunctionArguments(OrderingParser.FunctionArgumentsContext ctx)
Enter a parse tree produced byOrderingParser.functionArguments()
.The default implementation does nothing.
- Specified by:
enterFunctionArguments
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitFunctionArguments
public void exitFunctionArguments(OrderingParser.FunctionArgumentsContext ctx)
Exit a parse tree produced byOrderingParser.functionArguments()
.The default implementation does nothing.
- Specified by:
exitFunctionArguments
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterFunctionArgument
public void enterFunctionArgument(OrderingParser.FunctionArgumentContext ctx)
Enter a parse tree produced byOrderingParser.functionArgument()
.The default implementation does nothing.
- Specified by:
enterFunctionArgument
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitFunctionArgument
public void exitFunctionArgument(OrderingParser.FunctionArgumentContext ctx)
Exit a parse tree produced byOrderingParser.functionArgument()
.The default implementation does nothing.
- Specified by:
exitFunctionArgument
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterLiteral
public void enterLiteral(OrderingParser.LiteralContext ctx)
Enter a parse tree produced byOrderingParser.literal()
.The default implementation does nothing.
- Specified by:
enterLiteral
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitLiteral
public void exitLiteral(OrderingParser.LiteralContext ctx)
Exit a parse tree produced byOrderingParser.literal()
.The default implementation does nothing.
- Specified by:
exitLiteral
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterCollationSpecification
public void enterCollationSpecification(OrderingParser.CollationSpecificationContext ctx)
Enter a parse tree produced byOrderingParser.collationSpecification()
.The default implementation does nothing.
- Specified by:
enterCollationSpecification
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitCollationSpecification
public void exitCollationSpecification(OrderingParser.CollationSpecificationContext ctx)
Exit a parse tree produced byOrderingParser.collationSpecification()
.The default implementation does nothing.
- Specified by:
exitCollationSpecification
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterDirection
public void enterDirection(OrderingParser.DirectionContext ctx)
Enter a parse tree produced byOrderingParser.direction()
.The default implementation does nothing.
- Specified by:
enterDirection
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitDirection
public void exitDirection(OrderingParser.DirectionContext ctx)
Exit a parse tree produced byOrderingParser.direction()
.The default implementation does nothing.
- Specified by:
exitDirection
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterNullsPrecedence
public void enterNullsPrecedence(OrderingParser.NullsPrecedenceContext ctx)
Enter a parse tree produced byOrderingParser.nullsPrecedence()
.The default implementation does nothing.
- Specified by:
enterNullsPrecedence
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitNullsPrecedence
public void exitNullsPrecedence(OrderingParser.NullsPrecedenceContext ctx)
Exit a parse tree produced byOrderingParser.nullsPrecedence()
.The default implementation does nothing.
- Specified by:
exitNullsPrecedence
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterIdentifier
public void enterIdentifier(OrderingParser.IdentifierContext ctx)
Enter a parse tree produced byOrderingParser.identifier()
.The default implementation does nothing.
- Specified by:
enterIdentifier
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitIdentifier
public void exitIdentifier(OrderingParser.IdentifierContext ctx)
Exit a parse tree produced byOrderingParser.identifier()
.The default implementation does nothing.
- Specified by:
exitIdentifier
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
enterDotIdentifier
public void enterDotIdentifier(OrderingParser.DotIdentifierContext ctx)
Enter a parse tree produced byOrderingParser.dotIdentifier()
.The default implementation does nothing.
- Specified by:
enterDotIdentifier
in interfaceOrderingParserListener
- Parameters:
ctx
- the parse tree
-
exitDotIdentifier
public void exitDotIdentifier(OrderingParser.DotIdentifierContext ctx)
Exit a parse tree produced byOrderingParser.dotIdentifier()
.The default implementation does nothing.
- Specified by:
exitDotIdentifier
in interfaceOrderingParserListener
- 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
-
-