package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-4.16-501.tbz
sha256=da5bf309b040645c292ae4572cc6a0a700dbd2bcfc996ac13c8e5c3836c21e26
sha512=99eba17b2bdec5411d239093f4e8e11ada79b2b84ae88074a1b46e47eb836bbf8cb7836c472c22e7f9e68cff1b9ea6d9b9989b70055c3277edb4cddc4a86460c
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)"
>