package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.0-55.tbz
sha256=f71d2910599c230506efe01f43e02d16d4468fdaea34b537e9e3dfd7383cdf56
sha512=d18c9c0fee084eea8ff6ffa218d384ebea9b9934a15c45ad39fedf2d2f60754e3c8b36fb336014988f78c1ba8d2a50b2bcedb700fb02116195e78f07ee7b86b3

doc/melange.js_parser/Js_parser/Flow_ast/Pattern/Object/Property/index.html

Module Object.PropertySource

Sourcetype ('M, 'T) key =
  1. | StringLiteral of 'M * 'M StringLiteral.t
  2. | NumberLiteral of 'M * 'M NumberLiteral.t
  3. | BigIntLiteral of 'M * 'M BigIntLiteral.t
  4. | Identifier of ('M, 'T) Identifier.t
  5. | Computed of ('M, 'T) ComputedKey.t
Sourceand ('M, 'T) t = 'M * ('M, 'T) t'
Sourceand ('M, 'T) t' = {
  1. key : ('M, 'T) key;
  2. pattern : ('M, 'T) Pattern.t;
  3. default : ('M, 'T) Expression.t option;
  4. shorthand : bool;
}
Sourceval pp_key : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) key -> unit
Sourceval show_key : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) key -> string
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