package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.0-52.tbz
sha256=4a38934c6244e456366a57dfbfb1a09a2e1e93c3b1cac105242cd6e4311e237f
sha512=2526cfe8c0078d28592e23add72f55dd285c74146d6fb3efacb4f26b086362f36ae4737eb13c3f65cddc426897021f89e5d40c9c30c37a4dd784727a7f5457d6

doc/melange.js_parser/Js_parser/Flow_ast/JSX/Attribute/index.html

Module JSX.AttributeSource

Sourcetype ('M, 'T) t = 'M * ('M, 'T) t'
Sourceand ('M, 'T) name =
  1. | Identifier of ('M, 'T) Identifier.t
  2. | NamespacedName of ('M, 'T) NamespacedName.t
Sourceand ('M, 'T) value =
  1. | StringLiteral of 'T * 'M StringLiteral.t
  2. | ExpressionContainer of 'T * ('M, 'T) ExpressionContainer.t
Sourceand ('M, 'T) t' = {
  1. name : ('M, 'T) name;
  2. value : ('M, 'T) value option;
}
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_name : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) name -> unit
Sourceval show_name : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) name -> string
Sourceval pp_value : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) value -> unit
Sourceval show_value : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) value -> 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