package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.0-414.tbz
sha256=2d35ea2a1fc8aae9a76b81154626e91dd8c93773b1829cbce7081911cd47f43f
sha512=09e1c3f6ef9572e94882abbce5df7e348c99f0452d23ea3fe75ad3d7df0201adfcb22139a5876e495121eb08c97340a5935633cb1a4b8f019ddf46c5a5258f9a

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

Module Class.MethodSource

Sourcetype ('M, 'T) t = 'T * ('M, 'T) t'
Sourceand kind =
  1. | Constructor
  2. | Method
  3. | Get
  4. | Set
Sourceand ('M, 'T) t' = {
  1. kind : kind;
  2. key : ('M, 'T) Expression.Object.Property.key;
  3. value : 'M * ('M, 'T) Function.t;
  4. static : bool;
  5. decorators : ('M, 'T) Class.Decorator.t list;
  6. 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
Sourceval pp_kind : Format.formatter -> kind -> unit
Sourceval show_kind : kind -> 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