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.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(CompilableProgram program, Collection<IRConstruct> constructs) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiFunction
andThen
-
Constructor Details
-
ProgramCalleeOfCall
ProgramCalleeOfCall()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<CompilableProgram, Collection<IRConstruct>, CalleeOfCall>
-