package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-5.4.1-503.tbz
sha256=49b3b4c778c12125fc7405e73790b0b312d5d79749dd73d4838b6562a2533022
sha512=6350ff076ac61727c48bc098a05520c5d343f3323b2f3b6d7d69fdd568e51abca6945cbcbc3a6ae97fd198bd7bbdcae823fbd0f3f14a37972fe713da2ed14f2d
doc/merlin-lib.analysis/Merlin_analysis/Env_lookup/index.html
Module Merlin_analysis.Env_lookup
Source
Provides tools to lookup items in the typing environment.
Establishing the namespace of an item before looking it up in the environement is necessary to prevent mixing items which have the same name but are not of the same namespace. (For example the environment can contain both type named `t` and a value named `t`.)
Namespaces describe in which section of the environment an item should be looked for.
Source
type item = {
uid : Ocaml_typing.Shape.Uid.t;
loc : Ocaml_parsing.Location.t;
namespace : Namespace.t;
}
Source
val by_longident :
Namespace.inferred list ->
Ocaml_parsing.Longident.t ->
Ocaml_typing.Env.t ->
(Ocaml_typing.Path.t * item) option
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>