package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.0-54.tbz
sha256=cb78172b329c1a0a1c120801d2b915c03c83d2027014ba88416e7cafc1251a7c
sha512=06128b27adadf13376ee47ac2dbe461ee2877d5a9ad7533f75a4c71315c32a80797f6e935a0cbe98d03b5dccde7a3e8165cff31e0eed371bc30ab4afc740350e

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

Module Statement.ExportNamedDeclarationSource

Sourcemodule ExportSpecifier : sig ... end
Sourcemodule ExportBatchSpecifier : sig ... end
Sourcetype ('M, 'T) t = {
  1. declaration : ('M, 'T) Statement.t option;
  2. specifiers : ('M, 'T) specifier option;
  3. source : ('T * 'M StringLiteral.t) option;
  4. export_kind : Statement.export_kind;
  5. comments : ('M, unit) Syntax.t option;
}
Sourceand ('M, 'T) specifier =
  1. | ExportSpecifiers of ('M, 'T) ExportSpecifier.t list
  2. | ExportBatchSpecifier of ('M, 'T) ExportBatchSpecifier.t
Sourceval pp : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) t -> unit
Sourceval show : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) t -> string
Sourceval pp_specifier : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) specifier -> unit
Sourceval show_specifier : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) specifier -> string