Module Declaration_parser.Declaration

Parameters

Signature

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 -> 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 strict_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 enum_declaration : Parser_env.env -> (Loc.t, Loc.t) Flow_ast.Statement.t