package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-4.0.1-52.tbz
sha256=91494286a42d2d7ef387dd062b6de26ccab223f308a74b0c60b8e43d7f6f7537
sha512=7517c7c651f118f7e2418f58fa97296890ed4623d6fdc801ff7b7abc3ae799142829c537c4dcbb1fec7c15d017cd3f85b527cad1af8b230b3da32474fdfc88df
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_and_component_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
Source
val push_toplevel_type :
't ->
('loc, 'loc * 't) Flow_ast.Expression.t ->
('loc, 'loc * 't) Flow_ast.Expression.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>