package rescriptdep

  1. Overview
  2. Docs

Module Cmt_formatSource

Sourcetype binary_annots =
  1. | Packed of Obj.t * string list
  2. | Implementation of Obj.t
  3. | Interface of Obj.t
  4. | Partial_implementation of Obj.t
  5. | Partial_interface of Obj.t
Sourcetype cmt_infos = {
  1. cmt_modname : string;
  2. cmt_annots : binary_annots;
  3. cmt_value_dependencies : (Types.value_description * Types.value_description) list;
  4. cmt_comments : (string * unit) list;
  5. cmt_args : string array;
  6. cmt_sourcefile : string option;
  7. cmt_builddir : string;
  8. cmt_loadpath : string list;
  9. cmt_source_digest : string option;
  10. cmt_initial_env : Env.t;
  11. cmt_imports : (string * Digest.t option) list;
  12. cmt_interface_digest : Digest.t option;
  13. cmt_use_summaries : bool;
}
Sourceexception Error of string
Sourceval cmi_magic_prefix : string
Sourceval cmt_magic_prefix : string
Sourceval read_cmt : string -> cmt_infos
Sourceval read_cmt_with_magic : string -> string * cmt_infos
Sourceval read_cmi : string -> Cmi_format.cmi_infos