package melange

  1. Overview
  2. Docs
Toolchain to produce JS from Reason/OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.1-414.tbz
sha256=4cbd885db9801068fb59d13b6e08e13fe3fe091dc14716382a90764ee874a8a7
sha512=155d448a0e84e81541fd0989d3a7f4b96c625ff288aeeccfadf7e36751f1188bc295c999cc725fda5ad157150eed33ebc5735d81820b9fc45772bdbf0f6d9b29

doc/melange.js_parser/Js_parser/Flow_ast_mapper/index.html

Module Js_parser.Flow_ast_mapperSource

Sourcemodule Ast = Flow_ast
Sourceval map_opt : 'node. ('node -> 'node) -> 'node option -> 'node option
Sourceval id_loc : 'node 'a. ('loc -> 'node -> 'node) -> 'loc -> 'node -> 'a -> ('node -> 'a) -> 'a
Sourceval id : 'node 'a. ('node -> 'node) -> 'node -> 'a -> ('node -> 'a) -> 'a
Sourceval map_loc : 'node. ('loc -> 'node -> 'node) -> ('loc * 'node) -> 'loc * 'node
Sourceval map_loc_opt : 'node. ('loc -> 'node -> 'node) -> ('loc * 'node) option -> ('loc * 'node) option
Sourceval map_list : ('a -> 'a) -> 'a list -> 'a list
Sourceval map_list_multiple : ('a -> 'a list) -> 'a list -> 'a list
Sourcetype type_params_context =
  1. | ClassTP
  2. | FunctionTP
  3. | DeclareFunctionTP
  4. | DeclareClassTP
  5. | DeclareComponentTP
  6. | TypeAliasTP
  7. | InterfaceTP
  8. | OpaqueTypeTP
  9. | ComponentDeclarationTP
  10. | ComponentTypeTP
  11. | FunctionTypeTP
  12. | InferTP
  13. | ObjectMappedTypeTP
Sourceclass 'loc mapper : object ... end
Sourceval fold_program : 'a mapper list -> ('a, 'a) Ast.Program.t -> ('a, 'a) Ast.Program.t