Jsx_parser.JSX
module Parse : Parser_common.PARSER
val tag_component_trailing_comments :
Js_parser__Parser_env.env ->
Loc.t Flow_ast.Comment.t list
val spread_attribute :
Parser_env.env ->
Loc.t * (Loc.t, Loc.t) Flow_ast.JSX.SpreadAttribute.t'
val expression_container_contents :
Parser_env.env ->
(Loc.t, Loc.t) Flow_ast.JSX.ExpressionContainer.expression
val expression_container :
Parser_env.env ->
Loc.t * (Loc.t, Loc.t) Flow_ast.JSX.ExpressionContainer.t
val expression_container_or_spread_child :
Parser_env.env ->
Loc.t * (Loc.t, Loc.t) Flow_ast.JSX.child'
val identifier : Parser_env.env -> Loc.t * Loc.t Flow_ast.JSX.Identifier.t'
val name : Parser_env.env -> (Loc.t, Loc.t) Flow_ast.JSX.name
val attribute :
Parser_env.env ->
Loc.t * (Loc.t, Loc.t) Flow_ast.JSX.Attribute.t'
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 child : Parser_env.env -> (Loc.t, Loc.t) Flow_ast.JSX.child
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 ]