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/Statement/ComponentDeclaration/index.html

Module Statement.ComponentDeclarationSource

Sourcemodule RestParam : sig ... end
Sourcemodule Param : sig ... end
Sourcemodule Params : sig ... end
Sourcetype ('M, 'T) t = {
  1. id : ('M, 'T) Identifier.t;
  2. tparams : ('M, 'T) Type.TypeParams.t option;
  3. params : ('M, 'T) Params.t;
  4. renders : ('M, 'T) Type.component_renders_annotation;
  5. body : 'M * ('M, 'T) Block.t;
  6. comments : ('M, unit) Syntax.t option;
  7. sig_loc : 'M;
}
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