Merlin_index_format.Index_formatmodule Lid : sig ... endmodule Lid_set : Granular_set.S with type elt = Lid.tmodule Uid_set = Ocaml_typing.Shape.Uid.Setmodule Uid_map : Granular_map.S with type key = Ocaml_typing.Shape.Uid.tmodule Union_find : sig ... endtype index = {defs : Lid_set.t Uid_map.t;approximated : Lid_set.t Uid_map.t;cu_shape : (Ocaml_typing.Compilation_unit.t, Ocaml_typing.Shape.t) Hashtbl.t;stats : stat Stats.t;root_directory : string option;}val pp : Format.formatter -> index -> unitadd tbl uid locs adds a binding of uid to the locations locs. If this key is already present the locations are merged.
type file_content = | Cmt of Ocaml_typing.Cmt_format.cmt_infos| Cms of Ocaml_typing.Cms_format.cms_infos| Index of index| Unknownval write : file:string -> index -> unitval read : file:string -> file_contentval read_exn : file:string -> index