Skip to content

fontlabapp.features.classes.model

model

Simon Cozens' complete Clean Classes policy and real ordered writer.

Classes

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
apply function (bridge: Any, facts: Snapshot) -> dict[str, int] Fence the whole domain before the batch; failures retain Undo diagnosis.
changes function (facts: Snapshot) -> tuple[tuple[str, str, str], ...] Only missing tokens trigger writes; retain order/duplicates, join once.
render function (facts: Snapshot) -> str Show every proposed class replacement, including an empty result.
show function (backend: Any) -> Any Open the practical complete writer lazily through the shared registry.