Module Jsx_parser.JSX

Parameters

Signature

val tag_component_trailing_comments : Js_parser__Parser_env.env -> Loc.t Flow_ast.Comment.t list
val expression_container_contents : Parser_env.env -> (Loc.t, Loc.t) Flow_ast.JSX.ExpressionContainer.expression
val expression_container_or_spread_child : Parser_env.env -> Loc.t * (Loc.t, Loc.t) Flow_ast.JSX.child'
val opening_element : Parser_env.env -> Loc.t * ([> `Element of (Loc.t, Loc.t) Flow_ast.JSX.Opening.t' | `Fragment ], [> `Element of (Loc.t, Loc.t) Flow_ast.JSX.Opening.t' | `Fragment ]) result
val closing_element : Parser_env.env -> Loc.t * [> `Element of (Loc.t, Loc.t) Flow_ast.JSX.Closing.t' | `Fragment ]
val element : Parser_env.env -> Loc.t * [ `Element of (Loc.t, Loc.t) Flow_ast.JSX.element | `Fragment of (Loc.t, Loc.t) Flow_ast.JSX.fragment ]
val element_or_fragment : Parser_env.env -> Loc.t * [ `Element of (Loc.t, Loc.t) Flow_ast.JSX.element | `Fragment of (Loc.t, Loc.t) Flow_ast.JSX.fragment ]