Jsx_parser.JSX
module Parse : Parser_common.PARSER
module Expression : Expression_parser.EXPRESSION
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 names_are_equal :
('a, 'b) Flow_ast.JSX.name ->
('c, 'd) Flow_ast.JSX.name ->
bool
val loc_of_name : ('a, 'b) Flow_ast.JSX.name -> 'c
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_is_unpaired :
('a, 'b) Flow_ast.JSX.name ->
('c * ('d, 'e) Flow_ast.JSX.child') ->
bool
val child :
parent_opening_name:(Loc.t, Loc.t) Flow_ast.JSX.name option ->
Parser_env.env ->
(Loc.t, Loc.t) Flow_ast.JSX.child
val element :
parent_opening_name:(Loc.t, Loc.t) Flow_ast.JSX.name option ->
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 :
parent_opening_name:(Loc.t, Loc.t) Flow_ast.JSX.name option ->
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 ]