package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.6.1-504.tbz
sha256=cc3c7c01f19a454c96f6bc8a39538023e01042519f001a895fd61488e2b49fb5
sha512=4268a932a8494023699abd98e0d52deb6f201f656863849db230dc8692050e0fe00cc25a50d70e902410f17a27268fd8335c32636f616ef012cf86fc9a43e019

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