Module Brzo_ocaml_cmi
Compiled interfaces.
val read : B00.Memo.t -> B0_std.Fpath.t -> t B00.Memo.fiber
read f
reads an object file fromf
.
val file : t -> B0_std.Fpath.t
file cmi
is the file path ofcmi
.
val mod_ref : t -> B0_ocaml.Mod_ref.t
mod_ref cmi
is the module reference ofcmi
.
val deps : t -> B0_ocaml.Mod_ref.Set.t
deps cmi
is the set of modules interfaces imported bycmi
.
val mod_names : t -> B0_ocaml.Mod_name.Set.t
mod_names cmi
are the unqualified module names defined bycmi
(including its name). Sligthly wrong because stops at module aliases, these are not resolved to further cmis.
val pp : t B0_std.Fmt.t
pp
formats a compiled interface.