package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-4.17.1-501.tbz
sha256=376707aa871f09e9639456d3fbe4b89a21c9ad75c774e94cbbbe67f842b0a500
sha512=a11ea4b8e3520b3ee41ae8198cda34b2816b8dfcdcb99350ef29689a7d62bb66d17ffa075c551aa56d521120b55e6db14a106a31f7b3970ed2aa07e1db3c9b88
doc/merlin-lib.ocaml_parsing/Ocaml_parsing/Builtin_attributes/index.html
Module Ocaml_parsing.Builtin_attributes
Source
Support for some of the builtin attributes
- ocaml.deprecated
- ocaml.alert
- ocaml.error
- ocaml.ppwarning
- ocaml.warning
- ocaml.warnerror
- ocaml.explicit_arity (for camlp4/camlp5)
- ocaml.warn_on_literal_pattern
- ocaml.deprecated_mutable
- ocaml.immediate
- ocaml.immediate64
- ocaml.boxed / ocaml.unboxed
Warning: this module is unstable and part of compiler-libs.
Source
val check_alerts_inclusion :
def:Location.t ->
use:Location.t ->
Location.t ->
Parsetree.attributes ->
Parsetree.attributes ->
string ->
unit
Source
val check_deprecated_mutable_inclusion :
def:Location.t ->
use:Location.t ->
Location.t ->
Parsetree.attributes ->
Parsetree.attributes ->
string ->
unit
Apply warning settings from the specified attribute. "ocaml.warning"/"ocaml.warnerror" (and variants without the prefix) are processed and other attributes are ignored.
Also implement ocaml.ppwarning (unless ~ppwarning:false is passed).
Execute a function in a new scope for warning settings. This means that the effect of any call to warning_attribute
during the execution of this function will be discarded after execution.
The function also takes a list of attributes which are processed with warning_attribute
in the fresh scope before the function is executed.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>