Up

module Atd_inherit

: sig

Expansion of inherit statements

#
val expand_module_body : ?inherit_fields:bool -> ?inherit_variants:bool -> Atd_ast.module_body -> Atd_ast.module_body

Expand inherit statements found in sum types and product types.

inherit_fields specify whether record fields should be expanded. Default is true.
inherit_variants specify whether sum types should be expanded. Default is true.
end