Class OrderingParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.hibernate.grammars.ordering.OrderingParserBaseVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
,OrderingParserVisitor<T>
- Direct Known Subclasses:
ParseTreeVisitor
public class OrderingParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements OrderingParserVisitor<T>
This class provides an empty implementation ofOrderingParserVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description OrderingParserBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitOrderByFragment
public T visitOrderByFragment(OrderingParser.OrderByFragmentContext ctx)
Visit 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:
visitOrderByFragment
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSortSpecification
public T visitSortSpecification(OrderingParser.SortSpecificationContext ctx)
Visit 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:
visitSortSpecification
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionExpression
public T visitFunctionExpression(OrderingParser.FunctionExpressionContext ctx)
Visit a parse tree produced by theFunctionExpression
labeled alternative inOrderingParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionExpression
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdentifierExpression
public T visitIdentifierExpression(OrderingParser.IdentifierExpressionContext ctx)
Visit a parse tree produced by theIdentifierExpression
labeled alternative inOrderingParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIdentifierExpression
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDotIdentifierExpression
public T visitDotIdentifierExpression(OrderingParser.DotIdentifierExpressionContext ctx)
Visit a parse tree produced by theDotIdentifierExpression
labeled alternative inOrderingParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDotIdentifierExpression
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunction
public T visitFunction(OrderingParser.FunctionContext ctx)
Visit 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:
visitFunction
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSimpleFunction
public T visitSimpleFunction(OrderingParser.SimpleFunctionContext ctx)
Visit a parse tree produced byOrderingParser.simpleFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSimpleFunction
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPackagedFunction
public T visitPackagedFunction(OrderingParser.PackagedFunctionContext ctx)
Visit a parse tree produced byOrderingParser.packagedFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPackagedFunction
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionArguments
public T visitFunctionArguments(OrderingParser.FunctionArgumentsContext ctx)
Visit a parse tree produced byOrderingParser.functionArguments()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionArguments
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionArgument
public T visitFunctionArgument(OrderingParser.FunctionArgumentContext ctx)
Visit 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:
visitFunctionArgument
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteral
public T visitLiteral(OrderingParser.LiteralContext ctx)
Visit 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:
visitLiteral
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCollationSpecification
public T visitCollationSpecification(OrderingParser.CollationSpecificationContext ctx)
Visit 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:
visitCollationSpecification
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDirection
public T visitDirection(OrderingParser.DirectionContext ctx)
Visit a parse tree produced byOrderingParser.direction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDirection
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNullsPrecedence
public T visitNullsPrecedence(OrderingParser.NullsPrecedenceContext ctx)
Visit a parse tree produced byOrderingParser.nullsPrecedence()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNullsPrecedence
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdentifier
public T visitIdentifier(OrderingParser.IdentifierContext ctx)
Visit 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:
visitIdentifier
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDotIdentifier
public T visitDotIdentifier(OrderingParser.DotIdentifierContext ctx)
Visit 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:
visitDotIdentifier
in interfaceOrderingParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-