Optional Readonly___params_nonexistent_at_runtime?: POptional Readonly___rules_nonexistent_at_runtime?: RPhantom brands (never set at runtime): the rule names this combinator tree can invoke, and the parameter names it can reference. They live at the top level, outside the per-operation union, because TypeScript gets very confused when you try to have it infer recursively into union members.
A single grammar node. Combinators are plain serializable data (no functions), so grammars can be built, inspected, and patched as values. Each operation has its own subtype with explicitly named fields; the per-operation definitions (how a node is created, parsed, hashed, and rendered) live together in the
opDefstable below.