Skip to main content

Module normalize

Module normalize 

Source
Expand description

Spec by example to node: a literal is optional and its own default, a type token is required, an object or array carries its children.

Structs§

Options
How a spec is read.

Functions§

literal_node
The node a literal stands for: optional, with the literal as its default.
normalize
Compile a spec into a node.
normalize_with
Compile a spec into a node, with options.