Class CallInstrGenerator

java.lang.Object
org.ek9lang.compiler.phase7.generator.AbstractGenerator
org.ek9lang.compiler.phase7.generator.CallInstrGenerator
All Implemented Interfaces:
BiFunction<EK9Parser.CallContext,VariableDetails,List<IRInstr>>

final class CallInstrGenerator extends AbstractGenerator implements BiFunction<EK9Parser.CallContext,VariableDetails,List<IRInstr>>
Generates IR instructions for function/method calls.

Handles:
- Function calls: functionName(args...)
- Method calls: object.methodName(args...)
- Parameter evaluation with proper memory management
- Return type resolution and metadata extraction
- CallInstr.call generation for function invocations