Class ProgramCalleeOfCall

java.lang.Object
org.ek9lang.compiler.phase9.ProgramCalleeOfCall
All Implemented Interfaces:
BiFunction<CompilableProgram, Collection<IRConstruct>, CalleeOfCall>

final class ProgramCalleeOfCall extends Object implements BiFunction<CompilableProgram, Collection<IRConstruct>, CalleeOfCall>
THE CalleeOfCall of a whole program: over every aggregate and function the program knows by fully qualified name - core ones included - and every construct in its IR (a parameterisation such as _List_<digest> is found there, not by a search for its name), then a fully qualified search. One per program, built once under the program lock and handed to every reader of a call's callee (PublishedValues through ProgramPublishedValues, the escape record through EscapeFacts), so every phase-9 reader resolves a call the same way. Stateless: hold one.