Package io.trino.grammar.type
Interface TypeCalculationVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
TypeCalculationBaseVisitor
public interface TypeCalculationVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
TypeCalculationParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced by thearithmeticBinarylabeled alternative inTypeCalculationParser.expression().Visit a parse tree produced by thearithmeticUnarylabeled alternative inTypeCalculationParser.expression().Visit a parse tree produced by thebinaryFunctionlabeled alternative inTypeCalculationParser.expression().Visit a parse tree produced byTypeCalculationParser.binaryFunctionName().Visit a parse tree produced by theidentifierlabeled alternative inTypeCalculationParser.expression().Visit a parse tree produced by thenullLiterallabeled alternative inTypeCalculationParser.expression().Visit a parse tree produced by thenumericLiterallabeled alternative inTypeCalculationParser.expression().Visit a parse tree produced by theparenthesizedExpressionlabeled alternative inTypeCalculationParser.expression().Visit a parse tree produced byTypeCalculationParser.typeCalculation().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitTypeCalculation
Visit a parse tree produced byTypeCalculationParser.typeCalculation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryFunction
Visit a parse tree produced by thebinaryFunctionlabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
Visit a parse tree produced by theidentifierlabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullLiteral
Visit a parse tree produced by thenullLiterallabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenthesizedExpression
Visit a parse tree produced by theparenthesizedExpressionlabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArithmeticBinary
Visit a parse tree produced by thearithmeticBinarylabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumericLiteral
Visit a parse tree produced by thenumericLiterallabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArithmeticUnary
Visit a parse tree produced by thearithmeticUnarylabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryFunctionName
Visit a parse tree produced byTypeCalculationParser.binaryFunctionName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-