package merlin-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Namespace : sig ... end
val from_path : config:Merlin_kernel.Mconfig.t -> env:Ocaml_typing.Env.t -> namespace:Namespaced_path.Namespace.t -> [ `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 ]
val 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 ]
val 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 Namespaced_path.Namespace.t * 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 ]