package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-6.0.1-54.tbz
sha256=6d5e530fcaa52edef041d9bd5b44f28430c1145a3f3dd2571a08ac727b011667
sha512=d18244080d0af70eca885bbc11357add73f5a3071c7dac241b7c78f7e451e0eea435aaa61aa87931a0f488c67e4c8d7b6945d0d41b50e506c1b6ab6fc6c4d1d4

doc/melange.js_parser/Js_parser/Flow_ast/MatchPattern/ObjectPattern/Property/index.html

Module ObjectPattern.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
Sourceand ('M, 'T) property = {
  1. key : ('M, 'T) key;
  2. pattern : ('M, 'T) MatchPattern.t;
  3. shorthand : bool;
  4. comments : ('M, unit) Syntax.t option;
}
Sourceand ('M, 'T) t = 'M * ('M, 'T) t'
Sourceand ('M, 'T) t' =
  1. | Valid of ('M, 'T) property
  2. | InvalidShorthand of ('M, 'M) Identifier.t
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_property : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) property -> unit
Sourceval show_property : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) property -> 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