package merlin-lib
Merlin's libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
merlin-5.6-503.tbz
sha256=b0dcad092aaaf7a23f65ab9a089e8761bd665cc72357909e0ac6c2182f4fc2d4
sha512=9987baf2b2e82bab4c90a328bfcba9945e797e0f3d947156f04435ee84b49542844b379e35a79027c3ffe81f4b7a8f1c60803233999b4c039d4598033371880d
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)"
>