package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.0-53.tbz
sha256=2b3d94a770d1ce7d9cf43a83c1e61e176b0a13b7472c166bb6856121b5bd6e64
sha512=7555637944ade1b6b29807adea23ea19ecdf187711e0cdbbc5b3526c94c11fa9dd7e66e5d45cdce82f00561782f7b02be5e239a021a3bdb6c66d17c6eadfc8c1

doc/melange.js_parser/Js_parser/Flow_ast/MatchPattern/AsPattern/index.html

Module MatchPattern.AsPatternSource

Sourcetype ('M, 'T) target =
  1. | Identifier of ('M, 'T) Identifier.t
  2. | Binding of 'M * ('M, 'T) BindingPattern.t
Sourceand ('M, 'T) t = {
  1. pattern : ('M, 'T) MatchPattern.t;
  2. target : ('M, 'T) target;
  3. comments : ('M, unit) Syntax.t option;
}
Sourceval pp_target : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) target -> unit
Sourceval show_target : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) target -> 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