Merlin_analysis.Completion
Sourcetype raw_info = [
| `Constructor of Ocaml_typing.Types.constructor_description
| `Modtype of Ocaml_typing.Types.module_type
| `Modtype_declaration of
Ocaml_typing.Ident.t * Ocaml_typing.Types.modtype_declaration
| `None
| `String of string
| `Type_declaration of Ocaml_typing.Ident.t * Ocaml_typing.Types.type_declaration
| `Type_scheme of Ocaml_typing.Types.type_expr
| `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
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 ]