Js_parser.Parser_envmodule SSet : Set.S with type elt = stringmodule Lex_mode : sig ... endval default_parse_options : parse_optionsval init_env :
?token_sink:(token_sink_result -> unit) option ->
?parse_options:parse_options option ->
File_key.t option ->
string ->
envval in_strict_mode : env -> boolval in_export : env -> boolval in_export_default : env -> boolval comments : env -> Loc.t Flow_ast.Comment.t listval in_loop : env -> boolval in_switch : env -> boolval in_formal_parameters : env -> boolval in_function : env -> boolval allow_yield : env -> boolval allow_await : env -> boolval allow_directive : env -> boolval allow_super : env -> allowed_superval has_simple_parameters : env -> boolval no_in : env -> boolval no_call : env -> boolval no_let : env -> boolval no_anon_function_type : env -> boolval no_new : env -> boolval errors : env -> (Loc.t * Parse_error.t) listval parse_options : env -> parse_optionsval source : env -> File_key.t optionval should_parse_types : env -> boolval get_unexpected_error : ?expected:string -> Token.t -> Parse_error.tval error_at : env -> (Loc.t * Parse_error.t) -> unitval error : env -> Parse_error.t -> unitval error_unexpected : ?expected:string -> env -> unitval error_nameless_declaration : env -> string -> unitval strict_error : env -> Parse_error.t -> unitval strict_error_at : env -> (Loc.t * Parse_error.t) -> unitval error_list : env -> (Loc.t * Parse_error.t) list -> unitval enter_class : env -> unitval exit_class : env -> unitval add_declared_private : env -> string -> unitval consume_comments_until : env -> Loc.position -> unitval with_allow_super : allowed_super -> env -> envval with_error_callback : (env -> Parse_error.t -> unit) -> env -> envval token_is_reserved : Token.t -> boolval token_is_strict_reserved : Token.t -> boolval token_is_restricted : Token.t -> boolmodule Peek : sig ... endmodule Eat : sig ... endmodule Expect : sig ... endmodule Try : sig ... end