package melange

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

Install

Dune Dependency

Authors

Maintainers

Sources

melange-5.0.0-52.tbz
sha256=0f28c188cbe7087b9f15ea64f311cc326554fa3ff2102bd5ecccb859e016e164
sha512=9a1f163a31c5715f213240b21f904c7fcee521e8739a612645389a6aefc872f527c2498fc90a4b234dee38cc0cf09fc723a340690b0ae44de8a22d9bc51fee42

doc/melange.js_parser/Js_parser/Flow_ast/Function/index.html

Module Flow_ast.FunctionSource

module RestParam : sig ... end
module Param : sig ... end
module ThisParam : sig ... end
module Params : sig ... end
module ReturnAnnot : sig ... end
type ('M, 'T) t = {
  1. id : ('M, 'T) Identifier.t option;
  2. params : ('M, 'T) Params.t;
  3. body : ('M, 'T) body;
  4. async : bool;
  5. generator : bool;
  6. predicate : ('M, 'T) Type.Predicate.t option;
  7. return : ('M, 'T) ReturnAnnot.t;
  8. tparams : ('M, 'T) Type.TypeParams.t option;
  9. comments : ('M, unit) Syntax.t option;
  10. sig_loc : 'M;
}
and ('M, 'T) body =
  1. | BodyBlock of 'M * ('M, 'T) Statement.Block.t
  2. | BodyExpression of ('M, 'T) Expression.t
OCaml

Innovation. Community. Security.