Merlin_analysis.Browse_tree
Sourcetype t = {
t_node : Merlin_kernel.Mbrowse.node;
t_loc : Ocaml_parsing.Location.t;
t_env : Ocaml_typing.Env.t;
t_children : t list lazy_t;
}
of_node ?loc ?env node
produces a tree from node
, using loc
and env
* as default annotation when nothing can be inferred from the node
. * If they are not specified, annotations from child are used for approximation.
val all_occurrences_of_prefix :
Ocaml_typing.Path.t ->
Merlin_specific.Browse_raw.node ->
(Ocaml_typing.Path.t Ocaml_parsing.Location.loc * Ocaml_parsing.Longident.t)
list