package flow_parser

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val statement_list_item : ?decorators:(Loc.t, Loc.t) Flow_ast.Class.Decorator.t list -> Parser_env.env -> (Loc.t, Loc.t) Flow_ast.Statement.t
val statement_list : term_fn:(Token.t -> bool) -> Parser_env.env -> (Loc.t, Loc.t) Flow_ast.Statement.t list
val statement_list_with_directives : term_fn:(Token.t -> bool) -> Parser_env.env -> (Loc.t, Loc.t) Flow_ast.Statement.t list * bool
val module_body : term_fn:(Token.t -> bool) -> Parser_env.env -> (Loc.t, Loc.t) Flow_ast.Statement.t list
val expression_or_pattern : Parser_env.env -> Parser_common.pattern_cover
val left_hand_side : Parser_env.env -> (Loc.t, Loc.t) Flow_ast.Expression.t
val identifier : ?restricted_error:Parse_error.t -> Parser_env.env -> (Loc.t, Loc.t) Flow_ast.Identifier.t
val identifier_with_type : Parser_env.env -> ?no_optional:bool -> Parse_error.t -> Loc.t * (Loc.t, Loc.t) Flow_ast.Pattern.Identifier.t
val function_block_body : expression:bool -> Parser_env.env -> (Loc.t * (Loc.t, Loc.t) Flow_ast.Statement.Block.t) * bool
val jsx_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 ]
val object_key : ?class_body:bool -> Parser_env.env -> Loc.t * (Loc.t, Loc.t) Flow_ast.Expression.Object.Property.key
val class_expression : Parser_env.env -> (Loc.t, Loc.t) Flow_ast.Expression.t
val is_assignable_lhs : (Loc.t, Loc.t) Flow_ast.Expression.t -> bool
val number : Parser_env.env -> Token.number_type -> string -> float
val bigint : Parser_env.env -> Token.bigint_type -> string -> int64 option
OCaml

Innovation. Community. Security.