package merlin-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Compl : sig ... end
type completions = Compl.t
type outline = item list
and item = {
  1. outline_name : string;
  2. outline_kind : [ `Value | `Constructor | `Label | `Module | `Modtype | `Type | `Exn | `Class | `Method ];
  3. outline_type : string option;
  4. deprecated : bool;
  5. location : Ocaml_parsing.Location_aux.t;
  6. children : outline;
}
type shape = {
  1. shape_loc : Ocaml_parsing.Location_aux.t;
  2. shape_sub : shape list;
}
type error_filter = {
  1. lexing : bool;
  2. parsing : bool;
  3. typing : bool;
}
type is_tail_position = [
  1. | `No
  2. | `Tail_position
  3. | `Tail_call
]
type _ _bool = bool
type _ t =
  1. | Type_expr : string * Merlin_kernel.Msource.position -> string t
  2. | Type_enclosing : (string * int) option * Merlin_kernel.Msource.position * int option -> (Ocaml_parsing.Location.t * [ `String of string | `Index of int ] * is_tail_position) list t
  3. | Enclosing : Merlin_kernel.Msource.position -> Ocaml_parsing.Location.t list t
  4. | Complete_prefix : string * Merlin_kernel.Msource.position * Compl.kind list * [ `with_documentation ] _bool * [ `with_types ] _bool -> completions t
  5. | Expand_prefix : string * Merlin_kernel.Msource.position * Compl.kind list * [ `with_types ] _bool -> completions t
  6. | Refactor_open : [ `Qualify | `Unqualify ] * Merlin_kernel.Msource.position -> (string * Ocaml_parsing.Location.t) list t
  7. | Document : string option * Merlin_kernel.Msource.position -> [ `Found of string | `Invalid_context | `Builtin of string | `Not_in_env of string | `File_not_found of string | `Not_found of string * string option | `No_documentation ] t
  8. | Locate_type : Merlin_kernel.Msource.position -> [ `Found of string option * Lexing.position | `Invalid_context | `Builtin of string | `Not_in_env of string | `File_not_found of string | `Not_found of string * string option | `At_origin ] t
  9. | Locate : string option * [ `ML | `MLI ] * Merlin_kernel.Msource.position -> [ `Found of string option * Lexing.position | `Invalid_context | `Builtin of string | `Not_in_env of string | `File_not_found of string | `Not_found of string * string option | `At_origin ] t
  10. | Jump : string * Merlin_kernel.Msource.position -> [ `Found of Lexing.position | `Error of string ] t
  11. | Phrase : [ `Next | `Prev ] * Merlin_kernel.Msource.position -> Lexing.position t
  12. | Case_analysis : Merlin_kernel.Msource.position * Merlin_kernel.Msource.position -> (Ocaml_parsing.Location.t * string) t
  13. | Holes : (Ocaml_parsing.Location.t * string) list t
  14. | Construct : Merlin_kernel.Msource.position * [ `None | `Local ] option * int option -> (Ocaml_parsing.Location.t * string list) t
  15. | Outline : outline t
  16. | Shape : Merlin_kernel.Msource.position -> shape list t
  17. | Errors : error_filter -> Ocaml_parsing.Location.error list t
  18. | Dump : Merlin_utils.Std.json list -> Merlin_utils.Std.json t
  19. | Path_of_source : string list -> string t
  20. | List_modules : string list -> string list t
  21. | Findlib_list : string list t
  22. | Extension_list : [ `All | `Enabled | `Disabled ] -> string list t
  23. | Path_list : [ `Build | `Source ] -> string list t
  24. | Occurrences : [ `Ident_at of Merlin_kernel.Msource.position ] -> Ocaml_parsing.Location.t list t
  25. | Version : string t
OCaml

Innovation. Community. Security.