package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-5.5-503.tbz
sha256=67da3b34f2fea07678267309f61da4a2c6f08298de0dc59655b8d30fd8269af1
sha512=1fb3b5180d36aa82b82a319e15b743b802b6888f0dc67645baafdb4e18dfc23a7b90064ec9bc42f7424061cf8cde7f8839178d8a8537bf4596759f3ff4891873

doc/merlin-lib.index_format/Merlin_index_format/Index_format/index.html

Module Merlin_index_format.Index_formatSource

Sourceexception Not_an_index of string
Sourceval ext : string
Sourceval magic_number : string
Sourcemodule Lid : sig ... end
Sourcemodule Lid_set : Granular_set.S with type elt = Lid.t
Sourcemodule Stats : Map.S with type key = String.t
Sourcemodule Union_find : sig ... end
Sourcetype stat = {
  1. mtime : float;
  2. size : int;
  3. source_digest : string option;
}
Sourcetype index = {
  1. defs : Lid_set.t Uid_map.t;
  2. approximated : Lid_set.t Uid_map.t;
  3. cu_shape : (string, Ocaml_typing.Shape.t) Hashtbl.t;
  4. stats : stat Stats.t;
  5. root_directory : string option;
  6. related_uids : Union_find.t Uid_map.t;
}
Sourceval pp : Format.formatter -> index -> unit

add tbl uid locs adds a binding of uid to the locations locs. If this key is already present the locations are merged.

Sourcetype file_content =
  1. | Cmt of Ocaml_typing.Cmt_format.cmt_infos
  2. | Index of index
  3. | Unknown
Sourceval write : file:string -> index -> unit
Sourceval read : file:string -> file_content
Sourceval read_exn : file:string -> index
OCaml

Innovation. Community. Security.