package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-5.0.0-53.tbz
sha256=659dff4dd844250ef8437c09916aa888e3447d5eb1efbcf449bafc7008ab5db0
sha512=1051b793452b3a7e053aa3ca6d2e3742d75eb39da04bce8e53fc8753fa593391446342604a6740f9c346e81b2781a709648bf6a8a97a2342e2549c7401a1b0eb
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)"
>