package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-4.18-414.tbz
sha256=f6d6f7a266141e358c1a869612c8135c859185d547ea3ba5c9ad7bb67fe30cc1
sha512=4f272bdb028fd984fef406f7e1eadd0a3ab99d94016316f1b842782b1d1bba2bd50dcf3b4021c2096c6d9b5e5f9f6bae61bedcfd9f933f15c190e01777ef83a9

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.