package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.1-52.tbz
sha256=03d9a0b6f6e8add8025a4dd25cc3c7aa685beefff3d6391cfcd8e3c7217ee822
sha512=75a4a999995eddac8a1fa9844fd8f8ae885ba77f5a3ea189b49e6030ad470c30dda5ffe5d6eef2693a8080d99f50cd3b03cfa07b40a2f9055aa756308546b9b3

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