package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-5.0.1-52.tbz
sha256=6662a248daefc50a5b1586ea9c2337d70d3dfdb55c690619b179041f8ab9b613
sha512=e767493ed6e50cfc604d1c1a16145dafcad710b3ade407b5ea87bb596439025185f076a5c1236f9c9794b58bf74dde7d32ed9b97ccdc1083078c5b380aa86503
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)"
>