Skip to main content

Module validation

Module validation 

Source

Enums§

ToolOutcome
What happened when one external checker was pointed at a generated file.
ToolValidation
Every checker’s verdict for one generated file.

Constants§

STRICT_ENV_VAR
Environment variable that turns on strict tool validation.

Functions§

strict_mode_enabled
Whether strict mode is on, read from STRICT_ENV_VAR.
validate_structural
Validate generated code structurally for a given backend. Returns a list of errors (empty = passed).
validate_with_tools
Validate generated code with the real compilers and linters for its language.