Class PreIRListener
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
,EK9Listener
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.AbstractEK9PhaseListener
symbolsAndScopes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Enter a parse tree produced byEK9Parser.applicationDeclaration()
.void
Enter a parse tree produced byEK9Parser.argumentParam()
.void
Enter a parse tree produced byEK9Parser.assignmentStatement()
.void
Enter a parse tree produced byEK9Parser.caseExpression()
.void
Enter a parse tree produced byEK9Parser.catchStatementExpression()
.void
Enter a parse tree produced byEK9Parser.classDeclaration()
.void
Enter a parse tree produced byEK9Parser.componentDeclaration()
.void
Enter a parse tree produced byEK9Parser.declareArgumentParam()
.void
Enter a parse tree produced byEK9Parser.dynamicClassDeclaration()
.void
On entry of a dynamic function need to record any return symbol, because we won't parse the text as it is inferred.void
Enter a parse tree produced byEK9Parser.expression()
.void
Enter a parse tree produced byEK9Parser.finallyStatementExpression()
.void
Enter a parse tree produced byEK9Parser.forLoop()
.void
Enter a parse tree produced byEK9Parser.forRange()
.void
Enter a parse tree produced byEK9Parser.functionDeclaration()
.void
Enter a parse tree produced byEK9Parser.guardExpression()
.void
Enter a parse tree produced byEK9Parser.identifier()
.void
Enter a parse tree produced byEK9Parser.ifControlBlock()
.void
Enter a parse tree produced byEK9Parser.methodDeclaration()
.void
Enter a parse tree produced byEK9Parser.objectAccessExpression()
.void
Enter a parse tree produced byEK9Parser.operatorDeclaration()
.void
Enter a parse tree produced byEK9Parser.pipelinePart()
.void
Enter a parse tree produced byEK9Parser.recordDeclaration()
.void
Enter a parse tree produced byEK9Parser.serviceDeclaration()
.void
Enter a parse tree produced byEK9Parser.serviceOperationDeclaration()
.void
Enter a parse tree produced byEK9Parser.streamCat()
.void
Enter a parse tree produced byEK9Parser.streamExpressionTermination()
.void
Enter a parse tree produced byEK9Parser.throwStatement()
.void
Enter a parse tree produced byEK9Parser.traitDeclaration()
.void
Enter a parse tree produced byEK9Parser.tryStatementExpression()
.void
Enter a parse tree produced byEK9Parser.variableOnlyDeclaration()
.void
Enter a parse tree produced byEK9Parser.whileStatementExpression()
.void
Exit a parse tree produced byEK9Parser.applicationDeclaration()
.void
Exit a parse tree produced byEK9Parser.classDeclaration()
.void
Exit a parse tree produced byEK9Parser.componentDeclaration()
.void
Exit a parse tree produced byEK9Parser.dynamicClassDeclaration()
.void
Exit a parse tree produced byEK9Parser.dynamicFunctionDeclaration()
.void
Exit a parse tree produced byEK9Parser.expression()
.void
Exit a parse tree produced byEK9Parser.forStatementExpression()
.void
Exit a parse tree produced byEK9Parser.functionDeclaration()
.void
Exit a parse tree produced byEK9Parser.identifierReference()
.void
Exit a parse tree produced byEK9Parser.ifStatement()
.void
Exit a parse tree produced byEK9Parser.methodDeclaration()
.void
Exit a parse tree produced byEK9Parser.operatorDeclaration()
.void
Exit a parse tree produced byEK9Parser.recordDeclaration()
.void
Exit a parse tree produced byEK9Parser.serviceDeclaration()
.void
Exit a parse tree produced byEK9Parser.serviceOperationDeclaration()
.void
Exit a parse tree produced byEK9Parser.switchStatementExpression()
.void
Exit a parse tree produced byEK9Parser.traitDeclaration()
.void
Exit a parse tree produced byEK9Parser.tryStatementExpression()
.void
Exit a parse tree produced byEK9Parser.whileStatementExpression()
.Methods inherited from class org.ek9lang.compiler.common.ScopeStackConsistencyListener
enterBlock, enterDynamicVariableCapture, enterForStatementExpression, enterIfStatement, enterInstructionBlock, enterPackageBlock, enterReturningParam, enterSingleStatementBlock, enterSwitchStatementExpression, enterTernaryPart, enterTextBodyDeclaration, enterTextDeclaration, enterTypeDeclaration
Methods inherited from class org.ek9lang.compiler.common.AbstractEK9PhaseListener
exitBlock, exitCatchStatementExpression, exitDynamicVariableCapture, exitFinallyStatementExpression, exitInstructionBlock, exitModuleDeclaration, exitPackageBlock, exitReturningParam, exitSingleStatementBlock, exitTernaryPart, exitTextBodyDeclaration, exitTextDeclaration, exitTypeDeclaration, getErrorListener, getParsedModule, isScopeStackEmpty, pullBlockTerminationUp, pullIfElseTerminationUp, pullSwitchCaseDefaultUp, pullTryCatchFinallyUp
Methods inherited from class org.ek9lang.antlr.EK9BaseListener
enterAccessModifier, enterAggregateParts, enterAggregateProperty, enterAllowingOnly, enterApplicationBlock, enterAspectDeclaration, enterAssertStatement, enterAssignmentExpression, enterBinaryLit, enterBinaryLiteral, enterBlockStatement, enterBooleanLit, enterBooleanLiteral, enterCall, enterCaseStatement, enterCharacterLit, enterCharacterLiteral, enterClassBlock, enterColourLit, enterColourLiteral, enterCompilationUnit, enterComponentBlock, enterConstantBlock, enterConstantDeclaration, enterConstantInitialiser, enterConstrainDeclaration, enterConstrainType, enterDateLit, enterDateLiteral, enterDateTimeLit, enterDateTimeLiteral, enterDecorationDimensionLiteral, enterDecorationResolutionLiteral, enterDefaultOperator, enterDict, enterDimensionLit, enterDirective, enterDirectivePart, enterDottedName, enterDurationLit, enterDurationLiteral, enterDynamicFunctionBody, enterElseOnlyBlock, enterEnumerationDeclaration, enterEveryRule, enterExpressionParam, enterExtendDeclaration, enterExtendPreamble, enterFloatingPointLit, enterFloatingPointLiteral, enterFunctionBlock, enterHttpAccess, enterHttpVerb, enterIdentifierReference, enterInitValuePair, enterIntegerLit, enterIntegerLiteral, enterList, enterMillisecondLit, enterMillisecondLiteral, enterModuleBlock, enterModuleDeclaration, enterMoneyLit, enterMoneyLiteral, enterObjectAccess, enterObjectAccessStart, enterObjectAccessType, enterOperationCall, enterOperationDetails, enterOperator, enterParameterisedArgs, enterParameterisedDetail, enterParameterisedParams, enterParameterisedType, enterParamExpression, enterPathLit, enterPathLiteral, enterPreFlowAndControl, enterPreFlowStatement, enterPrimary, enterPrimaryReference, enterProgramBlock, enterRange, enterRecordBlock, enterReferencesBlock, enterRegExLit, enterRegisterStatement, enterRegularExpressionLiteral, enterResolutionLit, enterServiceBlock, enterSheBang, enterStatement, enterStreamExpression, enterStreamFor, enterStreamPart, enterStreamSource, enterStreamStatement, enterStreamStatementTermination, enterStringLit, enterStringLiteral, enterStringPart, enterTextBlock, enterTimeLit, enterTimeLiteral, enterTraitBlock, enterTraitPreamble, enterTraitReference, enterTraitsList, enterTypeBlock, enterTypeDef, enterVariableDeclaration, enterVersionNumberLit, enterVersionNumberLiteral, enterWebVariableCorrelation, exitAccessModifier, exitAggregateParts, exitAggregateProperty, exitAllowingOnly, exitApplicationBlock, exitArgumentParam, exitAspectDeclaration, exitAssertStatement, exitAssignmentExpression, exitAssignmentStatement, exitBinaryLit, exitBinaryLiteral, exitBlockStatement, exitBooleanLit, exitBooleanLiteral, exitCall, exitCaseExpression, exitCaseStatement, exitCharacterLit, exitCharacterLiteral, exitClassBlock, exitColourLit, exitColourLiteral, exitCompilationUnit, exitComponentBlock, exitConstantBlock, exitConstantDeclaration, exitConstantInitialiser, exitConstrainDeclaration, exitConstrainType, exitDateLit, exitDateLiteral, exitDateTimeLit, exitDateTimeLiteral, exitDeclareArgumentParam, exitDecorationDimensionLiteral, exitDecorationResolutionLiteral, exitDefaultOperator, exitDict, exitDimensionLit, exitDirective, exitDirectivePart, exitDottedName, exitDurationLit, exitDurationLiteral, exitDynamicFunctionBody, exitElseOnlyBlock, exitEnumerationDeclaration, exitEveryRule, exitExpressionParam, exitExtendDeclaration, exitExtendPreamble, exitFloatingPointLit, exitFloatingPointLiteral, exitForLoop, exitForRange, exitFunctionBlock, exitGuardExpression, exitHttpAccess, exitHttpVerb, exitIdentifier, exitIfControlBlock, exitInitValuePair, exitIntegerLit, exitIntegerLiteral, exitList, exitMillisecondLit, exitMillisecondLiteral, exitModuleBlock, exitMoneyLit, exitMoneyLiteral, exitObjectAccess, exitObjectAccessExpression, exitObjectAccessStart, exitObjectAccessType, exitOperationCall, exitOperationDetails, exitOperator, exitParameterisedArgs, exitParameterisedDetail, exitParameterisedParams, exitParameterisedType, exitParamExpression, exitPathLit, exitPathLiteral, exitPipelinePart, exitPreFlowAndControl, exitPreFlowStatement, exitPrimary, exitPrimaryReference, exitProgramBlock, exitRange, exitRecordBlock, exitReferencesBlock, exitRegExLit, exitRegisterStatement, exitRegularExpressionLiteral, exitResolutionLit, exitServiceBlock, exitSheBang, exitStatement, exitStreamCat, exitStreamExpression, exitStreamExpressionTermination, exitStreamFor, exitStreamPart, exitStreamSource, exitStreamStatement, exitStreamStatementTermination, exitStringLit, exitStringLiteral, exitStringPart, exitTextBlock, exitThrowStatement, exitTimeLit, exitTimeLiteral, exitTraitBlock, exitTraitPreamble, exitTraitReference, exitTraitsList, exitTypeBlock, exitTypeDef, exitVariableDeclaration, exitVariableOnlyDeclaration, exitVersionNumberLit, exitVersionNumberLiteral, exitWebVariableCorrelation, visitErrorNode, visitTerminal
-
Constructor Details
-
PreIRListener
PreIRListener(ParsedModule parsedModule)
-
-
Method Details
-
enterServiceDeclaration
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.serviceDeclaration()
.The default implementation does nothing.
- Specified by:
enterServiceDeclaration
in interfaceEK9Listener
- Overrides:
enterServiceDeclaration
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
exitServiceDeclaration
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.serviceDeclaration()
.The default implementation does nothing.
- Specified by:
exitServiceDeclaration
in interfaceEK9Listener
- Overrides:
exitServiceDeclaration
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
enterRecordDeclaration
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.recordDeclaration()
.The default implementation does nothing.
- Specified by:
enterRecordDeclaration
in interfaceEK9Listener
- Overrides:
enterRecordDeclaration
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
exitRecordDeclaration
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.recordDeclaration()
.The default implementation does nothing.
- Specified by:
exitRecordDeclaration
in interfaceEK9Listener
- Overrides:
exitRecordDeclaration
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
enterTraitDeclaration
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.traitDeclaration()
.The default implementation does nothing.
- Specified by:
enterTraitDeclaration
in interfaceEK9Listener
- Overrides:
enterTraitDeclaration
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
exitTraitDeclaration
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.traitDeclaration()
.The default implementation does nothing.
- Specified by:
exitTraitDeclaration
in interfaceEK9Listener
- Overrides:
exitTraitDeclaration
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
enterClassDeclaration
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.classDeclaration()
.The default implementation does nothing.
- Specified by:
enterClassDeclaration
in interfaceEK9Listener
- Overrides:
enterClassDeclaration
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
exitClassDeclaration
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.classDeclaration()
.The default implementation does nothing.
- Specified by:
exitClassDeclaration
in interfaceEK9Listener
- Overrides:
exitClassDeclaration
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
enterComponentDeclaration
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.componentDeclaration()
.The default implementation does nothing.
- Specified by:
enterComponentDeclaration
in interfaceEK9Listener
- Overrides:
enterComponentDeclaration
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
exitComponentDeclaration
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.componentDeclaration()
.The default implementation does nothing.
- Specified by:
exitComponentDeclaration
in interfaceEK9Listener
- Overrides:
exitComponentDeclaration
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
enterApplicationDeclaration
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.applicationDeclaration()
.The default implementation does nothing.
- Specified by:
enterApplicationDeclaration
in interfaceEK9Listener
- Overrides:
enterApplicationDeclaration
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
exitApplicationDeclaration
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.applicationDeclaration()
.The default implementation does nothing.
- Specified by:
exitApplicationDeclaration
in interfaceEK9Listener
- Overrides:
exitApplicationDeclaration
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
enterDynamicClassDeclaration
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.dynamicClassDeclaration()
.The default implementation does nothing.
- Specified by:
enterDynamicClassDeclaration
in interfaceEK9Listener
- Overrides:
enterDynamicClassDeclaration
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
exitDynamicClassDeclaration
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.dynamicClassDeclaration()
.The default implementation does nothing.
- Specified by:
exitDynamicClassDeclaration
in interfaceEK9Listener
- Overrides:
exitDynamicClassDeclaration
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
enterFunctionDeclaration
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.functionDeclaration()
.The default implementation does nothing.
- Specified by:
enterFunctionDeclaration
in interfaceEK9Listener
- Overrides:
enterFunctionDeclaration
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
exitFunctionDeclaration
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.functionDeclaration()
.The default implementation does nothing.
- Specified by:
exitFunctionDeclaration
in interfaceEK9Listener
- Overrides:
exitFunctionDeclaration
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
enterMethodDeclaration
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.methodDeclaration()
.The default implementation does nothing.
- Specified by:
enterMethodDeclaration
in interfaceEK9Listener
- Overrides:
enterMethodDeclaration
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
exitMethodDeclaration
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.methodDeclaration()
.The default implementation does nothing.
- Specified by:
exitMethodDeclaration
in interfaceEK9Listener
- Overrides:
exitMethodDeclaration
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
enterOperatorDeclaration
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.operatorDeclaration()
.The default implementation does nothing.
- Specified by:
enterOperatorDeclaration
in interfaceEK9Listener
- Overrides:
enterOperatorDeclaration
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
exitOperatorDeclaration
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.operatorDeclaration()
.The default implementation does nothing.
- Specified by:
exitOperatorDeclaration
in interfaceEK9Listener
- Overrides:
exitOperatorDeclaration
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
enterServiceOperationDeclaration
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.serviceOperationDeclaration()
.The default implementation does nothing.
- Specified by:
enterServiceOperationDeclaration
in interfaceEK9Listener
- Overrides:
enterServiceOperationDeclaration
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
exitServiceOperationDeclaration
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.serviceOperationDeclaration()
.The default implementation does nothing.
- Specified by:
exitServiceOperationDeclaration
in interfaceEK9Listener
- Overrides:
exitServiceOperationDeclaration
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
enterDynamicFunctionDeclaration
On entry of a dynamic function need to record any return symbol, because we won't parse the text as it is inferred. The on exit handler still needs to do the same return processing to see if the rtn has been initialised. But again cannot depend on source structure because the return is inferred and also the error has to appear on the dynamic function declaration because there will be not '<-' to report the error on. Downside of having dynamic function infer arguments and returns, but worth it for the terseness.- Specified by:
enterDynamicFunctionDeclaration
in interfaceEK9Listener
- Overrides:
enterDynamicFunctionDeclaration
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
exitDynamicFunctionDeclaration
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.dynamicFunctionDeclaration()
.The default implementation does nothing.
- Specified by:
exitDynamicFunctionDeclaration
in interfaceEK9Listener
- Overrides:
exitDynamicFunctionDeclaration
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
enterVariableOnlyDeclaration
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.variableOnlyDeclaration()
.The default implementation does nothing.
- Specified by:
enterVariableOnlyDeclaration
in interfaceEK9Listener
- Overrides:
enterVariableOnlyDeclaration
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterObjectAccessExpression
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.objectAccessExpression()
.The default implementation does nothing.
- Specified by:
enterObjectAccessExpression
in interfaceEK9Listener
- Overrides:
enterObjectAccessExpression
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterAssignmentStatement
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.assignmentStatement()
.The default implementation does nothing.
- Specified by:
enterAssignmentStatement
in interfaceEK9Listener
- Overrides:
enterAssignmentStatement
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterGuardExpression
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.guardExpression()
.The default implementation does nothing.
- Specified by:
enterGuardExpression
in interfaceEK9Listener
- Overrides:
enterGuardExpression
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterCaseExpression
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.caseExpression()
.The default implementation does nothing.
- Specified by:
enterCaseExpression
in interfaceEK9Listener
- Overrides:
enterCaseExpression
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterThrowStatement
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.throwStatement()
.The default implementation does nothing.
- Specified by:
enterThrowStatement
in interfaceEK9Listener
- Overrides:
enterThrowStatement
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterTryStatementExpression
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.tryStatementExpression()
.The default implementation does nothing.
- Specified by:
enterTryStatementExpression
in interfaceEK9Listener
- Overrides:
enterTryStatementExpression
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
enterCatchStatementExpression
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.catchStatementExpression()
.The default implementation does nothing.
- Specified by:
enterCatchStatementExpression
in interfaceEK9Listener
- Overrides:
enterCatchStatementExpression
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
enterFinallyStatementExpression
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.finallyStatementExpression()
.The default implementation does nothing.
- Specified by:
enterFinallyStatementExpression
in interfaceEK9Listener
- Overrides:
enterFinallyStatementExpression
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
enterForLoop
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.forLoop()
.The default implementation does nothing.
- Specified by:
enterForLoop
in interfaceEK9Listener
- Overrides:
enterForLoop
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterForRange
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.forRange()
.The default implementation does nothing.
- Specified by:
enterForRange
in interfaceEK9Listener
- Overrides:
enterForRange
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterPipelinePart
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.pipelinePart()
.The default implementation does nothing.
- Specified by:
enterPipelinePart
in interfaceEK9Listener
- Overrides:
enterPipelinePart
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterStreamExpressionTermination
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.streamExpressionTermination()
.The default implementation does nothing.
- Specified by:
enterStreamExpressionTermination
in interfaceEK9Listener
- Overrides:
enterStreamExpressionTermination
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterStreamCat
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.streamCat()
.The default implementation does nothing.
- Specified by:
enterStreamCat
in interfaceEK9Listener
- Overrides:
enterStreamCat
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterWhileStatementExpression
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.whileStatementExpression()
.The default implementation does nothing.
- Specified by:
enterWhileStatementExpression
in interfaceEK9Listener
- Overrides:
enterWhileStatementExpression
in classScopeStackConsistencyListener
- Parameters:
ctx
- the parse tree
-
enterDeclareArgumentParam
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.declareArgumentParam()
.The default implementation does nothing.
- Specified by:
enterDeclareArgumentParam
in interfaceEK9Listener
- Overrides:
enterDeclareArgumentParam
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterArgumentParam
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.argumentParam()
.The default implementation does nothing.
- Specified by:
enterArgumentParam
in interfaceEK9Listener
- Overrides:
enterArgumentParam
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterIdentifier
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.identifier()
.The default implementation does nothing.
- Specified by:
enterIdentifier
in interfaceEK9Listener
- Overrides:
enterIdentifier
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
exitIdentifierReference
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.identifierReference()
.The default implementation does nothing.
- Specified by:
exitIdentifierReference
in interfaceEK9Listener
- Overrides:
exitIdentifierReference
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterIfControlBlock
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.ifControlBlock()
.The default implementation does nothing.
- Specified by:
enterIfControlBlock
in interfaceEK9Listener
- Overrides:
enterIfControlBlock
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
enterExpression
Description copied from class:EK9BaseListener
Enter a parse tree produced byEK9Parser.expression()
.The default implementation does nothing.
- Specified by:
enterExpression
in interfaceEK9Listener
- Overrides:
enterExpression
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-
exitIfStatement
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.ifStatement()
.The default implementation does nothing.
- Specified by:
exitIfStatement
in interfaceEK9Listener
- Overrides:
exitIfStatement
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
exitSwitchStatementExpression
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.switchStatementExpression()
.The default implementation does nothing.
- Specified by:
exitSwitchStatementExpression
in interfaceEK9Listener
- Overrides:
exitSwitchStatementExpression
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
exitTryStatementExpression
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.tryStatementExpression()
.The default implementation does nothing.
- Specified by:
exitTryStatementExpression
in interfaceEK9Listener
- Overrides:
exitTryStatementExpression
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
exitForStatementExpression
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.forStatementExpression()
.The default implementation does nothing.
- Specified by:
exitForStatementExpression
in interfaceEK9Listener
- Overrides:
exitForStatementExpression
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
exitWhileStatementExpression
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.whileStatementExpression()
.The default implementation does nothing.
- Specified by:
exitWhileStatementExpression
in interfaceEK9Listener
- Overrides:
exitWhileStatementExpression
in classAbstractEK9PhaseListener
- Parameters:
ctx
- the parse tree
-
exitExpression
Description copied from class:EK9BaseListener
Exit a parse tree produced byEK9Parser.expression()
.The default implementation does nothing.
- Specified by:
exitExpression
in interfaceEK9Listener
- Overrides:
exitExpression
in classEK9BaseListener
- Parameters:
ctx
- the parse tree
-