package melange

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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 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 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 ]