package flow_parser

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val program : Parser_env.env -> Ast.program
val statement : Parser_env.env -> Ast.Statement.t
val statement_list_item : ?decorators:Ast.Expression.t list -> Parser_env.env -> Ast.Statement.t
val statement_list : term_fn:(Token.t -> bool) -> Parser_env.env -> Ast.Statement.t list
val statement_list_with_directives : term_fn:(Token.t -> bool) -> Parser_env.env -> Ast.Statement.t list * bool
val module_body : term_fn:(Token.t -> bool) -> Parser_env.env -> Ast.Statement.t list
val expression : Parser_env.env -> Ast.Expression.t
val conditional : Parser_env.env -> Ast.Expression.t
val assignment : Parser_env.env -> Ast.Expression.t
val left_hand_side : Parser_env.env -> Ast.Expression.t
val object_initializer : Parser_env.env -> Loc.t * Ast.Expression.Object.t
val array_initializer : Parser_env.env -> Loc.t * Ast.Expression.Array.t
val identifier : ?restricted_error:Parser_common.Error.t -> Parser_env.env -> Ast.Identifier.t
val identifier_or_reserved_keyword : Parser_env.env -> Ast.Identifier.t * (Loc.t * Parser_common.Error.t) option
val identifier_with_type : Parser_env.env -> ?no_optional:bool -> Parser_common.Error.t -> Loc.t * Ast.Pattern.Identifier.t
val function_block_body : Parser_env.env -> Loc.t * Ast.Statement.Block.t * bool
val jsx_element : Parser_env.env -> Loc.t * Ast.JSX.element
val pattern_from_expr : Parser_env.env -> Ast.Expression.t -> Ast.Pattern.t
val class_declaration : Parser_env.env -> Ast.Expression.t list -> Ast.Statement.t
val class_expression : Parser_env.env -> Ast.Expression.t
val is_assignable_lhs : Ast.Expression.t -> bool
OCaml

Innovation. Community. Security.