Reference
Purpose
One woven link — a name as a draft's prose spoke it, and the draft it reaches. The spoken form
and the reached name may differ: prose that says Cells reaches the draft named "Cell" when no
draft bears the plural itself, and the reference keeps both, so the emitter can wrap exactly the
text the author wrote while linking to the draft the author meant.
Attributes
- spoken: is
Textthat holds the name exactly as the prose spoke it - reached: is
Draftthat the mention reaches
Invariants
- The spoken name is not empty.
Scenarios
A reference keeps the spoken form and the reached draft
Given: the spoken name "Cells" and a Draft named "Cell" of the layer "mix" When: a Reference is created Then: it is accepted, its spoken name is "Cells", and it reaches the draft named "Cell"