Class ScopeStackConsistencyListener
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener, EK9Listener
- Direct Known Subclasses:
ExpressionsListener, PreIRListener
-
Field Summary
Fields inherited from class AbstractEK9PhaseListener
symbolsAndScopes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced byEK9Parser.applicationDeclaration().voidEnter a parse tree produced byEK9Parser.block().voidEnter a parse tree produced byEK9Parser.catchStatementExpression().voidEnter a parse tree produced byEK9Parser.classDeclaration().voidEnter a parse tree produced byEK9Parser.componentDeclaration().voidEnter a parse tree produced byEK9Parser.dynamicClassDeclaration().voidEnter a parse tree produced byEK9Parser.dynamicFunctionDeclaration().voidEnter a parse tree produced byEK9Parser.dynamicVariableCapture().voidEnter a parse tree produced byEK9Parser.finallyStatementExpression().voidEnter a parse tree produced byEK9Parser.forStatementExpression().voidEnter a parse tree produced byEK9Parser.functionDeclaration().voidEnter a parse tree produced byEK9Parser.ifStatement().voidEnter a parse tree produced byEK9Parser.instructionBlock().voidEnter a parse tree produced byEK9Parser.methodDeclaration().voidEnter a parse tree produced byEK9Parser.operatorDeclaration().voidEnter a parse tree produced byEK9Parser.packageBlock().voidEnter a parse tree produced byEK9Parser.recordDeclaration().voidEnter a parse tree produced byEK9Parser.returningParam().voidEnter a parse tree produced byEK9Parser.serviceDeclaration().voidEnter a parse tree produced byEK9Parser.serviceOperationDeclaration().voidEnter a parse tree produced byEK9Parser.singleStatementBlock().voidEnter a parse tree produced byEK9Parser.switchStatementExpression().voidEnter a parse tree produced byEK9Parser.ternaryPart().voidEnter a parse tree produced byEK9Parser.textBodyDeclaration().voidEnter a parse tree produced byEK9Parser.textDeclaration().voidEnter a parse tree produced byEK9Parser.traitDeclaration().voidEnter a parse tree produced byEK9Parser.tryStatementExpression().voidEnter a parse tree produced byEK9Parser.typeDeclaration().voidEnter a parse tree produced byEK9Parser.whileStatementExpression().Methods inherited from class AbstractEK9PhaseListener
exitApplicationDeclaration, exitBlock, exitCatchStatementExpression, exitClassDeclaration, exitComponentDeclaration, exitDynamicClassDeclaration, exitDynamicFunctionDeclaration, exitDynamicVariableCapture, exitFinallyStatementExpression, exitForStatementExpression, exitFunctionDeclaration, exitIfStatement, exitInstructionBlock, exitMethodDeclaration, exitModuleDeclaration, exitOperatorDeclaration, exitPackageBlock, exitRecordDeclaration, exitReturningParam, exitServiceDeclaration, exitServiceOperationDeclaration, exitSingleStatementBlock, exitSwitchStatementExpression, exitTernaryPart, exitTextBodyDeclaration, exitTextDeclaration, exitTraitDeclaration, exitTryStatementExpression, exitTypeDeclaration, exitWhileStatementExpression, getErrorListener, getParsedModule, isScopeStackEmpty, pullBlockTerminationUp, pullIfElseTerminationUp, pullSwitchCaseDefaultUp, pullTryCatchFinallyUpMethods inherited from class EK9BaseListener
enterAccessModifier, enterAggregateParts, enterAggregateProperty, enterAllowingOnly, enterApplicationBlock, enterArgumentParam, enterAspectDeclaration, enterAssertStatement, enterAssignmentExpression, enterAssignmentStatement, enterBinaryLit, enterBinaryLiteral, enterBlockStatement, enterBooleanLit, enterBooleanLiteral, enterCall, enterCaseExpression, enterCaseStatement, enterCharacterLit, enterCharacterLiteral, enterClassBlock, enterColourLit, enterColourLiteral, enterCompilationUnit, enterComponentBlock, enterConstantBlock, enterConstantDeclaration, enterConstantInitialiser, enterConstrainDeclaration, enterConstrainType, enterDateLit, enterDateLiteral, enterDateTimeLit, enterDateTimeLiteral, enterDeclareArgumentParam, enterDecorationDimensionLiteral, enterDecorationResolutionLiteral, enterDefaultOperator, enterDict, enterDimensionLit, enterDirective, enterDirectivePart, enterDottedName, enterDurationLit, enterDurationLiteral, enterDynamicFunctionBody, enterElseOnlyBlock, enterEnumerationDeclaration, enterEveryRule, enterExpression, enterExpressionParam, enterExtendDeclaration, enterExtendPreamble, enterFloatingPointLit, enterFloatingPointLiteral, enterForLoop, enterForRange, enterFunctionBlock, enterGuardExpression, enterHttpAccess, enterHttpVerb, enterIdentifier, enterIdentifierReference, enterIfControlBlock, enterInitValuePair, enterIntegerLit, enterIntegerLiteral, enterList, enterMillisecondLit, enterMillisecondLiteral, enterModuleBlock, enterModuleDeclaration, enterMoneyLit, enterMoneyLiteral, enterObjectAccess, enterObjectAccessExpression, enterObjectAccessStart, enterObjectAccessType, enterOperationCall, enterOperationDetails, enterOperator, enterParameterisedArgs, enterParameterisedDetail, enterParameterisedParams, enterParameterisedType, enterParamExpression, enterPathLit, enterPathLiteral, enterPipelinePart, enterPreFlowAndControl, enterPreFlowStatement, enterPrimary, enterPrimaryReference, enterProgramBlock, enterRange, enterRecordBlock, enterReferencesBlock, enterRegExLit, enterRegisterStatement, enterRegularExpressionLiteral, enterResolutionLit, enterServiceBlock, enterSheBang, enterStatement, enterStreamCat, enterStreamExpression, enterStreamExpressionTermination, enterStreamFor, enterStreamPart, enterStreamSource, enterStreamStatement, enterStreamStatementTermination, enterStringLit, enterStringLiteral, enterStringPart, enterTextBlock, enterThrowStatement, enterTimeLit, enterTimeLiteral, enterTraitBlock, enterTraitPreamble, enterTraitReference, enterTraitsList, enterTypeBlock, enterTypeDef, enterVariableDeclaration, enterVariableOnlyDeclaration, 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, exitExpression, exitExpressionParam, exitExtendDeclaration, exitExtendPreamble, exitFloatingPointLit, exitFloatingPointLiteral, exitForLoop, exitForRange, exitFunctionBlock, exitGuardExpression, exitHttpAccess, exitHttpVerb, exitIdentifier, exitIdentifierReference, 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
-
ScopeStackConsistencyListener
-
-
Method Details
-
enterPackageBlock
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.packageBlock().The default implementation does nothing.
- Specified by:
enterPackageBlockin interfaceEK9Listener- Overrides:
enterPackageBlockin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterFunctionDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.functionDeclaration().The default implementation does nothing.
- Specified by:
enterFunctionDeclarationin interfaceEK9Listener- Overrides:
enterFunctionDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterRecordDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.recordDeclaration().The default implementation does nothing.
- Specified by:
enterRecordDeclarationin interfaceEK9Listener- Overrides:
enterRecordDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterTraitDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.traitDeclaration().The default implementation does nothing.
- Specified by:
enterTraitDeclarationin interfaceEK9Listener- Overrides:
enterTraitDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterClassDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.classDeclaration().The default implementation does nothing.
- Specified by:
enterClassDeclarationin interfaceEK9Listener- Overrides:
enterClassDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterComponentDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.componentDeclaration().The default implementation does nothing.
- Specified by:
enterComponentDeclarationin interfaceEK9Listener- Overrides:
enterComponentDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterTextDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.textDeclaration().The default implementation does nothing.
- Specified by:
enterTextDeclarationin interfaceEK9Listener- Overrides:
enterTextDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterTextBodyDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.textBodyDeclaration().The default implementation does nothing.
- Specified by:
enterTextBodyDeclarationin interfaceEK9Listener- Overrides:
enterTextBodyDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterServiceDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.serviceDeclaration().The default implementation does nothing.
- Specified by:
enterServiceDeclarationin interfaceEK9Listener- Overrides:
enterServiceDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterServiceOperationDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.serviceOperationDeclaration().The default implementation does nothing.
- Specified by:
enterServiceOperationDeclarationin interfaceEK9Listener- Overrides:
enterServiceOperationDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterApplicationDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.applicationDeclaration().The default implementation does nothing.
- Specified by:
enterApplicationDeclarationin interfaceEK9Listener- Overrides:
enterApplicationDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterDynamicClassDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.dynamicClassDeclaration().The default implementation does nothing.
- Specified by:
enterDynamicClassDeclarationin interfaceEK9Listener- Overrides:
enterDynamicClassDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterDynamicFunctionDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.dynamicFunctionDeclaration().The default implementation does nothing.
- Specified by:
enterDynamicFunctionDeclarationin interfaceEK9Listener- Overrides:
enterDynamicFunctionDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterDynamicVariableCapture
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.dynamicVariableCapture().The default implementation does nothing.
- Specified by:
enterDynamicVariableCapturein interfaceEK9Listener- Overrides:
enterDynamicVariableCapturein classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterMethodDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.methodDeclaration().The default implementation does nothing.
- Specified by:
enterMethodDeclarationin interfaceEK9Listener- Overrides:
enterMethodDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterOperatorDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.operatorDeclaration().The default implementation does nothing.
- Specified by:
enterOperatorDeclarationin interfaceEK9Listener- Overrides:
enterOperatorDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterTypeDeclaration
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.typeDeclaration().The default implementation does nothing.
- Specified by:
enterTypeDeclarationin interfaceEK9Listener- Overrides:
enterTypeDeclarationin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterIfStatement
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.ifStatement().The default implementation does nothing.
- Specified by:
enterIfStatementin interfaceEK9Listener- Overrides:
enterIfStatementin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterSwitchStatementExpression
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.switchStatementExpression().The default implementation does nothing.
- Specified by:
enterSwitchStatementExpressionin interfaceEK9Listener- Overrides:
enterSwitchStatementExpressionin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterForStatementExpression
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.forStatementExpression().The default implementation does nothing.
- Specified by:
enterForStatementExpressionin interfaceEK9Listener- Overrides:
enterForStatementExpressionin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterWhileStatementExpression
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.whileStatementExpression().The default implementation does nothing.
- Specified by:
enterWhileStatementExpressionin interfaceEK9Listener- Overrides:
enterWhileStatementExpressionin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterReturningParam
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.returningParam().The default implementation does nothing.
- Specified by:
enterReturningParamin interfaceEK9Listener- Overrides:
enterReturningParamin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterTryStatementExpression
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.tryStatementExpression().The default implementation does nothing.
- Specified by:
enterTryStatementExpressionin interfaceEK9Listener- Overrides:
enterTryStatementExpressionin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterCatchStatementExpression
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.catchStatementExpression().The default implementation does nothing.
- Specified by:
enterCatchStatementExpressionin interfaceEK9Listener- Overrides:
enterCatchStatementExpressionin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterFinallyStatementExpression
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.finallyStatementExpression().The default implementation does nothing.
- Specified by:
enterFinallyStatementExpressionin interfaceEK9Listener- Overrides:
enterFinallyStatementExpressionin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterTernaryPart
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.ternaryPart().The default implementation does nothing.
- Specified by:
enterTernaryPartin interfaceEK9Listener- Overrides:
enterTernaryPartin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterBlock
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.block().The default implementation does nothing.
- Specified by:
enterBlockin interfaceEK9Listener- Overrides:
enterBlockin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterSingleStatementBlock
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.singleStatementBlock().The default implementation does nothing.
- Specified by:
enterSingleStatementBlockin interfaceEK9Listener- Overrides:
enterSingleStatementBlockin classEK9BaseListener- Parameters:
ctx- the parse tree
-
enterInstructionBlock
Description copied from class:EK9BaseListenerEnter a parse tree produced byEK9Parser.instructionBlock().The default implementation does nothing.
- Specified by:
enterInstructionBlockin interfaceEK9Listener- Overrides:
enterInstructionBlockin classEK9BaseListener- Parameters:
ctx- the parse tree
-