Class ParameterPromotionProcessor

java.lang.Object
org.ek9lang.compiler.phase7.calls.ParameterPromotionProcessor
All Implemented Interfaces:
BiFunction<CallContext,MethodResolutionResult,PromotionResult>

public final class ParameterPromotionProcessor extends Object implements BiFunction<CallContext,MethodResolutionResult,PromotionResult>
Processes method call parameters to determine if promotion is required. Implements parameter-by-parameter checking following EK9's cost-based method resolution. Only allows single promotion per parameter as per EK9 design rules.