package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.0-51.tbz
sha256=b1b1c61bb3dff9e8f0a9f450039967aef6b085d88a1088d521cec883ca010310
sha512=119693451a8023dac297e5e8dde81736781fb9b47b73e1adc2dbfeaedc0b48423444a87ad941c4196e4f569591faf7054d7f854aa850d248b566eb718d166eb9

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