package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-5.0.0-52.tbz
sha256=0f28c188cbe7087b9f15ea64f311cc326554fa3ff2102bd5ecccb859e016e164
sha512=9a1f163a31c5715f213240b21f904c7fcee521e8739a612645389a6aefc872f527c2498fc90a4b234dee38cc0cf09fc723a340690b0ae44de8a22d9bc51fee42
doc/melange.js_parser/Js_parser/Parser_env/index.html
Module Js_parser.Parser_env
Source
Source
type parse_options = {
components : bool;
enums : bool;
(*enable parsing of Flow enums
*)esproposal_decorators : bool;
(*enable parsing of decorators
*)types : bool;
(*enable parsing of Flow types
*)use_strict : bool;
(*treat the file as strict, without needing a "use strict" directive
*)module_ref_prefix : string option;
module_ref_prefix_LEGACY_INTEROP : string option;
}
Source
val init_env :
?token_sink:(token_sink_result -> unit) option ->
?parse_options:parse_options option ->
File_key.t option ->
string ->
env
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>