Class ExpressionsListener
- All Implemented Interfaces:
 org.antlr.v4.runtime.tree.ParseTreeListener, EK9Listener
- Direct Known Subclasses:
 ResolveDefineInferredTypeListener
- 
Field Summary
FieldsFields inherited from class AbstractEK9PhaseListener
symbolsAndScopes - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced byEK9Parser.switchStatementExpression().voidEnter a parse tree produced byEK9Parser.tryStatementExpression().voidEnter a parse tree produced byEK9Parser.whileStatementExpression().voidExit a parse tree produced byEK9Parser.assertStatement().voidExit a parse tree produced byEK9Parser.assignmentExpression().voidExit a parse tree produced byEK9Parser.assignmentStatement().voidExit a parse tree produced byEK9Parser.call().voidExit a parse tree produced byEK9Parser.dict().voidExit a parse tree produced byEK9Parser.expression().voidExit a parse tree produced byEK9Parser.forLoop().voidExit a parse tree produced byEK9Parser.forRange().voidExit a parse tree produced byEK9Parser.forStatementExpression().voidExit a parse tree produced byEK9Parser.guardExpression().voidExit a parse tree produced byEK9Parser.identifierReference().voidExit a parse tree produced byEK9Parser.ifStatement().voidExit a parse tree produced byEK9Parser.instructionBlock().voidExit a parse tree produced byEK9Parser.list().voidExit a parse tree produced byEK9Parser.objectAccessExpression().voidExit a parse tree produced byEK9Parser.objectAccessStart().voidExit a parse tree produced byEK9Parser.pipelinePart().voidExit a parse tree produced byEK9Parser.preFlowStatement().voidExit a parse tree produced byEK9Parser.primary().voidExit a parse tree produced byEK9Parser.primaryReference().voidExit a parse tree produced byEK9Parser.range().voidExit a parse tree produced byEK9Parser.statement().voidExit a parse tree produced byEK9Parser.streamCat().voidExit a parse tree produced byEK9Parser.streamExpression().voidExit a parse tree produced byEK9Parser.streamExpressionTermination().voidExit a parse tree produced byEK9Parser.streamFor().voidExit a parse tree produced byEK9Parser.streamStatement().voidExit a parse tree produced byEK9Parser.streamStatementTermination().voidExit a parse tree produced byEK9Parser.switchStatementExpression().voidExit a parse tree produced byEK9Parser.throwStatement().voidExit a parse tree produced byEK9Parser.traitReference().voidExit a parse tree produced byEK9Parser.tryStatementExpression().voidExit a parse tree produced byEK9Parser.variableDeclaration().voidExit a parse tree produced byEK9Parser.variableOnlyDeclaration().voidExit a parse tree produced byEK9Parser.whileStatementExpression().Methods inherited from class ScopeStackConsistencyListener
enterApplicationDeclaration, enterBlock, enterCatchStatementExpression, enterClassDeclaration, enterComponentDeclaration, enterDynamicClassDeclaration, enterDynamicFunctionDeclaration, enterDynamicVariableCapture, enterFinallyStatementExpression, enterForStatementExpression, enterFunctionDeclaration, enterIfStatement, enterInstructionBlock, enterMethodDeclaration, enterOperatorDeclaration, enterPackageBlock, enterRecordDeclaration, enterReturningParam, enterServiceDeclaration, enterServiceOperationDeclaration, enterSingleStatementBlock, enterTernaryPart, enterTextBodyDeclaration, enterTextDeclaration, enterTraitDeclaration, enterTypeDeclarationMethods inherited from class AbstractEK9PhaseListener
exitApplicationDeclaration, exitBlock, exitCatchStatementExpression, exitClassDeclaration, exitComponentDeclaration, exitDynamicClassDeclaration, exitDynamicFunctionDeclaration, exitDynamicVariableCapture, exitFinallyStatementExpression, exitFunctionDeclaration, exitMethodDeclaration, exitModuleDeclaration, exitOperatorDeclaration, exitPackageBlock, exitRecordDeclaration, exitReturningParam, exitServiceDeclaration, exitServiceOperationDeclaration, exitSingleStatementBlock, exitTernaryPart, exitTextBodyDeclaration, exitTextDeclaration, exitTraitDeclaration, exitTypeDeclaration, 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, enterModuleSegment, 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, exitBinaryLit, exitBinaryLiteral, exitBlockStatement, exitBooleanLit, exitBooleanLiteral, exitCaseExpression, exitCaseStatement, exitCharacterLit, exitCharacterLiteral, exitClassBlock, exitColourLit, exitColourLiteral, exitCompilationUnit, exitComponentBlock, exitConstantBlock, exitConstantDeclaration, exitConstantInitialiser, exitConstrainDeclaration, exitConstrainType, exitDateLit, exitDateLiteral, exitDateTimeLit, exitDateTimeLiteral, exitDeclareArgumentParam, exitDecorationDimensionLiteral, exitDecorationResolutionLiteral, exitDefaultOperator, exitDimensionLit, exitDirective, exitDirectivePart, exitDottedName, exitDurationLit, exitDurationLiteral, exitDynamicFunctionBody, exitElseOnlyBlock, exitEnumerationDeclaration, exitEveryRule, exitExpressionParam, exitExtendDeclaration, exitExtendPreamble, exitFloatingPointLit, exitFloatingPointLiteral, exitFunctionBlock, exitHttpAccess, exitHttpVerb, exitIdentifier, exitIfControlBlock, exitInitValuePair, exitIntegerLit, exitIntegerLiteral, exitMillisecondLit, exitMillisecondLiteral, exitModuleBlock, exitModuleSegment, exitMoneyLit, exitMoneyLiteral, exitObjectAccess, exitObjectAccessType, exitOperationCall, exitOperationDetails, exitOperator, exitParameterisedArgs, exitParameterisedDetail, exitParameterisedParams, exitParameterisedType, exitParamExpression, exitPathLit, exitPathLiteral, exitPreFlowAndControl, exitProgramBlock, exitRecordBlock, exitReferencesBlock, exitRegExLit, exitRegisterStatement, exitRegularExpressionLiteral, exitResolutionLit, exitServiceBlock, exitSheBang, exitStreamPart, exitStreamSource, exitStringLit, exitStringLiteral, exitStringPart, exitTextBlock, exitTimeLit, exitTimeLiteral, exitTraitBlock, exitTraitPreamble, exitTraitsList, exitTypeBlock, exitTypeDef, exitVersionNumberLit, exitVersionNumberLiteral, exitWebVariableCorrelation, visitErrorNode, visitTerminal 
- 
Field Details
- 
symbolFactory
 - 
errorListener
 
 - 
 - 
Constructor Details
- 
ExpressionsListener
 
 - 
 - 
Method Details
- 
exitIdentifierReference
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.identifierReference().The default implementation does nothing.
- Specified by:
 exitIdentifierReferencein interfaceEK9Listener- Overrides:
 exitIdentifierReferencein classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitTraitReference
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.traitReference().The default implementation does nothing.
- Specified by:
 exitTraitReferencein interfaceEK9Listener- Overrides:
 exitTraitReferencein classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitPrimaryReference
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.primaryReference().The default implementation does nothing.
- Specified by:
 exitPrimaryReferencein interfaceEK9Listener- Overrides:
 exitPrimaryReferencein classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitPrimary
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.primary().The default implementation does nothing.
- Specified by:
 exitPrimaryin interfaceEK9Listener- Overrides:
 exitPrimaryin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitCall
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.call().The default implementation does nothing.
- Specified by:
 exitCallin interfaceEK9Listener- Overrides:
 exitCallin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitList
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.list().The default implementation does nothing.
- Specified by:
 exitListin interfaceEK9Listener- Overrides:
 exitListin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitDict
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.dict().The default implementation does nothing.
- Specified by:
 exitDictin interfaceEK9Listener- Overrides:
 exitDictin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitRange
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.range().The default implementation does nothing.
- Specified by:
 exitRangein interfaceEK9Listener- Overrides:
 exitRangein classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitForLoop
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.forLoop().The default implementation does nothing.
- Specified by:
 exitForLoopin interfaceEK9Listener- Overrides:
 exitForLoopin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitForRange
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.forRange().The default implementation does nothing.
- Specified by:
 exitForRangein interfaceEK9Listener- Overrides:
 exitForRangein classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitStatement
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.statement().The default implementation does nothing.
- Specified by:
 exitStatementin interfaceEK9Listener- Overrides:
 exitStatementin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitExpression
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.expression().The default implementation does nothing.
- Specified by:
 exitExpressionin interfaceEK9Listener- Overrides:
 exitExpressionin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitAssignmentExpression
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.assignmentExpression().The default implementation does nothing.
- Specified by:
 exitAssignmentExpressionin interfaceEK9Listener- Overrides:
 exitAssignmentExpressionin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitAssignmentStatement
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.assignmentStatement().The default implementation does nothing.
- Specified by:
 exitAssignmentStatementin interfaceEK9Listener- Overrides:
 exitAssignmentStatementin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitIfStatement
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.ifStatement().The default implementation does nothing.
- Specified by:
 exitIfStatementin interfaceEK9Listener- Overrides:
 exitIfStatementin classAbstractEK9PhaseListener- Parameters:
 ctx- the parse tree
 - 
exitPreFlowStatement
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.preFlowStatement().The default implementation does nothing.
- Specified by:
 exitPreFlowStatementin interfaceEK9Listener- Overrides:
 exitPreFlowStatementin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitGuardExpression
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.guardExpression().The default implementation does nothing.
- Specified by:
 exitGuardExpressionin interfaceEK9Listener- Overrides:
 exitGuardExpressionin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitForStatementExpression
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.forStatementExpression().The default implementation does nothing.
- Specified by:
 exitForStatementExpressionin interfaceEK9Listener- Overrides:
 exitForStatementExpressionin classAbstractEK9PhaseListener- 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 classScopeStackConsistencyListener- Parameters:
 ctx- the parse tree
 - 
exitWhileStatementExpression
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.whileStatementExpression().The default implementation does nothing.
- Specified by:
 exitWhileStatementExpressionin interfaceEK9Listener- Overrides:
 exitWhileStatementExpressionin classAbstractEK9PhaseListener- 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 classScopeStackConsistencyListener- Parameters:
 ctx- the parse tree
 - 
exitSwitchStatementExpression
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.switchStatementExpression().The default implementation does nothing.
- Specified by:
 exitSwitchStatementExpressionin interfaceEK9Listener- Overrides:
 exitSwitchStatementExpressionin classAbstractEK9PhaseListener- 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 classScopeStackConsistencyListener- Parameters:
 ctx- the parse tree
 - 
exitAssertStatement
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.assertStatement().The default implementation does nothing.
- Specified by:
 exitAssertStatementin interfaceEK9Listener- Overrides:
 exitAssertStatementin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitThrowStatement
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.throwStatement().The default implementation does nothing.
- Specified by:
 exitThrowStatementin interfaceEK9Listener- Overrides:
 exitThrowStatementin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitTryStatementExpression
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.tryStatementExpression().The default implementation does nothing.
- Specified by:
 exitTryStatementExpressionin interfaceEK9Listener- Overrides:
 exitTryStatementExpressionin classAbstractEK9PhaseListener- Parameters:
 ctx- the parse tree
 - 
exitInstructionBlock
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.instructionBlock().The default implementation does nothing.
- Specified by:
 exitInstructionBlockin interfaceEK9Listener- Overrides:
 exitInstructionBlockin classAbstractEK9PhaseListener- Parameters:
 ctx- the parse tree
 - 
exitObjectAccessStart
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.objectAccessStart().The default implementation does nothing.
- Specified by:
 exitObjectAccessStartin interfaceEK9Listener- Overrides:
 exitObjectAccessStartin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitObjectAccessExpression
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.objectAccessExpression().The default implementation does nothing.
- Specified by:
 exitObjectAccessExpressionin interfaceEK9Listener- Overrides:
 exitObjectAccessExpressionin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitVariableDeclaration
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.variableDeclaration().The default implementation does nothing.
- Specified by:
 exitVariableDeclarationin interfaceEK9Listener- Overrides:
 exitVariableDeclarationin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitVariableOnlyDeclaration
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.variableOnlyDeclaration().The default implementation does nothing.
- Specified by:
 exitVariableOnlyDeclarationin interfaceEK9Listener- Overrides:
 exitVariableOnlyDeclarationin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitStreamCat
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.streamCat().The default implementation does nothing.
- Specified by:
 exitStreamCatin interfaceEK9Listener- Overrides:
 exitStreamCatin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitStreamFor
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.streamFor().The default implementation does nothing.
- Specified by:
 exitStreamForin interfaceEK9Listener- Overrides:
 exitStreamForin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitPipelinePart
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.pipelinePart().The default implementation does nothing.
- Specified by:
 exitPipelinePartin interfaceEK9Listener- Overrides:
 exitPipelinePartin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitStreamStatementTermination
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.streamStatementTermination().The default implementation does nothing.
- Specified by:
 exitStreamStatementTerminationin interfaceEK9Listener- Overrides:
 exitStreamStatementTerminationin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitStreamStatement
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.streamStatement().The default implementation does nothing.
- Specified by:
 exitStreamStatementin interfaceEK9Listener- Overrides:
 exitStreamStatementin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitStreamExpressionTermination
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.streamExpressionTermination().The default implementation does nothing.
- Specified by:
 exitStreamExpressionTerminationin interfaceEK9Listener- Overrides:
 exitStreamExpressionTerminationin classEK9BaseListener- Parameters:
 ctx- the parse tree
 - 
exitStreamExpression
Description copied from class:EK9BaseListenerExit a parse tree produced byEK9Parser.streamExpression().The default implementation does nothing.
- Specified by:
 exitStreamExpressionin interfaceEK9Listener- Overrides:
 exitStreamExpressionin classEK9BaseListener- Parameters:
 ctx- the parse tree
 
 -