Merlin_analysis.Type_search
SourceSearch by type in the current environment.
val 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.
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 ->
string ->
string option
val compare_result :
_ Query_protocol.type_search_result ->
_ Query_protocol.type_search_result ->
int