package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.1-53.tbz
sha256=25177453269467832be7b6416f1104132265a3309b9098e6b5185b9c0df05150
sha512=f49de014f013792413b083772a93d13b2a072a468e29600c19dc8cc54c6de56bbbf03d227e4641dc084e94b70bed202e348860258b0df747da794fa6fce6725d

doc/melange.js_parser/Js_parser/Flow_ast/Class/Body/index.html

Module Class.BodySource

Sourcetype ('M, 'T) t = 'M * ('M, 'T) t'
Sourceand ('M, 'T) t' = {
  1. body : ('M, 'T) element list;
  2. comments : ('M, unit) Syntax.t option;
}
Sourceand ('M, 'T) element =
  1. | Method of ('M, 'T) Method.t
  2. | Property of ('M, 'T) Property.t
  3. | PrivateField of ('M, 'T) PrivateField.t
  4. | StaticBlock of ('M, 'T) StaticBlock.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_t' : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) t' -> unit
Sourceval show_t' : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) t' -> string
Sourceval pp_element : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) element -> unit
Sourceval show_element : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) element -> string