Class UnificationEquivalenceRegistry
java.lang.Object
ca.mcscert.jpipe.operators.UnificationEquivalenceRegistry
Name-to-
EquivalenceRelation registry used by Unifier for the
automatic post-composition unification phase.
Populated at compiler startup with built-in relations; looked up at
model-build time via the unifyBy config parameter.
SameShortId is intentionally not registered here — it is reserved for
Phase 1 operator equivalence only.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value registered undername, or empty if none was registered.protected final voidput(String name, EquivalenceRelation value) Storesvalueundername.voidregister(String name, EquivalenceRelation relation) Registersrelationundername.Read-only view of all registered names.
-
Constructor Details
-
UnificationEquivalenceRegistry
public UnificationEquivalenceRegistry()
-
-
Method Details
-
register
Registersrelationundername. -
put
Storesvalueundername. -
find
Returns the value registered undername, or empty if none was registered. -
registeredNames
-