Uses of Record Class
org.ek9lang.compiler.phase7.calls.CallContext
Packages that use CallContext
-
Uses of CallContext in org.ek9lang.compiler.phase7.calls
Classes in org.ek9lang.compiler.phase7.calls that implement interfaces with type arguments of type CallContextModifier and TypeClassDescriptionfinal classComposable builder for creating CallDetails with cost-based method resolution and promotion support.final classProcesses method call parameters to determine if promotion is required.Methods in org.ek9lang.compiler.phase7.calls that return CallContextModifier and TypeMethodDescriptionstatic CallContextCallContext.forBinaryOperation(ISymbol leftType, ISymbol rightType, ISymbol returnType, String methodName, String leftVariable, String rightVariable, String scopeId) Create context for binary operation: left.method(right)static CallContextCallContext.forBinaryOperationWithContext(ISymbol leftType, ISymbol rightType, ISymbol returnType, String methodName, String leftVariable, String rightVariable, String scopeId, org.antlr.v4.runtime.ParserRuleContext parseContext) Create context for binary operation with parseContext: left.method(right) Used when Phase 3 has already resolved the method (e.g., switch case comparisons)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 CallContextCallContext.forUnaryOperation(ISymbol targetType, String methodName, String targetVariable, ISymbol returnType, String scopeId) Create context for unary operation: target.method()Methods in org.ek9lang.compiler.phase7.calls with parameters of type CallContextModifier and TypeMethodDescriptionCallDetailsBuilder.apply(CallContext context) ParameterPromotionProcessor.apply(CallContext context, MethodResolutionResult methodResolution) ParameterPromotionProcessor.apply(CallContext context, IScopedSymbol scopedSymbol) Apply parameter promotion for any scoped symbol (method or function).