package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-4.0.0-51.tbz
sha256=f78d18ce9d595e737a98a55663e9ea2a39f8aad054251e5e1c4e793938c6bdd5
sha512=d4b7c18bb1d1e7af529ea49fe1ce28b0debf64056ba65108768ed28dc920e4b92a61cdb279c52b7140206e816eb484fd87d21572021b4ef983c54ddbc4907034
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)"
>