Module Merlin_analysis.LocateSource

Sourcemodule Namespace : sig ... end
Sourceval from_path : config:Merlin_kernel.Mconfig.t -> env:Ocaml_typing.Env.t -> namespace:Namespace.all -> [ `ML | `MLI ] -> Ocaml_typing.Path.t -> [> `File_not_found of string | `Found of Ocaml_typing.Shape.Uid.t option * string option * Lexing.position | `Builtin | `Not_in_env of string | `Not_found of string * string option ]
Sourceval from_string : config:Merlin_kernel.Mconfig.t -> env:Ocaml_typing.Env.t -> local_defs:Merlin_kernel.Mtyper.typedtree -> pos:Lexing.position -> ?namespaces:Namespace.t list -> [ `ML | `MLI ] -> string -> [> `File_not_found of string | `Found of Ocaml_typing.Shape.Uid.t option * string option * Lexing.position | `Builtin of string | `Missing_labels_namespace | `Not_found of string * string option | `Not_in_env of string | `At_origin ]
Sourceval get_doc : config:Merlin_kernel.Mconfig.t -> env:Ocaml_typing.Env.t -> local_defs:Merlin_kernel.Mtyper.typedtree -> comments:(string * Ocaml_parsing.Location.t) list -> pos:Lexing.position -> [ `User_input of string | `Completion_entry of Namespace.all * Ocaml_typing.Path.t * Ocaml_parsing.Location.t ] -> [> `File_not_found of string | `Found of string | `Builtin of string | `Not_found of string * string option | `Not_in_env of string | `No_documentation ]