package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.6-504.tbz
sha256=82d648a4180d6d5aa3a083218e28bf197f4e9f147884de9302bb6811ad98b77f
sha512=e21c96db754a289462677e6985181902ddd90bab9e9cebbbb739d92d94b5aee7ef7a134da70ae384291d9bfaccfecd26d37b48f8d75c5d36b9eda18f6e5afd3d

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