Function regorust::regoSetWellFormedChecksEnabled
source ยท pub unsafe extern "C" fn regoSetWellFormedChecksEnabled(
rego: *mut regoInterpreter,
enabled: regoBoolean,
)
Expand description
Sets whether to perform well-formed checks after each compiler pass.
The interpreter has a set of well-formness definitions which indicate the expected form of the AST before and after each compiler pass. This setting determines whether the interpreter will perform these intermediary checks.
@param rego The interpreter. @param enabled Whether well-formed checks should be enabled.