package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-4.16-501.tbz
sha256=da5bf309b040645c292ae4572cc6a0a700dbd2bcfc996ac13c8e5c3836c21e26
sha512=99eba17b2bdec5411d239093f4e8e11ada79b2b84ae88074a1b46e47eb836bbf8cb7836c472c22e7f9e68cff1b9ea6d9b9989b70055c3277edb4cddc4a86460c

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 list -> Parsetree.attributes -> string Asttypes.loc option

The string list argument of the following functions is a list of alternative names for the attribute we are looking for. For instance:

  ["foo"; "ocaml.foo"]
Sourceval has_no_payload_attribute : string list -> Parsetree.attributes -> bool
Sourceexception Error of Location.t * error
Sourceval report_error : Format.formatter -> error -> unit
OCaml

Innovation. Community. Security.