package ocaml-base-compiler
Helpers for attributes
val 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"]
val has_no_payload_attribute : string list -> Parsetree.attributes -> bool
exception Error of Location.t * error
val report_error : Format.formatter -> error -> unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>