package merlin-lib

  1. Overview
  2. Docs
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/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.Types.constructor_description
  6. | `This_label of Ocaml_typing.Types.label_description
  7. | `Type
  8. | `Vals
]
Sourceval from_context : Context.t -> inferred list

Returns potential namespaces given the context of an expression