Module Merlin_index_format.Index_formatSource
Source
type 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;
}add tbl uid locs adds a binding of uid to the locations locs. If this key is already present the locations are merged.
Source
type file_content = | Cmt of Ocaml_typing.Cmt_format.cmt_infos| Cms of Ocaml_typing.Cms_format.cms_infos| Index of index| Unknown