Cmt_formattype binary_annots = | Packed of Types.signature * string list| Implementation of Typedtree.structure| Interface of Typedtree.signature| Partial_implementation of binary_part array| Partial_interface of binary_part arrayand binary_part = | Partial_structure of Typedtree.structure| Partial_structure_item of Typedtree.structure_item| Partial_expression of Typedtree.expression| Partial_pattern : 'k Typedtree.pattern_category
* 'k Typedtree.general_pattern -> binary_part| Partial_class_expr of Typedtree.class_expr| Partial_signature of Typedtree.signature| Partial_signature_item of Typedtree.signature_item| Partial_module_type of Typedtree.module_typetype cmt_infos = {cmt_modname : Misc.modname;cmt_annots : binary_annots;cmt_declaration_dependencies : (dependency_kind
* Typedtree.Uid.t
* Typedtree.Uid.t)
list;cmt_comments : (string * Location.t) list;cmt_args : string array;cmt_sourcefile : string option;cmt_builddir : string;cmt_loadpath : Load_path.paths;cmt_source_digest : string option;cmt_initial_env : Env.t;cmt_imports : Misc.crcs;cmt_interface_digest : Digest.t option;cmt_use_summaries : bool;cmt_uid_to_decl : Typedtree.item_declaration Shape.Uid.Tbl.t;cmt_impl_shape : Shape.t option;cmt_ident_occurrences : (Longident.t Location.loc * Shape_reduce.result) list;}exception Error of errorval read : string -> Cmi_format.cmi_infos option * cmt_infos optionval read_cmt : string -> cmt_infosval read_cmi : string -> Cmi_format.cmi_infosval save_cmt :
Unit_info.Artifact.t ->
binary_annots ->
Env.t ->
Cmi_format.cmi_infos option ->
Shape.t option ->
unitval read_magic_number : in_channel -> stringval add_saved_type : binary_part -> unitval get_saved_types : unit -> binary_part listval set_saved_types : binary_part list -> unitval record_declaration_dependency :
(dependency_kind * Typedtree.Uid.t * Typedtree.Uid.t) ->
unit