Expand description
expand_ops — materialize op-variant choices.
Each (domain, op_type) that needs expansion has a matching arm
in lookup_expansion returning the ExpandFn to apply. Plain
match because the compiler runs at build time on a single
thread — a table behind a sync primitive would be overkill, and
a match makes the catalog trivially auditable. All expansions
stamp EXPANDED_KEY = "true" for idempotence.
Constants§
- EXPANDED_
KEY - Idempotence stamp key.
Functions§
- expand_
ops - Expand ops in-place per the static expansion registry. Pure.
Type Aliases§
- Expand
Fn - Per-op expansion function. Mutates the node in place; returns
Erronly on malformed input the compiler can’t recover from.