package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-4.17.1-501.tbz
sha256=376707aa871f09e9639456d3fbe4b89a21c9ad75c774e94cbbbe67f842b0a500
sha512=a11ea4b8e3520b3ee41ae8198cda34b2816b8dfcdcb99350ef29689a7d62bb66d17ffa075c551aa56d521120b55e6db14a106a31f7b3970ed2aa07e1db3c9b88
doc/merlin-lib.kernel/Merlin_kernel/Mbrowse/index.html
Module Merlin_kernel.Mbrowse
Source
Source
val fold_node :
(Ocaml_typing.Env.t -> Merlin_specific.Browse_raw.node -> 'a -> 'a) ->
Ocaml_typing.Env.t ->
Merlin_specific.Browse_raw.node ->
'a ->
'a
The deepest context inside or before the node, for instance, navigating * through: * foo bar (baz :: tail) <cursor> * asking for node from cursor position will return context of "tail". * Returns the matching node and all its ancestors or the empty list.
Source
val of_typedtree :
[ `Implementation of Ocaml_typing.Typedtree.structure
| `Interface of Ocaml_typing.Typedtree.signature ] ->
t
Identify nodes introduced by recovery
Source
val optional_label_sugar :
Ocaml_typing.Typedtree.expression_desc ->
Ocaml_typing.Typedtree.expression option
When an optional argument is applied with labelled syntax sugar (~a:v instead of ?a:(Some v)), the frontend will have wrapped it in Some _
. optional_label_sugar exp
returns Some exp'
with the sugar removed in that case.
Dump
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page