Expand description
The compiled form of a spec: a tree of nodes, each a kind with its flags, its children and its validators.
Structs§
- Node
- A node of the compiled tree.
- Validator
- A custom check attached to a node, before or after its structural check.
Enums§
- Kind
- The kind of value a node accepts. The names are the TypeScript ones, which the messages use.
- List
Mode - How a composition node judges its branches.
- Token
- A type token: the required kind a spec names by its constructor in
TypeScript (
String,Number, …).
Type Aliases§
- Validator
Fn - The function of a custom validator: the current state and an update to fill in; true to pass.