Declaration.Type
let _type:
Parser_env.env =>
Js_parser.Comment_attachment.Ast.Type.t(Loc.t, Loc.t);
let type_identifier:
Parser_env.env =>
Js_parser.Comment_attachment.Ast.Identifier.t(Loc.t, Loc.t);
let type_params:
Parser_env.env =>
option(Js_parser.Comment_attachment.Ast.Type.TypeParams.t(Loc.t, Loc.t));
let type_args:
Parser_env.env =>
option(Js_parser.Comment_attachment.Ast.Type.TypeArgs.t(Loc.t, Loc.t));
let generic:
Parser_env.env =>
(Loc.t, Js_parser.Comment_attachment.Ast.Type.Generic.t(Loc.t, Loc.t));
let _object:
is_class:bool =>
Parser_env.env =>
(Loc.t, Flow_ast.Type.Object.t(Loc.t, Loc.t));
let interface_helper:
Parser_env.env =>
(list((Loc.t, Js_parser.Comment_attachment.Ast.Type.Generic.t(Loc.t, Loc.t))), (
Loc.t, Js_parser.Comment_attachment.Ast.Type.Object.t(Loc.t, Loc.t)));
let function_param_list:
Parser_env.env =>
Flow_ast.Type.Function.Params.t(Loc.t, Loc.t);
let component_param_list:
Parser_env.env =>
Js_parser.Comment_attachment.Ast.Type.Component.Params.t(Loc.t, Loc.t);
let annotation:
Parser_env.env =>
Js_parser.Comment_attachment.Ast.Type.annotation(Loc.t, Loc.t);
let annotation_opt:
Parser_env.env =>
Js_parser.Comment_attachment.Ast.Type.annotation_or_hint(Loc.t, Loc.t);
let renders_annotation_opt:
Parser_env.env =>
Js_parser.Comment_attachment.Ast.Type.component_renders_annotation(Loc.t,
Loc.t);
let function_return_annotation_opt:
Parser_env.env =>
Js_parser.Comment_attachment.Ast.Function.ReturnAnnot.t(Loc.t, Loc.t);
let predicate_opt:
Parser_env.env =>
option(Js_parser.Comment_attachment.Ast.Type.Predicate.t(Loc.t, Loc.t));
let function_return_annotation_and_predicate_opt:
Parser_env.env =>
(Js_parser.Comment_attachment.Ast.Function.ReturnAnnot.t(Loc.t, Loc.t),
option(Js_parser.Comment_attachment.Ast.Type.Predicate.t(Loc.t, Loc.t)));
let type_guard:
Parser_env.env =>
Js_parser.Comment_attachment.Ast.Type.TypeGuard.t(Loc.t, Loc.t);