Uses of Class
org.ek9lang.antlr.EK9Parser.CallContext
Packages that use EK9Parser.CallContext
Package
Description
E - Initial Symbol definition by traversing the 'ANTLR' - 'AST'.
G - Full Symbol Resolution can now take place.
I - PRE Intermediate Representation generation checks.
Call graph infrastructure for EK9 compiler static analysis.
Contains critical general components used in the
Ek9Compiler listeners.-
Uses of EK9Parser.CallContext in org.ek9lang.antlr
Methods in org.ek9lang.antlr that return EK9Parser.CallContextModifier and TypeMethodDescriptionEK9Parser.AspectDeclarationContext.call(int i) final EK9Parser.CallContextEK9Parser.call()EK9Parser.CallContext.call()EK9Parser.CaseExpressionContext.call()EK9Parser.ExpressionContext.call()EK9Parser.ObjectAccessStartContext.call()EK9Parser.PipelinePartContext.call()EK9Parser.RegisterStatementContext.call()EK9Parser.StatementContext.call()EK9Parser.ThrowStatementContext.call()Methods in org.ek9lang.antlr that return types with arguments of type EK9Parser.CallContextMethods in org.ek9lang.antlr with parameters of type EK9Parser.CallContextModifier and TypeMethodDescriptionvoidEK9BaseListener.enterCall(EK9Parser.CallContext ctx) Enter a parse tree produced byEK9Parser.call().voidEK9Listener.enterCall(EK9Parser.CallContext ctx) Enter a parse tree produced byEK9Parser.call().voidEK9BaseListener.exitCall(EK9Parser.CallContext ctx) Exit a parse tree produced byEK9Parser.call().voidEK9Listener.exitCall(EK9Parser.CallContext ctx) Exit a parse tree produced byEK9Parser.call().EK9BaseVisitor.visitCall(EK9Parser.CallContext ctx) Visit a parse tree produced byEK9Parser.call().EK9Visitor.visitCall(EK9Parser.CallContext ctx) Visit a parse tree produced byEK9Parser.call(). -
Uses of EK9Parser.CallContext in org.ek9lang.compiler.phase1
Methods in org.ek9lang.compiler.phase1 with parameters of type EK9Parser.CallContext -
Uses of EK9Parser.CallContext in org.ek9lang.compiler.phase3
Classes in org.ek9lang.compiler.phase3 that implement interfaces with type arguments of type EK9Parser.CallContextModifier and TypeClassDescription(package private) final classDesigned to deal with this following part of the EK9 grammar.(package private) final classLocate a possible call to an identifierReference, so some sort of call.(package private) final classChecks for inappropriate use of 'sanitized' at function/method call sites.(package private) final classJust focus on resolving 'this' or 'super' in respect to a 'call'.Methods in org.ek9lang.compiler.phase3 with parameters of type EK9Parser.CallContextModifier and TypeMethodDescriptionvoidCallOrError.accept(EK9Parser.CallContext ctx) voidSanitizedAtCallSiteOrError.accept(EK9Parser.CallContext ctx) ResolveIdentifierReferenceCallOrError.apply(EK9Parser.CallContext ctx) ThisOrSuperCallOrError.apply(EK9Parser.CallContext ctx) voidExpressionsListener.exitCall(EK9Parser.CallContext ctx) -
Uses of EK9Parser.CallContext in org.ek9lang.compiler.phase5
Classes in org.ek9lang.compiler.phase5 that implement interfaces with type arguments of type EK9Parser.CallContextModifier and TypeClassDescription(package private) final classA constrained-type construction whose argument value is KNOWN at compile time and provably violates the constraint is an error (E08260), not a runtime Panic.(package private) final classAfter a this(...) call, the properties the delegated-to constructor sets have a value for the rest of the delegating constructor - and only those.(package private) final classDetects call chains deeper than one level (E11069).(package private) final classA construction call that reaches a constructor which leaves properties without a value (E08264).Methods in org.ek9lang.compiler.phase5 with parameters of type EK9Parser.CallContextModifier and TypeMethodDescriptionvoidConstrainedConstructionOrError.accept(EK9Parser.CallContext ctx) voidDelegatedConstructorInitialisation.accept(EK9Parser.CallContext ctx) Called once the call (and so its arguments) has been evaluated.voidExcessiveCallChainOrError.accept(EK9Parser.CallContext ctx) voidIncompleteConstructorCallOrError.accept(EK9Parser.CallContext ctx) (package private) voidCloseableSlotStoreOrError.acceptCall(EK9Parser.CallContext ctx) A call of the program's own method with no receiver written (register(items)) passes the object the calling method runs on, as its receiver.(package private) voidObjectUsedBeforeConstructedOrError.acceptCall(EK9Parser.CallContext ctx) A method called with no receiver - on the object itself - such astwice().(package private) voidCloseableSlotStoreOrError.acceptConstruction(EK9Parser.CallContext ctx) Every argument of a construction that is a closeable value but not a new one: the constructor may keep it (decided after every source is walked), and a constructor passing on its own parameter keeps what the constructor it calls keeps.(package private) voidCallableParameterOccurrences.acceptImplicitSelfCall(EK9Parser.CallContext ctx) A call written with no receiver that runs one of the program's own methods (register(items)): the receiver is the object the calling method runs on, passed on asthis.register(items)would be.(package private) voidObligationCensus.checkConstrainedConstruction(EK9Parser.CallContext ctx) Count a constrained-type construction (Age(expr)forAge constrain as ...) as aCONSTRAINED_CONSTRUCTIONobligation — a construction-timePanicrisk.voidConstructorFieldInitialisationListener.enterCall(EK9Parser.CallContext ctx) A this(...) call: which constructor of this aggregate it delegates to (phase 3 resolved and recorded it).voidLockAnalysisListener.enterCall(EK9Parser.CallContext ctx) voidPreIRListener.enterCall(EK9Parser.CallContext ctx) voidPreIRListener.exitCall(EK9Parser.CallContext ctx) voidRetractedComparatorUseOrError.exitCall(EK9Parser.CallContext ctx) D63: a construction ofPriorityQueue of Xwith no comparator orders byX's<=>.(package private) static ConstrainedConstructionResolver.SiteConstrainedConstructionResolver.resolve(EK9Parser.CallContext ctx, SymbolsAndScopes symbolsAndScopes) -
Uses of EK9Parser.CallContext in org.ek9lang.compiler.phase5.callgraph
Methods in org.ek9lang.compiler.phase5.callgraph with parameters of type EK9Parser.CallContext -
Uses of EK9Parser.CallContext in org.ek9lang.compiler.phase7.calls
Methods in org.ek9lang.compiler.phase7.calls that return EK9Parser.CallContextModifier and TypeMethodDescriptionCallProcessingDetails.callContext()Returns the value of thecallContextrecord component.Methods in org.ek9lang.compiler.phase7.calls with parameters of type EK9Parser.CallContextModifier and TypeMethodDescriptionstatic CallProcessingDetailsCallProcessingDetails.forExpression(EK9Parser.CallContext callContext, VariableDetails variableDetails) Create processing details for expression context (minimal memory management).static CallContextCallContext.forFunctionCall(ISymbol targetType, List<ISymbol> argumentTypes, String methodName, String targetVariable, List<String> argumentVariables, String scopeId, EK9Parser.CallContext parseContext) Create context for function call: function(args...)static CallProcessingDetailsCallProcessingDetails.forStatement(EK9Parser.CallContext callContext, VariableDetails variableDetails) Create processing details for statement context (full memory management).Constructors in org.ek9lang.compiler.phase7.calls with parameters of type EK9Parser.CallContextModifierConstructorDescriptionCallProcessingDetails(EK9Parser.CallContext callContext, VariableDetails variableDetails, boolean isStatementContext) Creates an instance of aCallProcessingDetailsrecord class. -
Uses of EK9Parser.CallContext in org.ek9lang.compiler.phase7.generator
Classes in org.ek9lang.compiler.phase7.generator that implement interfaces with type arguments of type EK9Parser.CallContextModifier and TypeClassDescriptionfinal classGenerates IR instructions for function/method calls.Methods in org.ek9lang.compiler.phase7.generator with parameters of type EK9Parser.CallContextModifier and TypeMethodDescriptionCallInstrGenerator.apply(EK9Parser.CallContext ctx, VariableDetails resultDetails) ConstructorCallProcessor.processChainStart(CallSymbol callSymbol, EK9Parser.CallContext callContext, String resultVariable, List<IRInstr> instructions) THE constructor call that STARTS an object-access chain -String(move).upperCase(),Holder(3).amount(),SomeText("en").message().voidConstructorCallProcessor.processConstructorCall(CallSymbol callSymbol, EK9Parser.CallContext callContext, String resultVariable, List<IRInstr> instructions) Process a constructor call that creates a new object and generate appropriate IR instructions - the owner is the (resolved) type of the constructor itself.voidConstructorCallProcessor.processDelegatingConstructorCall(CallSymbol callSymbol, EK9Parser.CallContext callContext, String resultVariable, String thisOrSuper, List<IRInstr> instructions) Process a delegating constructor call -this(...)orsuper(...)- whose target object is the receiver being constructed. -
Uses of EK9Parser.CallContext in org.ek9lang.compiler.support
Methods in org.ek9lang.compiler.support with parameters of type EK9Parser.CallContextModifier and TypeMethodDescriptionNaturalOrderQueue.elementTypeNeedingOrder(EK9Parser.CallContext ctx, CallSymbol callSymbol, Ek9Types ek9Types) The element type of the queue this written call constructs, when the construction needs a natural order: the call resolved to a constructor of a parameterisation ofPriorityQueue, and it is not directly the receiver of.withComparator(...).static Optional<PossibleGenericSymbol> TargetTypedConstruction.forCall(SymbolsAndScopes symbolsAndScopes, EK9Parser.CallContext call, ISymbol generic) The parameterisation a bareG()at this call is completed to from its declared target, if it has one.static booleanNaturalOrderQueue.isReceiverOfWithComparator(EK9Parser.CallContext ctx) True when the call is, as written, the receiver of.withComparator(...):(Q() of X).withComparator(c)orQ() of X .withComparator(c)- the queue is born with its comparator, in the one expression.BasicSymbolFactory.newCall(EK9Parser.CallContext ctx, IScope scope) Symbol to model some type of call to a function, dynamic function, constructor, this, super etc.SymbolFactory.newCall(EK9Parser.CallContext ctx, IScope scope) Symbol to model some type of call to a function, dynamic function, constructor, this, super etc.