Class FunctionCallProcessor

java.lang.Object
org.ek9lang.compiler.phase7.generator.FunctionCallProcessor
All Implemented Interfaces:
Function<CallProcessingDetails,List<IRInstr>>

public final class FunctionCallProcessor extends Object implements Function<CallProcessingDetails,List<IRInstr>>
Unified function call processor using CallDetailsBuilder for method resolution and promotion. Handles both statement and expression contexts with appropriate memory management.

This component replaces the duplicate function call logic in CallInstrGenerator and ExprInstrGenerator, providing consistent method resolution and automatic promotion across all function call contexts.