package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-6.0.1-51.tbz
sha256=e4b6d50504d2f83d2be366fa0f7f815176679efc6a3b32a97bc53b8efbc7476e
sha512=1079bbcd916793ba891b8322299d0f01db8cac144104c8d99dc420300c1e56dd27e2180b10026aec17e47690076afa4cdc60e23d847c0fd1ca28a675e0ef1933

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