Wax_lang.Cond_specializeSourceSpecialization of Wax conditional annotations (#[if(...)] / #[else]) against user-supplied variable bindings, the Wax-AST counterpart of Wax_wasm.Cond_specialize.module_.
val module_ :
Wax_utils.Diagnostic.context ->
Wax_wasm.Cond_specialize.bindings ->
Ast.location Ast.module_ ->
Ast.location Ast.module_ * (int * int) listSplice out and simplify every conditional annotation in a Wax module, according to Wax_wasm.Cond_specialize.eval. Returns the specialized module and the half-open byte ranges of the branches that were removed, for dropping their comments (see Wax_utils.Trivia.drop_in_ranges). With empty bindings this is the identity and no range is produced.