Declaration_parser.Declaration
module Parse : Parser_common.PARSER
module Type : Type_parser.TYPE
val async : Parser_env.env -> bool * Loc.t Flow_ast.Comment.t list
val generator : Parser_env.env -> bool * Loc.t Flow_ast.Comment.t list
val variance :
Parser_env.env ->
parse_readonly:bool ->
bool ->
bool ->
Loc.t Flow_ast.Variance.t option
val function_params :
await:bool ->
yield:bool ->
Parser_env.env ->
(Loc.t, Loc.t) Js_parser.Comment_attachment.Ast.Function.Params.t
val function_body :
Parser_env.env ->
async:bool ->
generator:bool ->
expression:bool ->
simple_params:bool ->
(Loc.t, Loc.t) Flow_ast.Function.body * bool
val check_unique_formal_parameters :
Parser_env.env ->
(Loc.t, Loc.t) Js_parser.Comment_attachment.Ast.Function.Params.t ->
unit
val check_unique_component_formal_parameters :
Parser_env.env ->
(Loc.t, Loc.t)
Js_parser.Comment_attachment.Ast.Statement.ComponentDeclaration.Params.t ->
unit
val strict_function_post_check :
Parser_env.env ->
contains_use_strict:bool ->
(Loc.t, Loc.t) Flow_ast.Identifier.t option ->
(Loc.t, Loc.t) Js_parser.Comment_attachment.Ast.Function.Params.t ->
unit
val strict_component_post_check :
Parser_env.env ->
contains_use_strict:bool ->
(Loc.t, Loc.t) Flow_ast.Identifier.t ->
(Loc.t, Loc.t)
Js_parser.Comment_attachment.Ast.Statement.ComponentDeclaration.Params.t ->
unit
val let_ :
Parser_env.env ->
(Loc.t, Loc.t) Flow_ast.Statement.VariableDeclaration.Declarator.t list
* Loc.t Js_parser.Comment_attachment.Ast.Comment.t list
* (Loc.t * Parse_error.t) list
val const :
Parser_env.env ->
(Loc.t, Loc.t) Flow_ast.Statement.VariableDeclaration.Declarator.t list
* Loc.t Js_parser.Comment_attachment.Ast.Comment.t list
* (Loc.t * Parse_error.t) list
val var :
Parser_env.env ->
(Loc.t, Loc.t) Flow_ast.Statement.VariableDeclaration.Declarator.t list
* Loc.t Js_parser.Comment_attachment.Ast.Comment.t list
* (Loc.t * Parse_error.t) list
val _function : Parser_env.env -> (Loc.t, Loc.t) Flow_ast.Statement.t
val enum_declaration :
?leading:Loc.t Flow_ast.Comment.t list ->
Parser_env.env ->
(Loc.t, Loc.t) Flow_ast.Statement.t
val component : Parser_env.env -> (Loc.t, Loc.t) Flow_ast.Statement.t