Interface ExpressionListener
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
interface ExpressionListener
extends org.antlr.v4.runtime.tree.ParseTreeListener
This interface defines a complete listener for a parse tree produced by
ExpressionParser.-
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced byExpressionParser.block().voidEnter a parse tree produced by theExprAddlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprAndlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprDivlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprEqlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprFunctionCalllabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprGcdlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprGelabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprGtlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprIndexlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprIntlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprLambdalabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprLcmlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprLelabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprLtlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprMatrixlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprModlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprMullabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprNeglabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprNeqlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprNotlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprOrlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprParenlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprPoslabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprPowlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprReallabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprRemlabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprSublabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theExprVariablelabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theForlabeled alternative inExpressionParser.declaration().voidEnter a parse tree produced by theFunctionDeclarationlabeled alternative inExpressionParser.declaration().voidEnter a parse tree produced by theIflabeled alternative inExpressionParser.declaration().voidEnter a parse tree produced by theLocalFunctionDeclarationlabeled alternative inExpressionParser.declaration().voidEnter a parse tree produced byExpressionParser.main().voidEnter a parse tree produced byExpressionParser.matrix().voidEnter a parse tree produced by theMatrixAssignmentlabeled alternative inExpressionParser.declaration().voidEnter a parse tree produced by theReturnlabeled alternative inExpressionParser.declaration().voidEnter a parse tree produced by theSimpleAssignmentlabeled alternative inExpressionParser.declaration().voidEnter a parse tree produced by theSimpleFunctionDeclarationlabeled alternative inExpressionParser.declaration().voidEnter a parse tree produced by theSimpleIflabeled alternative inExpressionParser.expression().voidEnter a parse tree produced by theSimpleLocalAssignmentlabeled alternative inExpressionParser.declaration().voidEnter a parse tree produced by theSimpleLocalFunctionDeclarationlabeled alternative inExpressionParser.declaration().voidEnter a parse tree produced byExpressionParser.toplevel().voidEnter a parse tree produced by theWhilelabeled alternative inExpressionParser.declaration().voidExit a parse tree produced byExpressionParser.block().voidExit a parse tree produced by theExprAddlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprAndlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprDivlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprEqlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprFunctionCalllabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprGcdlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprGelabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprGtlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprIndexlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprIntlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprLambdalabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprLcmlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprLelabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprLtlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprMatrixlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprModlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprMullabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprNeglabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprNeqlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprNotlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprOrlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprParenlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprPoslabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprPowlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprReallabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprRemlabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprSublabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theExprVariablelabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theForlabeled alternative inExpressionParser.declaration().voidExit a parse tree produced by theFunctionDeclarationlabeled alternative inExpressionParser.declaration().voidExit a parse tree produced by theIflabeled alternative inExpressionParser.declaration().voidExit a parse tree produced by theLocalFunctionDeclarationlabeled alternative inExpressionParser.declaration().voidExit a parse tree produced byExpressionParser.main().voidExit a parse tree produced byExpressionParser.matrix().voidExit a parse tree produced by theMatrixAssignmentlabeled alternative inExpressionParser.declaration().voidExit a parse tree produced by theReturnlabeled alternative inExpressionParser.declaration().voidExit a parse tree produced by theSimpleAssignmentlabeled alternative inExpressionParser.declaration().voidExit a parse tree produced by theSimpleFunctionDeclarationlabeled alternative inExpressionParser.declaration().voidExit a parse tree produced by theSimpleIflabeled alternative inExpressionParser.expression().voidExit a parse tree produced by theSimpleLocalAssignmentlabeled alternative inExpressionParser.declaration().voidExit a parse tree produced by theSimpleLocalFunctionDeclarationlabeled alternative inExpressionParser.declaration().voidExit a parse tree produced byExpressionParser.toplevel().voidExit a parse tree produced by theWhilelabeled alternative inExpressionParser.declaration().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeListener
enterEveryRule, exitEveryRule, visitErrorNode, visitTerminal
-
Method Details
-
enterMain
Enter a parse tree produced byExpressionParser.main().- Parameters:
ctx- the parse tree
-
exitMain
Exit a parse tree produced byExpressionParser.main().- Parameters:
ctx- the parse tree
-
enterToplevel
Enter a parse tree produced byExpressionParser.toplevel().- Parameters:
ctx- the parse tree
-
exitToplevel
Exit a parse tree produced byExpressionParser.toplevel().- Parameters:
ctx- the parse tree
-
enterBlock
Enter a parse tree produced byExpressionParser.block().- Parameters:
ctx- the parse tree
-
exitBlock
Exit a parse tree produced byExpressionParser.block().- Parameters:
ctx- the parse tree
-
enterSimpleAssignment
Enter a parse tree produced by theSimpleAssignmentlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
exitSimpleAssignment
Exit a parse tree produced by theSimpleAssignmentlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
enterSimpleLocalAssignment
Enter a parse tree produced by theSimpleLocalAssignmentlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
exitSimpleLocalAssignment
Exit a parse tree produced by theSimpleLocalAssignmentlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
enterMatrixAssignment
Enter a parse tree produced by theMatrixAssignmentlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
exitMatrixAssignment
Exit a parse tree produced by theMatrixAssignmentlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
enterSimpleFunctionDeclaration
Enter a parse tree produced by theSimpleFunctionDeclarationlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
exitSimpleFunctionDeclaration
Exit a parse tree produced by theSimpleFunctionDeclarationlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
enterFunctionDeclaration
Enter a parse tree produced by theFunctionDeclarationlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
exitFunctionDeclaration
Exit a parse tree produced by theFunctionDeclarationlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
enterSimpleLocalFunctionDeclaration
void enterSimpleLocalFunctionDeclaration(ExpressionParser.SimpleLocalFunctionDeclarationContext ctx) Enter a parse tree produced by theSimpleLocalFunctionDeclarationlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
exitSimpleLocalFunctionDeclaration
Exit a parse tree produced by theSimpleLocalFunctionDeclarationlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
enterLocalFunctionDeclaration
Enter a parse tree produced by theLocalFunctionDeclarationlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
exitLocalFunctionDeclaration
Exit a parse tree produced by theLocalFunctionDeclarationlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
enterIf
Enter a parse tree produced by theIflabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
exitIf
Exit a parse tree produced by theIflabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
enterWhile
Enter a parse tree produced by theWhilelabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
exitWhile
Exit a parse tree produced by theWhilelabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
enterFor
Enter a parse tree produced by theForlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
exitFor
Exit a parse tree produced by theForlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
enterReturn
Enter a parse tree produced by theReturnlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
exitReturn
Exit a parse tree produced by theReturnlabeled alternative inExpressionParser.declaration().- Parameters:
ctx- the parse tree
-
enterExprGcd
Enter a parse tree produced by theExprGcdlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprGcd
Exit a parse tree produced by theExprGcdlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterSimpleIf
Enter a parse tree produced by theSimpleIflabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitSimpleIf
Exit a parse tree produced by theSimpleIflabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprIndex
Enter a parse tree produced by theExprIndexlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprIndex
Exit a parse tree produced by theExprIndexlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprNeg
Enter a parse tree produced by theExprNeglabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprNeg
Exit a parse tree produced by theExprNeglabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprNot
Enter a parse tree produced by theExprNotlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprNot
Exit a parse tree produced by theExprNotlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprPos
Enter a parse tree produced by theExprPoslabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprPos
Exit a parse tree produced by theExprPoslabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprDiv
Enter a parse tree produced by theExprDivlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprDiv
Exit a parse tree produced by theExprDivlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprOr
Enter a parse tree produced by theExprOrlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprOr
Exit a parse tree produced by theExprOrlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprSub
Enter a parse tree produced by theExprSublabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprSub
Exit a parse tree produced by theExprSublabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprMul
Enter a parse tree produced by theExprMullabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprMul
Exit a parse tree produced by theExprMullabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprGe
Enter a parse tree produced by theExprGelabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprGe
Exit a parse tree produced by theExprGelabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprLambda
Enter a parse tree produced by theExprLambdalabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprLambda
Exit a parse tree produced by theExprLambdalabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprMod
Enter a parse tree produced by theExprModlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprMod
Exit a parse tree produced by theExprModlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprLe
Enter a parse tree produced by theExprLelabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprLe
Exit a parse tree produced by theExprLelabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprParen
Enter a parse tree produced by theExprParenlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprParen
Exit a parse tree produced by theExprParenlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprInt
Enter a parse tree produced by theExprIntlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprInt
Exit a parse tree produced by theExprIntlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprMatrix
Enter a parse tree produced by theExprMatrixlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprMatrix
Exit a parse tree produced by theExprMatrixlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprGt
Enter a parse tree produced by theExprGtlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprGt
Exit a parse tree produced by theExprGtlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprEq
Enter a parse tree produced by theExprEqlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprEq
Exit a parse tree produced by theExprEqlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprAnd
Enter a parse tree produced by theExprAndlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprAnd
Exit a parse tree produced by theExprAndlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprPow
Enter a parse tree produced by theExprPowlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprPow
Exit a parse tree produced by theExprPowlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprFunctionCall
Enter a parse tree produced by theExprFunctionCalllabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprFunctionCall
Exit a parse tree produced by theExprFunctionCalllabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprLcm
Enter a parse tree produced by theExprLcmlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprLcm
Exit a parse tree produced by theExprLcmlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprLt
Enter a parse tree produced by theExprLtlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprLt
Exit a parse tree produced by theExprLtlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprRem
Enter a parse tree produced by theExprRemlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprRem
Exit a parse tree produced by theExprRemlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprNeq
Enter a parse tree produced by theExprNeqlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprNeq
Exit a parse tree produced by theExprNeqlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprReal
Enter a parse tree produced by theExprReallabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprReal
Exit a parse tree produced by theExprReallabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprVariable
Enter a parse tree produced by theExprVariablelabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprVariable
Exit a parse tree produced by theExprVariablelabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterExprAdd
Enter a parse tree produced by theExprAddlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
exitExprAdd
Exit a parse tree produced by theExprAddlabeled alternative inExpressionParser.expression().- Parameters:
ctx- the parse tree
-
enterMatrix
Enter a parse tree produced byExpressionParser.matrix().- Parameters:
ctx- the parse tree
-
exitMatrix
Exit a parse tree produced byExpressionParser.matrix().- Parameters:
ctx- the parse tree
-