Melange_ppx_lib.Ast_util
In general three kinds of ast generation.
type label_exprs =
list((Asttypes.loc(Longident.t), Melange_compiler_libs.Parsetree.expression));
let js_property:
Melange_compiler_libs.Location.t =>
Melange_compiler_libs.Parsetree.expression =>
string =>
Melange_compiler_libs.Parsetree.expression_desc;
let ocaml_obj_as_js_object:
Melange_compiler_libs.Location.t =>
Melange_compiler_libs.Ast_mapper.mapper =>
Melange_compiler_libs.Parsetree.pattern =>
list(Melange_compiler_libs.Parsetree.class_field) =>
Melange_compiler_libs.Parsetree.expression_desc;