package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.1-51.tbz
sha256=8545aa623cd168307474f9940c955ce3ffff537dc2e8a52bdc22a80098ad83b2
sha512=c36c2aca4b91244de3ab08dbb8231e9a0fa0296528d5c6c7dddef99d408a64b7264b788999c09b4e0b065cf640138629bc38350f965a2b28d84c3a378869845e

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

Module Flow_ast.JSX

Sourcemodule Identifier : sig ... end
Sourcemodule NamespacedName : sig ... end
Sourcemodule ExpressionContainer : sig ... end
Sourcemodule Text : sig ... end
Sourcemodule Attribute : sig ... end
Sourcemodule SpreadAttribute : sig ... end
Sourcemodule MemberExpression : sig ... end
Sourcetype ('M, 'T) name =
  1. | Identifier of ('M, 'T) Identifier.t
  2. | NamespacedName of ('M, 'T) NamespacedName.t
  3. | MemberExpression of ('M, 'T) MemberExpression.t
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
Sourcemodule Opening : sig ... end
Sourcemodule Closing : sig ... end
Sourcemodule SpreadChild : sig ... end
Sourcetype ('M, 'T) child = 'T * ('M, 'T) child'
Sourceand ('M, 'T) child' =
  1. | Element of ('M, 'T) element
  2. | Fragment of ('M, 'T) fragment
  3. | ExpressionContainer of ('M, 'T) ExpressionContainer.t
  4. | SpreadChild of ('M, 'T) SpreadChild.t
  5. | Text of Text.t
Sourceand ('M, 'T) element = {
  1. opening_element : ('M, 'T) Opening.t;
  2. closing_element : ('M, 'T) Closing.t option;
  3. children : 'M * ('M, 'T) child list;
  4. comments : ('M, unit) Syntax.t option;
}
Sourceand ('M, 'T) fragment = {
  1. frag_opening_element : 'M;
  2. frag_closing_element : 'M;
  3. frag_children : 'M * ('M, 'T) child list;
  4. frag_comments : ('M, unit) Syntax.t option;
}
Sourceval pp_child : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) child -> unit
Sourceval show_child : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) child -> string
Sourceval pp_child' : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) child' -> unit
Sourceval show_child' : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) child' -> string
Sourceval pp_element : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) element -> unit
Sourceval show_element : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) element -> string
Sourceval pp_fragment : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) fragment -> unit
Sourceval show_fragment : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) fragment -> string