Skip to main content

Module validate

Module validate 

Source
Expand description

The publication validator: run once per code unit, so the main loop can index registers, constants, children and targets without further checks. A failure is an internal error of the lowering, never a JavaScript exception.

Structs§

ValidateError

Enums§

ValidateErrorKind

Functions§

validate
Checks every operand of unit. published finds the units already in the store; children must be among them.