Package io.trino.grammar.type
Interface TypeCalculationListener
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
- All Known Implementing Classes:
TypeCalculationBaseListener
public interface TypeCalculationListener
extends org.antlr.v4.runtime.tree.ParseTreeListener
This interface defines a complete listener for a parse tree produced by
TypeCalculationParser.-
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced by thearithmeticBinarylabeled alternative inTypeCalculationParser.expression().voidEnter a parse tree produced by thearithmeticUnarylabeled alternative inTypeCalculationParser.expression().voidEnter a parse tree produced by thebinaryFunctionlabeled alternative inTypeCalculationParser.expression().voidEnter a parse tree produced byTypeCalculationParser.binaryFunctionName().voidEnter a parse tree produced by theidentifierlabeled alternative inTypeCalculationParser.expression().voidEnter a parse tree produced by thenullLiterallabeled alternative inTypeCalculationParser.expression().voidEnter a parse tree produced by thenumericLiterallabeled alternative inTypeCalculationParser.expression().voidEnter a parse tree produced by theparenthesizedExpressionlabeled alternative inTypeCalculationParser.expression().voidEnter a parse tree produced byTypeCalculationParser.typeCalculation().voidExit a parse tree produced by thearithmeticBinarylabeled alternative inTypeCalculationParser.expression().voidExit a parse tree produced by thearithmeticUnarylabeled alternative inTypeCalculationParser.expression().voidExit a parse tree produced by thebinaryFunctionlabeled alternative inTypeCalculationParser.expression().voidExit a parse tree produced byTypeCalculationParser.binaryFunctionName().voidExit a parse tree produced by theidentifierlabeled alternative inTypeCalculationParser.expression().voidExit a parse tree produced by thenullLiterallabeled alternative inTypeCalculationParser.expression().voidExit a parse tree produced by thenumericLiterallabeled alternative inTypeCalculationParser.expression().voidExit a parse tree produced by theparenthesizedExpressionlabeled alternative inTypeCalculationParser.expression().voidExit a parse tree produced byTypeCalculationParser.typeCalculation().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeListener
enterEveryRule, exitEveryRule, visitErrorNode, visitTerminal
-
Method Details
-
enterTypeCalculation
Enter a parse tree produced byTypeCalculationParser.typeCalculation().- Parameters:
ctx- the parse tree
-
exitTypeCalculation
Exit a parse tree produced byTypeCalculationParser.typeCalculation().- Parameters:
ctx- the parse tree
-
enterBinaryFunction
Enter a parse tree produced by thebinaryFunctionlabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
exitBinaryFunction
Exit a parse tree produced by thebinaryFunctionlabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
enterIdentifier
Enter a parse tree produced by theidentifierlabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
exitIdentifier
Exit a parse tree produced by theidentifierlabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
enterNullLiteral
Enter a parse tree produced by thenullLiterallabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
exitNullLiteral
Exit a parse tree produced by thenullLiterallabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
enterParenthesizedExpression
Enter a parse tree produced by theparenthesizedExpressionlabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
exitParenthesizedExpression
Exit a parse tree produced by theparenthesizedExpressionlabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
enterArithmeticBinary
Enter a parse tree produced by thearithmeticBinarylabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
exitArithmeticBinary
Exit a parse tree produced by thearithmeticBinarylabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
enterNumericLiteral
Enter a parse tree produced by thenumericLiterallabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
exitNumericLiteral
Exit a parse tree produced by thenumericLiterallabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
enterArithmeticUnary
Enter a parse tree produced by thearithmeticUnarylabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
exitArithmeticUnary
Exit a parse tree produced by thearithmeticUnarylabeled alternative inTypeCalculationParser.expression().- Parameters:
ctx- the parse tree
-
enterBinaryFunctionName
Enter a parse tree produced byTypeCalculationParser.binaryFunctionName().- Parameters:
ctx- the parse tree
-
exitBinaryFunctionName
Exit a parse tree produced byTypeCalculationParser.binaryFunctionName().- Parameters:
ctx- the parse tree
-