Uses of Class
org.ek9lang.antlr.EK9Parser.ReturningParamContext
Packages that use EK9Parser.ReturningParamContext
Package
Description
Common parts of processing that can be reused across various phases.
E - Initial Symbol definition by traversing the 'ANTLR' - 'AST'.
F - Resolution of Explicitly Defined Type Symbols - at this point phase3 processing should have defined
most of the explicitly defined symbols, so they should be resolvable.
G - Full Symbol Resolution can now take place.
I - PRE Intermediate Representation generation checks.
Contains critical general components used in the
Ek9Compiler listeners.-
Uses of EK9Parser.ReturningParamContext in org.ek9lang.antlr
Methods in org.ek9lang.antlr that return EK9Parser.ReturningParamContextModifier and TypeMethodDescriptionEK9Parser.ForStatementExpressionContext.returningParam()EK9Parser.OperationDetailsContext.returningParam()EK9Parser.returningParam()EK9Parser.SwitchStatementExpressionContext.returningParam()EK9Parser.TryStatementExpressionContext.returningParam()EK9Parser.WhileStatementExpressionContext.returningParam()Methods in org.ek9lang.antlr with parameters of type EK9Parser.ReturningParamContextModifier and TypeMethodDescriptionvoidEK9BaseListener.enterReturningParam(EK9Parser.ReturningParamContext ctx) Enter a parse tree produced byEK9Parser.returningParam().voidEK9Listener.enterReturningParam(EK9Parser.ReturningParamContext ctx) Enter a parse tree produced byEK9Parser.returningParam().voidEK9BaseListener.exitReturningParam(EK9Parser.ReturningParamContext ctx) Exit a parse tree produced byEK9Parser.returningParam().voidEK9Listener.exitReturningParam(EK9Parser.ReturningParamContext ctx) Exit a parse tree produced byEK9Parser.returningParam().EK9BaseVisitor.visitReturningParam(EK9Parser.ReturningParamContext ctx) Visit a parse tree produced byEK9Parser.returningParam().EK9Visitor.visitReturningParam(EK9Parser.ReturningParamContext ctx) Visit a parse tree produced byEK9Parser.returningParam(). -
Uses of EK9Parser.ReturningParamContext in org.ek9lang.compiler.common
Methods in org.ek9lang.compiler.common with parameters of type EK9Parser.ReturningParamContextModifier and TypeMethodDescriptionvoidScopeStackConsistencyListener.enterReturningParam(EK9Parser.ReturningParamContext ctx) voidAbstractEK9PhaseListener.exitReturningParam(EK9Parser.ReturningParamContext ctx) -
Uses of EK9Parser.ReturningParamContext in org.ek9lang.compiler.phase1
Classes in org.ek9lang.compiler.phase1 that implement interfaces with type arguments of type EK9Parser.ReturningParamContextModifier and TypeClassDescription(package private) classChecks that if a return is used.Methods in org.ek9lang.compiler.phase1 with parameters of type EK9Parser.ReturningParamContextModifier and TypeMethodDescriptionvoidValidPreFlowAndReturnOrError.accept(EK9Parser.PreFlowStatementContext preFlowStatementContext, EK9Parser.ReturningParamContext returningParamContext) voidDefinitionListener.enterReturningParam(EK9Parser.ReturningParamContext ctx) A local scope is used to hold the returning parameter.voidDefinitionListener.exitReturningParam(EK9Parser.ReturningParamContext ctx) A bit tricky or more not like many other methods. -
Uses of EK9Parser.ReturningParamContext in org.ek9lang.compiler.phase2
Methods in org.ek9lang.compiler.phase2 with parameters of type EK9Parser.ReturningParamContextModifier and TypeMethodDescriptionvoidResolveDefineExplicitTypeListener.exitReturningParam(EK9Parser.ReturningParamContext ctx) It's important to reprocess this now, just to ensure that any returning types are defined on methods. -
Uses of EK9Parser.ReturningParamContext in org.ek9lang.compiler.phase3
Classes in org.ek9lang.compiler.phase3 that implement interfaces with type arguments of type EK9Parser.ReturningParamContextModifier and TypeClassDescription(package private) final classLooks at the returning param (if not null) and sets the symbol type as appropriate.Methods in org.ek9lang.compiler.phase3 with parameters of type EK9Parser.ReturningParamContextModifier and TypeMethodDescriptionvoidSetTypeFromReturningParam.accept(ISymbol symbol, EK9Parser.ReturningParamContext ctx) -
Uses of EK9Parser.ReturningParamContext in org.ek9lang.compiler.phase5
Methods in org.ek9lang.compiler.phase5 with parameters of type EK9Parser.ReturningParamContextModifier and TypeMethodDescriptionprotected voidPossibleExpressionConstruct.returningVariableValidOrError(EK9Parser.ReturningParamContext ctx, IScope constructScope, boolean noGuardExpression) -
Uses of EK9Parser.ReturningParamContext in org.ek9lang.compiler.phase7.generator
Methods in org.ek9lang.compiler.phase7.generator with parameters of type EK9Parser.ReturningParamContextModifier and TypeMethodDescriptionReturningParamProcessor.createDebugInfo(EK9Parser.ReturningParamContext ctx) Create debug info from the returningParam context.ReturningParamProcessor.getReturnSymbol(EK9Parser.ReturningParamContext ctx) Extract the return variable symbol from a returningParam context.ReturningParamProcessor.getReturnVariableName(EK9Parser.ReturningParamContext ctx) Get the return variable name in IR format.ReturningParamProcessor.getReturnVariableType(EK9Parser.ReturningParamContext ctx) Get the return variable type name in EK9 format.booleanReturningParamProcessor.isExpressionForm(EK9Parser.ReturningParamContext ctx) Check if a returningParam context represents an expression form.ReturningParamProcessor.process(EK9Parser.ReturningParamContext ctx, String scopeId) Process a returningParam context and extract return variable details.protected voidAbstractGenerator.validateStatementFormOnly(EK9Parser.ReturningParamContext returningParamCtx, String constructName) Validate that expression form (returningParam) is not used. -
Uses of EK9Parser.ReturningParamContext in org.ek9lang.compiler.support
Methods in org.ek9lang.compiler.support with parameters of type EK9Parser.ReturningParamContextModifier and TypeMethodDescriptionprotected voidCheckReturns.returningParamOrError(boolean isStatement, IToken parentToken, EK9Parser.ReturningParamContext returningParamCtx)