package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-4.19-414.tbz
sha256=60a630f59203a9ce7047a5f04d0f239945960dac6f38102922e328b6d2657384
sha512=19f8ec152356873e29c05b971a529146bb7079929037c2b35a5c0afb0b3adf662341ee8527282c5fdd16de391d01c2c469fc8629af9e0ae443fa9f42472b70bb
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)"
>