Class ProgramConfinedSites
java.lang.Object
org.ek9lang.compiler.phase9.ProgramConfinedSites
- All Implemented Interfaces:
BiFunction<CompilableProgram, Collection<IRConstruct>, ConfinedSites>
public final class ProgramConfinedSites
extends Object
implements BiFunction<CompilableProgram, Collection<IRConstruct>, ConfinedSites>
THE
ConfinedSites of a whole program (N-V V1; mirror of ProgramPublishedValues): the emission
filter's type facts by fully qualified name and the program's fuse. A type a site stamp can matter for is
- a construct of the program's IR that is the program's own (never a core one - a core parameterisation the
program compiles for itself,
List of Integer, is judged by its leaves below), not[confined](its allocator already stamps), not[acyclic](never a candidate) and not an enumeration (its values are process-wide singletons) - a user class, record, component, dynamic class or function, a Scenario-3 parameterisation; - a core parameterisation the program knows (
_List_<digest>,_Dict_<digest>, ...) that is not[confined](IsConfinedType: confined when a leaf is a confined user type) and has a concrete type-argument leaf that may hold a reference - not childless (AcyclicTypes.CHILDLESS_CORE_TYPES) and not an enumeration:List of Node,Optional of Any,Dict of (String, Order); neverList of StringorOptional of Integer.
Stdout, TCP, MutexLock of T's own object) and a name the program does
not know are never stampable: the direction a doubt takes is no stamp. The fuse is what IR_ANALYSIS's tail recorded
(CompilableProgram.getDerivationContradictions(), DerivationContradictions); the conditional form
(V3) reads THE program's callee resolution (ProgramCalleeOfCall, as the publish rule does) and the
MutexKey test. ConfinePlacement and ConfineVerifier are handed the same one. Call under the
program lock, after the facts and records are stamped.-
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
-
ProgramConfinedSites
public ProgramConfinedSites()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<CompilableProgram, Collection<IRConstruct>, ConfinedSites>
-