package merlin-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type raw_info = [
  1. | `Constructor of Ocaml_typing.Types.constructor_description
  2. | `Modtype of Ocaml_typing.Types.module_type
  3. | `Modtype_declaration of Ocaml_typing.Ident.t * Ocaml_typing.Types.modtype_declaration
  4. | `None
  5. | `String of string
  6. | `Type_declaration of Ocaml_typing.Ident.t * Ocaml_typing.Types.type_declaration
  7. | `Type_scheme of Ocaml_typing.Types.type_expr
  8. | `Variant of string * Ocaml_typing.Types.type_expr option
]
val raw_info_printer : raw_info -> [ `String of string | `Print of Merlin_extend.Extend_protocol.Reader.outcometree | `Concat of string * Merlin_extend.Extend_protocol.Reader.outcometree ]
val map_entry : ('a -> 'b) -> 'a Query_protocol.Compl.raw_entry -> 'b Query_protocol.Compl.raw_entry
val branch_complete : Merlin_kernel.Mconfig.t -> ?get_doc: ([> `Completion_entry of Namespaced_path.Namespace.t * Ocaml_typing.Path.t * Ocaml_parsing.Location.t ] -> [> `Found of string ]) -> ?target_type:Ocaml_typing.Types.type_expr -> ?kinds:Query_protocol.Compl.kind list -> keywords:string list -> string -> Merlin_kernel.Mbrowse.t -> raw_info Query_protocol.Compl.raw_entry list
val expand_prefix : global_modules:string list -> ?kinds:Query_protocol.Compl.kind list -> Ocaml_typing.Env.t -> string -> raw_info Query_protocol.Compl.raw_entry list
val application_context : prefix:Ocaml_parsing.Asttypes.label -> Merlin_kernel.Mbrowse.t -> Ocaml_typing.Types.type_expr option * [> `Application of Query_protocol.Compl.application_context | `Unknown ]