package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-6.0.1-414.tbz
sha256=c1cce011864740dc43ee0f4e8130f70725f5e7042942cce653be5b6a8b439fb5
sha512=04fc82d97d5b9632c4ee041414d9fe104556a8c329e7444ffd71017baa00612da103fda91c309fc29a16e143c29d8748e1b1035a74681b61ff65fcfdf7f4e59c

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