package merlin-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Consistbl : module type of struct include Ocaml_utils.Consistbl.Make(Merlin_utils.Misc.String) end
exception Error of error
val report_error : Stdlib.Format.formatter -> error -> unit
module Persistent_signature : sig ... end
type can_load_cmis =
  1. | Can_load_cmis
  2. | Cannot_load_cmis of Ocaml_utils.Lazy_backtrack.log
type 'a t
val empty : unit -> 'a t
val short_paths_basis : 'a t -> Short_paths.Basis.t
val clear : 'a t -> unit
val clear_missing : 'a t -> unit
val fold : 'a t -> (Merlin_utils.Misc.modname -> 'a -> 'b -> 'b) -> 'b -> 'b
val find : 'a t -> (Persistent_signature.t -> 'a) -> (string -> 'a -> Ocaml_typing.Short_paths.Desc.Module.components Stdlib.Lazy.t) -> Merlin_utils.Misc.modname -> 'a
val find_in_cache : 'a t -> Merlin_utils.Misc.modname -> 'a option
val check : 'a t -> (Persistent_signature.t -> 'a) -> (string -> 'a -> Ocaml_typing.Short_paths.Desc.Module.components Stdlib.Lazy.t) -> loc:Ocaml_parsing.Location.t -> Merlin_utils.Misc.modname -> unit
val looked_up : 'a t -> Merlin_utils.Misc.modname -> bool
val is_imported : 'a t -> Merlin_utils.Misc.modname -> bool
val is_imported_opaque : 'a t -> Merlin_utils.Misc.modname -> bool
val register_import_as_opaque : 'a t -> Merlin_utils.Misc.modname -> unit
val save_cmi : 'a t -> Persistent_signature.t -> 'a -> unit
val can_load_cmis : 'a t -> can_load_cmis
val set_can_load_cmis : 'a t -> can_load_cmis -> unit
val without_cmis : 'a t -> ('b -> 'c) -> 'b -> 'c
val import_crcs : 'a t -> source:Merlin_utils.Misc.filepath -> Merlin_utils.Misc.crcs -> unit
val imports : 'a t -> Merlin_utils.Misc.crcs
val crc_of_unit : 'a t -> (Persistent_signature.t -> 'a) -> (string -> 'a -> Ocaml_typing.Short_paths.Desc.Module.components Stdlib.Lazy.t) -> Merlin_utils.Misc.modname -> Stdlib.Digest.t
val add_delayed_check_forward : ((unit -> unit) -> unit) Stdlib.ref
val with_cmis : 'a t -> ('b -> 'c) -> 'b -> 'c
val forall : found: (Merlin_utils.Misc.modname -> Merlin_utils.Misc.filepath -> string -> 'a -> bool) -> missing:(Merlin_utils.Misc.modname -> bool) -> 'a t -> bool
OCaml

Innovation. Community. Security.