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