Expand description
Input filters: idempotent, per-cell domain constraints.
A Filter conforms or rejects a value written externally to its cell, applied
live by crate::sheet::Sheet::propagate against a source cell’s own current
value (see crate::sheet::Sheet::add_filter), and is separately re-evaluated as
a non-gating diagnostic against a value a relationship’s method derives for that
cell (also in crate::sheet::Sheet::propagate).
Structs§
- Filter
- An idempotent, per-cell domain constraint with optional dynamic arguments.
Enums§
- Filter
Kind - What shape of validation/derivation a
Filterperforms, beyond its opaque function — set byadam-lang’s compile phase when a filter’s expression matches a recognized structural form.Opaquecarries no extra information; consumers that don’t care about structure treat every kind identically at write/propagate time —FilterKindis purely informational, queried by consumers likebegin’s UI that want to render a specialized editor without inspecting the filter’s function. - Filter
Violation - The outcome of re-checking a filter against a value a relationship’s method derived, rather than a value written externally.