package melange

  1. Overview
  2. Docs
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/Flow_ast/Statement/DeclareExportDeclaration/index.html

Module Statement.DeclareExportDeclaration

type ('M, 'T) declaration =
  1. | Variable of 'M * ('M, 'T) DeclareVariable.t
  2. | Function of 'M * ('M, 'T) DeclareFunction.t
  3. | Class of 'M * ('M, 'T) DeclareClass.t
  4. | Component of 'M * ('M, 'T) DeclareComponent.t
  5. | DefaultType of ('M, 'T) Type.t
  6. | NamedType of 'M * ('M, 'T) TypeAlias.t
  7. | NamedOpaqueType of 'M * ('M, 'T) OpaqueType.t
  8. | Interface of 'M * ('M, 'T) Interface.t
  9. | Enum of 'M * ('M, 'T) EnumDeclaration.t
and ('M, 'T) t = {
  1. default : 'M option;
  2. declaration : ('M, 'T) declaration option;
  3. specifiers : ('M, 'T) ExportNamedDeclaration.specifier option;
  4. source : ('T * 'M StringLiteral.t) option;
  5. comments : ('M, unit) Syntax.t option;
}
OCaml

Innovation. Community. Security.