package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.1-55.tbz
sha256=8377c0860da82528ebde16a0133f270c1a03de35036bd44bbd8cfb87070a7afb
sha512=a33c1979f9928c9189d519cbc367b40cc9c0735f29735ef0f1ee5e66c204cf73b8a418ed85cb39442637a3369d3287a8c712a9e747c22bb7d0ac3daae59e6bd8

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

Module Statement.DeclareFunctionSource

Sourcetype ('M, 'T) t = {
  1. id : ('M, 'T) Identifier.t;
  2. annot : ('M, 'T) Type.annotation;
  3. predicate : ('M, 'T) Type.Predicate.t option;
  4. comments : ('M, unit) Syntax.t option;
}
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