package melange

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

Install

Dune Dependency

Authors

Maintainers

Sources

melange-5.0.1-51.tbz
sha256=7753da6c74f2dc6ac610ec71c96ba7c7230dfec1af3fd60c587767643112fc6e
sha512=5be34a60d44ae5423bd3552d967db2cab462aeb17a2a28050a87b2a714e74b944f532763b804e5472b2cef37eeabf99885a66eddfb030e6e21826d2214880768

doc/melange.js_parser/Js_parser/Flow_ast/Statement/DeclareModule/index.html

Module Statement.DeclareModule

type ('M, 'T) id =
  1. | Identifier of ('M, 'T) Identifier.t
  2. | Literal of 'T * 'M StringLiteral.t
and module_kind =
  1. | CommonJS
  2. | ES
and ('M, 'T) t = {
  1. id : ('M, 'T) id;
  2. body : 'M * ('M, 'T) Block.t;
  3. kind : module_kind;
  4. comments : ('M, unit) Syntax.t option;
}
OCaml

Innovation. Community. Security.