Module Merlin_analysis.Type_searchSource

Search by type in the current environment.

Sourceval run : ?limit:int -> env:Ocaml_typing.Env.t -> query:Merlin_sherlodoc.Query.t -> modules:string list -> unit -> Ocaml_typing.Types.type_expr Query_protocol.type_search_result list

Compute the list of candidates from a query inside a given environment.

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 -> string -> string option
Sourceval make_constructible : string -> Ocaml_typing.Types.type_expr -> string
Sourceval classify_query : string -> [ `By_type of string | `Polarity of string ]