package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-1.0.0.tbz
sha256=01ff3a2711b3812889313288f9e0c8bfe2e17464b6b85282c5113cfc3b740968
sha512=db9ac4554d0c9a8deabbdcd2ae05653964184916982c746ca794df6e2061444adaa6a0367bc1840825a007be3941643abd824aaff737a431b0e5347f7c558378
doc/melange.js_parser/Js_parser/Flow_ast_utils/index.html
Module Js_parser.Flow_ast_utils
Source
Source
val fold_bindings_of_pattern :
('a -> ('m, 't) Flow_ast.Identifier.t -> 'a) ->
'a ->
('m, 't) Flow_ast.Pattern.t ->
'a
Source
val fold_bindings_of_variable_declarations :
(bool -> 'a -> ('m, 't) Flow_ast.Identifier.t -> 'a) ->
'a ->
('m, 't) Flow_ast.Statement.VariableDeclaration.Declarator.t list ->
'a
Source
val partition_directives :
(Loc.t, Loc.t) Flow_ast.Statement.t list ->
(Loc.t, Loc.t) Flow_ast.Statement.t list
* (Loc.t, Loc.t) Flow_ast.Statement.t list
Source
val hoist_function_declarations :
('a, 'b) Flow_ast.Statement.t list ->
('a, 'b) Flow_ast.Statement.t list
Source
val ident_of_source :
?comments:('a, unit) Flow_ast.Syntax.t ->
'a source ->
('a, 'a) Flow_ast.Identifier.t
Source
val mk_comments :
?leading:'loc Flow_ast.Comment.t list ->
?trailing:'loc Flow_ast.Comment.t list ->
'a ->
('loc, 'a) Flow_ast.Syntax.t
Source
val mk_comments_opt :
?leading:'loc Flow_ast.Comment.t list ->
?trailing:'loc Flow_ast.Comment.t list ->
unit ->
('loc, unit) Flow_ast.Syntax.t option
Source
val mk_comments_with_internal_opt :
?leading:'loc Flow_ast.Comment.t list ->
?trailing:'loc Flow_ast.Comment.t list ->
internal:'loc Flow_ast.Comment.t list ->
unit ->
('loc, 'loc Flow_ast.Comment.t list) Flow_ast.Syntax.t option
Source
val merge_comments :
inner:('M, unit) Flow_ast.Syntax.t option ->
outer:('M, unit) Flow_ast.Syntax.t option ->
('M, unit) Flow_ast.Syntax.t option
Source
val merge_comments_with_internal :
inner:('M, 'loc Flow_ast.Comment.t list) Flow_ast.Syntax.t option ->
outer:('M, 'a) Flow_ast.Syntax.t option ->
('M, 'loc Flow_ast.Comment.t list) Flow_ast.Syntax.t option
Source
val split_comments :
('loc, unit) Flow_ast.Syntax.t option ->
('loc, unit) Flow_ast.Syntax.t option * ('loc, unit) Flow_ast.Syntax.t option
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>