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.ocaml_parsing/Ocaml_parsing/Attr_helper/index.html

Module Ocaml_parsing.Attr_helperSource

Helpers for attributes

Warning: this module is unstable and part of compiler-libs.

Sourcetype error =
  1. | Multiple_attributes of string
  2. | No_payload_expected of string
Sourceval get_no_payload_attribute : string -> Parsetree.attributes -> string Asttypes.loc option

The string argument of the following functions is the name of the attribute we are looking for. If the argument is "foo", these functions will find attributes with the name "foo" or "ocaml.foo"

Sourceval has_no_payload_attribute : string -> Parsetree.attributes -> bool
Sourceexception Error of Location.t * error