package ocamlformat-mlx-lib
Module Parser_extended.Jsx_helperSource
Source
val mkexp :
loc:(Lexing.position * Lexing.position) ->
Parsetree.expression_desc ->
Parsetree.expressionSource
val mkjsxexp :
loc:(Lexing.position * Lexing.position) ->
Parsetree.expression_desc ->
Parsetree.expressionSource
val make_jsx_element :
raise:(exn -> unit) ->
loc:'a ->
tag:
([ `Module | `Value ]
* (Lexing.position * Lexing.position)
* Ocaml_common.Longident.t) ->
end_tag:
(([> `Module | `Value ] * (Lexing.position * 'b) * Ocaml_common.Longident.t)
* ('c * Lexing.position))
option ->
props:
((Lexing.position * Lexing.position)
* [< `Prop of string Asttypes.loc * Parsetree.expression
| `Prop_opt of string Asttypes.loc * Parsetree.expression
| `Prop_opt_punned of string Asttypes.loc
| `Prop_punned of string Asttypes.loc ])
list ->
children:Parsetree.expression ->
unit ->
Parsetree.expression_desc