Class CalleeOfCall
java.lang.Object
org.ek9lang.compiler.phase9.CalleeOfCall
- All Implemented Interfaces:
Function<CallInstr, Optional<ScopedSymbol>>
THE symbol an IR call runs, read back from what the call names: its target type (a user construct of the program's
IR first, else a type or function the program resolves by fully qualified name - a core type, a parameterisation),
the method by its IR name (
OperatorMap.resolvedMethodName(MethodSymbol), so _addAss finds +=) and the
fully qualified types of its parameters; a function's _call is the function itself. Empty when the names do
not lead to exactly one symbol. Phase 9 needs it where a fact of the callee - what it may keep, RETAINS - decides an
IR statement (the store barrier, S2b); the call itself carries only names.-
Constructor Details
-
CalleeOfCall
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<CallInstr, Optional<ScopedSymbol>>
-