package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.0-51.tbz
sha256=b1b1c61bb3dff9e8f0a9f450039967aef6b085d88a1088d521cec883ca010310
sha512=119693451a8023dac297e5e8dde81736781fb9b47b73e1adc2dbfeaedc0b48423444a87ad941c4196e4f569591faf7054d7f854aa850d248b566eb718d166eb9

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