package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-4.16-414.tbz
sha256=c5e91975f3df56849e1b306f356c31709a2b139d7d57634b8d21e473266fcf2d
sha512=1d2db379b496dc0b95874f312011cce1a48f6808e098f1aff768de0eef0caff222adc17ab61b85c7aac8d889bf9d829fb5d0211267c7a85572ce201c1cbcb990
doc/merlin-lib.analysis/Merlin_analysis/Browse_tree/index.html
Module Merlin_analysis.Browse_tree
Source
Source
type 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.
Source
val all_occurrences :
Ocaml_typing.Path.t ->
t ->
(t * Ocaml_typing.Path.t Ocaml_parsing.Location.loc list) list
Source
val all_constructor_occurrences :
(t
* [ `Description of Ocaml_typing.Types.constructor_description
| `Declaration of Ocaml_typing.Typedtree.constructor_declaration
| `Extension_constructor of Ocaml_typing.Typedtree.extension_constructor ]) ->
t ->
t Ocaml_parsing.Location.loc list
Source
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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>