Class ParseTreeVisitor
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<Object>,OrderingParserVisitor<Object>
-
Constructor Summary
ConstructorsConstructorDescriptionParseTreeVisitor(PluralAttributeMapping pluralAttributeMapping, TranslationContext translationContext) -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byOrderingParser.collationSpecification().Visit a parse tree produced byOrderingParser.dotIdentifier().Visit a parse tree produced by theDotIdentifierExpressionlabeled alternative inOrderingParser.expression().Visit a parse tree produced byOrderingParser.function().Visit a parse tree produced byOrderingParser.functionArgument().Visit a parse tree produced by theFunctionExpressionlabeled alternative inOrderingParser.expression().Visit a parse tree produced byOrderingParser.identifier().Visit a parse tree produced by theIdentifierExpressionlabeled alternative inOrderingParser.expression().Visit a parse tree produced byOrderingParser.literal().Visit a parse tree produced byOrderingParser.orderByFragment().Visit a parse tree produced byOrderingParser.sortSpecification().visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) Methods inherited from class org.hibernate.grammars.ordering.OrderingParserBaseVisitor
visitDirection, visitFunctionArguments, visitNullsPrecedence, visitPackagedFunction, visitSimpleFunctionMethods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode
-
Constructor Details
-
ParseTreeVisitor
public ParseTreeVisitor(PluralAttributeMapping pluralAttributeMapping, TranslationContext translationContext)
-
-
Method Details
-
visitOrderByFragment
Description copied from class:OrderingParserBaseVisitorVisit a parse tree produced byOrderingParser.orderByFragment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOrderByFragmentin interfaceOrderingParserVisitor<Object>- Overrides:
visitOrderByFragmentin classOrderingParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSortSpecification
public OrderingSpecification visitSortSpecification(OrderingParser.SortSpecificationContext parsedSpec) Description copied from class:OrderingParserBaseVisitorVisit a parse tree produced byOrderingParser.sortSpecification().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSortSpecificationin interfaceOrderingParserVisitor<Object>- Overrides:
visitSortSpecificationin classOrderingParserBaseVisitor<Object>- Parameters:
parsedSpec- the parse tree- Returns:
- the visitor result
-
visitFunctionExpression
Description copied from class:OrderingParserBaseVisitorVisit a parse tree produced by theFunctionExpressionlabeled alternative inOrderingParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionExpressionin interfaceOrderingParserVisitor<Object>- Overrides:
visitFunctionExpressionin classOrderingParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierExpression
Description copied from class:OrderingParserBaseVisitorVisit a parse tree produced by theIdentifierExpressionlabeled alternative inOrderingParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierExpressionin interfaceOrderingParserVisitor<Object>- Overrides:
visitIdentifierExpressionin classOrderingParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotIdentifierExpression
public OrderingExpression visitDotIdentifierExpression(OrderingParser.DotIdentifierExpressionContext ctx) Description copied from class:OrderingParserBaseVisitorVisit a parse tree produced by theDotIdentifierExpressionlabeled alternative inOrderingParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDotIdentifierExpressionin interfaceOrderingParserVisitor<Object>- Overrides:
visitDotIdentifierExpressionin classOrderingParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotIdentifier
Description copied from class:OrderingParserBaseVisitorVisit a parse tree produced byOrderingParser.dotIdentifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDotIdentifierin interfaceOrderingParserVisitor<Object>- Overrides:
visitDotIdentifierin classOrderingParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
Description copied from class:OrderingParserBaseVisitorVisit a parse tree produced byOrderingParser.identifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierin interfaceOrderingParserVisitor<Object>- Overrides:
visitIdentifierin classOrderingParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunction
Description copied from class:OrderingParserBaseVisitorVisit a parse tree produced byOrderingParser.function().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionin interfaceOrderingParserVisitor<Object>- Overrides:
visitFunctionin classOrderingParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionArgument
Description copied from class:OrderingParserBaseVisitorVisit a parse tree produced byOrderingParser.functionArgument().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionArgumentin interfaceOrderingParserVisitor<Object>- Overrides:
visitFunctionArgumentin classOrderingParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
Description copied from class:OrderingParserBaseVisitorVisit a parse tree produced byOrderingParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralin interfaceOrderingParserVisitor<Object>- Overrides:
visitLiteralin classOrderingParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCollationSpecification
Description copied from class:OrderingParserBaseVisitorVisit a parse tree produced byOrderingParser.collationSpecification().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCollationSpecificationin interfaceOrderingParserVisitor<Object>- Overrides:
visitCollationSpecificationin classOrderingParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTerminal
-