package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.8.1-505.tbz
sha256=b8fb32bc0fc092af2fd6bdc831cb966057f2e3fd7b99a172b705e96ba8082583
sha512=01ca96f8167d062ba24036e43f650ff958fb157d44867bd52eb7999b7d19bf9fc97cdcd46c04b6979f0e1149d5041047723eed5913b03c4404d7acb116183bee

doc/merlin-lib.analysis/Merlin_analysis/Env_lookup/Namespace/index.html

Module Env_lookup.NamespaceSource

Namespaces describe in which section of the environment an item should be looked for.

Sourceval to_string : t -> string
Sourcetype under_type = [
  1. | `Constr
  2. | `Labels
]
Sourcetype inferred_basic = [
  1. | `Constr
  2. | `Labels
  3. | `Mod
  4. | `Modtype
  5. | `Type
  6. | `Vals
]
Sourcetype inferred = [
  1. | `Constr
  2. | `Labels
  3. | `Mod
  4. | `Modtype
  5. | `This_cstr of Ocaml_typing.Data_types.constructor_description
  6. | `This_label of Ocaml_typing.Data_types.label_description
  7. | `Type
  8. | `Vals
]
Sourceval from_context : Context.t -> inferred list

Returns potential namespaces given the context of an expression