Class Flow_ast_mapper.mapper

method program: Ast.Program.t('loc0, 'loc0) => Ast.Program.t('loc0, 'loc0)
method statement: Ast.Statement.t('loc1, 'loc1) => Ast.Statement.t('loc1, 'loc1)
method comment: Js_parser__Flow_ast.Comment.t('loc2) => Js_parser__Flow_ast.Comment.t('loc2)
method syntax_opt: 'internal. option(Ast.Syntax.t('loc3, 'internal)) => option(Ast.Syntax.t('loc3, 'internal))
method syntax: 'internal. Ast.Syntax.t('loc4, 'internal) => Ast.Syntax.t('loc4, 'internal)
method expression: Ast.Expression.t('loc5, 'loc5) => Ast.Expression.t('loc5, 'loc5)
method array: 'loc6 => Ast.Expression.Array.t('loc7, 'loc8) => Ast.Expression.Array.t('loc7, 'loc8)
method array_element: Ast.Expression.Array.element('loc9, 'loc10) => Ast.Expression.Array.element('loc9, 'loc10)
method arrow_function: 'loc11 => Ast.Function.t('loc12, 'loc12) => Ast.Function.t('loc12, 'loc12)
method as_expression: 'loc13 => Ast.Expression.AsExpression.t('loc14, 'loc15) => Ast.Expression.AsExpression.t('loc14, 'loc15)
method assignment: 'loc16 => Ast.Expression.Assignment.t('loc17, 'loc18) => Ast.Expression.Assignment.t('loc17, 'loc18)
method binary: 'loc19 => Ast.Expression.Binary.t('loc20, 'loc21) => Ast.Expression.Binary.t('loc20, 'loc21)
method block: 'loc22 => Ast.Statement.Block.t('loc23, 'loc24) => Ast.Statement.Block.t('loc23, 'loc24)
method break: 'loc25 => Ast.Statement.Break.t('loc26) => Ast.Statement.Break.t('loc26)
method call: 'loc27 => Ast.Expression.Call.t('loc28, 'loc29) => Ast.Expression.Call.t('loc28, 'loc29)
method arg_list: Js_parser__Flow_ast.Expression.ArgList.t('loc30, 'loc31) => Js_parser__Flow_ast.Expression.ArgList.t('loc30, 'loc31)
method optional_call: 'loc32 => Ast.Expression.OptionalCall.t('loc33, 'loc34) => Ast.Expression.OptionalCall.t('loc33, 'loc34)
method call_type_args: Js_parser__Flow_ast.Expression.CallTypeArgs.t('loc35, 'loc36) => Js_parser__Flow_ast.Expression.CallTypeArgs.t('loc35, 'loc36)
method call_type_arg: Ast.Expression.CallTypeArg.t('loc37, 'loc38) => Ast.Expression.CallTypeArg.t('loc37, 'loc38)
method catch_body: ('loc39, Ast.Statement.Block.t('loc39, 'loc39)) => ('loc40, Ast.Statement.Block.t('loc23, 'loc24))
method catch_clause: 'loc41 => Ast.Statement.Try.CatchClause.t'('loc42, 'loc42) => Ast.Statement.Try.CatchClause.t'('loc42, 'loc42)
method class_declaration: 'loc43 => Ast.Class.t('loc44, 'loc44) => Ast.Class.t('loc44, 'loc44)
method class_expression: 'loc45 => Ast.Class.t('loc46, 'loc46) => Ast.Class.t('loc46, 'loc46)
method class_: 'loc47 => Ast.Class.t('loc44, 'loc44) => Ast.Class.t('loc44, 'loc44)
method class_extends: 'loc48 => Ast.Class.Extends.t'('loc49, 'loc50) => Ast.Class.Extends.t'('loc49, 'loc50)
method class_identifier: Js_parser__Flow_ast.Identifier.t('loc51, 'loc52) => Js_parser__Flow_ast.Identifier.t('loc51, 'loc52)
method class_body: Js_parser__Flow_ast.Class.Body.t('loc53, 'loc54) => Js_parser__Flow_ast.Class.Body.t('loc53, 'loc54)
method class_decorator: Ast.Class.Decorator.t('loc55, 'loc56) => Ast.Class.Decorator.t('loc55, 'loc56)
method class_element: Ast.Class.Body.element('loc57, 'loc58) => Ast.Class.Body.element('loc57, 'loc58)
method class_implements: Ast.Class.Implements.t('loc59, 'loc60) => Ast.Class.Implements.t('loc59, 'loc60)
method class_implements_interface: Ast.Class.Implements.Interface.t('loc61, 'loc62) => Ast.Class.Implements.Interface.t('loc61, 'loc62)
method class_method: 'loc63 => Ast.Class.Method.t'('loc64, 'loc64) => Ast.Class.Method.t'('loc64, 'loc64)
method class_property: 'loc65 => Ast.Class.Property.t'('loc66, 'loc66) => Ast.Class.Property.t'('loc66, 'loc66)
method class_property_value: Ast.Class.Property.value('loc67, 'loc68) => Ast.Class.Property.value('loc67, 'loc68)
method class_private_field: 'loc69 => Ast.Class.PrivateField.t'('loc70, 'loc70) => Ast.Class.PrivateField.t'('loc70, 'loc70)
method default_opt: option(Ast.Expression.t('loc71, 'loc71)) => option(Js_parser__Flow_ast.Expression.t('loc72, 'loc73))
method component_declaration: 'loc74 => Ast.Statement.ComponentDeclaration.t('loc75, 'loc76) => Ast.Statement.ComponentDeclaration.t('loc75, 'loc76)
method component_identifier: Js_parser__Flow_ast.Identifier.t('loc77, 'loc78) => Js_parser__Flow_ast.Identifier.t('loc77, 'loc78)
method component_params: Ast.Statement.ComponentDeclaration.Params.t('loc79, 'loc80) => Ast.Statement.ComponentDeclaration.Params.t('loc79, 'loc80)
method component_param: Js_parser__Flow_ast.Statement.ComponentDeclaration.Param.t ('loc81, 'loc82) => Js_parser__Flow_ast.Statement.ComponentDeclaration.Param.t('loc81, 'loc82)
method component_param_pattern: Js_parser__Flow_ast.Pattern.t('loc85, 'loc86) => Js_parser__Flow_ast.Pattern.t('loc85, 'loc86)
method component_rest_param: Js_parser__Flow_ast.Statement.ComponentDeclaration.RestParam.t ('loc87, 'loc88) => Js_parser__Flow_ast.Statement.ComponentDeclaration.RestParam.t('loc87, 'loc88)
method component_body: ('loc89, Ast.Statement.Block.t('loc90, 'loc90)) => ('loc91, Ast.Statement.Block.t('loc90, 'loc90))
method conditional: 'loc92 => Ast.Expression.Conditional.t('loc93, 'loc94) => Ast.Expression.Conditional.t('loc93, 'loc94)
method continue: 'loc95 => Ast.Statement.Continue.t('loc96) => Ast.Statement.Continue.t('loc96)
method debugger: 'loc97 => Ast.Statement.Debugger.t('loc98) => Ast.Statement.Debugger.t('loc98)
method declare_class: 'loc99 => Ast.Statement.DeclareClass.t('loc100, 'loc101) => Ast.Statement.DeclareClass.t('loc100, 'loc101)
method declare_component: 'loc102 => Ast.Statement.DeclareComponent.t('loc103, 'loc104) => Ast.Statement.DeclareComponent.t('loc103, 'loc104)
method component_type: 'loc105 => Ast.Type.Component.t('loc106, 'loc106) => Ast.Type.Component.t('loc106, 'loc106)
method component_type_params: Js_parser__Flow_ast.Type.Component.Params.t ('loc107, 'loc108) => Js_parser__Flow_ast.Type.Component.Params.t('loc107, 'loc108)
method component_type_param: Js_parser__Flow_ast.Type.Component.Param.t ('loc109, 'loc110) => Js_parser__Flow_ast.Type.Component.Param.t('loc109, 'loc110)
method component_type_rest_param: Js_parser__Flow_ast.Type.Component.RestParam.t ('loc111, 'loc112) => Js_parser__Flow_ast.Type.Component.RestParam.t('loc111, 'loc112)
method declare_enum: 'loc113 => Ast.Statement.EnumDeclaration.t('loc114, 'loc115) => Ast.Statement.EnumDeclaration.t('loc114, 'loc115)
method declare_export_declaration: 'loc116 => Ast.Statement.DeclareExportDeclaration.t('loc117, 'loc118) => Ast.Statement.DeclareExportDeclaration.t('loc117, 'loc118)
method declare_export_declaration_decl: Ast.Statement.DeclareExportDeclaration.declaration ('loc119, 'loc120) => Ast.Statement.DeclareExportDeclaration.declaration('loc119, 'loc120)
method declare_function: 'loc121 => Ast.Statement.DeclareFunction.t('loc122, 'loc123) => Ast.Statement.DeclareFunction.t('loc122, 'loc123)
method declare_interface: 'loc124 => Ast.Statement.Interface.t('loc125, 'loc126) => Ast.Statement.Interface.t('loc125, 'loc126)
method declare_module: 'loc127 => Ast.Statement.DeclareModule.t('loc128, 'loc129) => Ast.Statement.DeclareModule.t('loc128, 'loc129)
method declare_module_exports: 'loc130 => Ast.Statement.DeclareModuleExports.t('loc131, 'loc132) => Ast.Statement.DeclareModuleExports.t('loc131, 'loc132)
method declare_type_alias: 'loc133 => Ast.Statement.TypeAlias.t('loc134, 'loc135) => Ast.Statement.TypeAlias.t('loc134, 'loc135)
method declare_variable: 'loc136 => Ast.Statement.DeclareVariable.t('loc137, 'loc138) => Ast.Statement.DeclareVariable.t('loc137, 'loc138)
method do_while: 'loc139 => Ast.Statement.DoWhile.t('loc140, 'loc141) => Ast.Statement.DoWhile.t('loc140, 'loc141)
method empty: 'loc142 => Ast.Statement.Empty.t('loc143) => Ast.Statement.Empty.t('loc143)
method enum_declaration: 'loc144 => Ast.Statement.EnumDeclaration.t('loc145, 'loc146) => Ast.Statement.EnumDeclaration.t('loc145, 'loc146)
method enum_defaulted_member: Js_parser__Flow_ast.Statement.EnumDeclaration.DefaultedMember.t('loc153) => Js_parser__Flow_ast.Statement.EnumDeclaration.DefaultedMember.t('loc153)
method enum_boolean_member: Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t (Ast.BooleanLiteral.t('loc154), 'loc155) => Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t(Ast.BooleanLiteral.t('loc154), 'loc155)
method enum_number_member: Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t (Ast.NumberLiteral.t('loc156), 'loc157) => Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t(Ast.NumberLiteral.t('loc156), 'loc157)
method enum_string_member: Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t (Ast.StringLiteral.t('loc158), 'loc159) => Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t(Ast.StringLiteral.t('loc158), 'loc159)
method enum_bigint_member: Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t (Ast.BigIntLiteral.t('loc160), 'loc161) => Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t(Ast.BigIntLiteral.t('loc160), 'loc161)
method enum_member_identifier: Js_parser__Flow_ast.Identifier.t('loc162, 'loc162) => Js_parser__Flow_ast.Identifier.t('loc162, 'loc162)
method export_default_declaration: 'loc163 => Ast.Statement.ExportDefaultDeclaration.t('loc164, 'loc165) => Ast.Statement.ExportDefaultDeclaration.t('loc164, 'loc165)
method export_default_declaration_decl: Ast.Statement.ExportDefaultDeclaration.declaration ('loc166, 'loc167) => Ast.Statement.ExportDefaultDeclaration.declaration('loc166, 'loc167)
method export_named_declaration: 'loc168 => Ast.Statement.ExportNamedDeclaration.t('loc169, 'loc170) => Ast.Statement.ExportNamedDeclaration.t('loc169, 'loc170)
method export_named_declaration_specifier: Ast.Statement.ExportNamedDeclaration.ExportSpecifier.t ('loc171, 'loc171) => Ast.Statement.ExportNamedDeclaration.ExportSpecifier.t('loc171, 'loc171)
method export_named_specifier: Ast.Statement.ExportNamedDeclaration.specifier ('loc173, 'loc174) => Ast.Statement.ExportNamedDeclaration.specifier('loc173, 'loc174)
method export_source: 'loc175 => Ast.StringLiteral.t('loc176) => Ast.StringLiteral.t('loc176)
method expression_statement: 'loc177 => Ast.Statement.Expression.t('loc178, 'loc179) => Ast.Statement.Expression.t('loc178, 'loc179)
method expression_or_spread: Ast.Expression.expression_or_spread('loc180, 'loc181) => Ast.Expression.expression_or_spread('loc180, 'loc181)
method for_in_statement: 'loc182 => Ast.Statement.ForIn.t('loc183, 'loc184) => Ast.Statement.ForIn.t('loc183, 'loc184)
method for_in_statement_lhs: Ast.Statement.ForIn.left('loc185, 'loc186) => Ast.Statement.ForIn.left('loc185, 'loc186)
method for_in_left_declaration: ('loc187, Ast.Statement.VariableDeclaration.t ('loc188, 'loc189)) => ('loc187, Ast.Statement.VariableDeclaration.t('loc188, 'loc189))
method for_of_statement: 'loc190 => Ast.Statement.ForOf.t('loc191, 'loc192) => Ast.Statement.ForOf.t('loc191, 'loc192)
method for_of_statement_lhs: Ast.Statement.ForOf.left('loc193, 'loc194) => Ast.Statement.ForOf.left('loc193, 'loc194)
method for_of_left_declaration: ('loc195, Ast.Statement.VariableDeclaration.t ('loc188, 'loc189)) => ('loc195, Ast.Statement.VariableDeclaration.t('loc188, 'loc189))
method for_statement: 'loc196 => Ast.Statement.For.t('loc197, 'loc198) => Ast.Statement.For.t('loc197, 'loc198)
method for_statement_init: Ast.Statement.For.init('loc199, 'loc200) => Ast.Statement.For.init('loc199, 'loc200)
method for_init_declaration: ('loc201, Ast.Statement.VariableDeclaration.t ('loc188, 'loc189)) => ('loc201, Ast.Statement.VariableDeclaration.t('loc188, 'loc189))
method function_param_type: Ast.Type.Function.Param.t('loc202, 'loc202) => Ast.Type.Function.Param.t('loc202, 'loc202)
method function_rest_param_type: Ast.Type.Function.RestParam.t('loc203, 'loc203) => Ast.Type.Function.RestParam.t('loc203, 'loc203)
method function_this_param_type: Ast.Type.Function.ThisParam.t('loc204, 'loc204) => Ast.Type.Function.ThisParam.t('loc204, 'loc204)
method function_type_return_annotation: Ast.Type.Function.return_annotation ('loc205, 'loc205) => Ast.Type.Function.return_annotation('loc205, 'loc205)
method function_type: 'loc206 => Ast.Type.Function.t('loc207, 'loc207) => Ast.Type.Function.t('loc207, 'loc207)
method label_identifier: Js_parser__Flow_ast.Identifier.t('loc208, 'loc208) => Js_parser__Flow_ast.Identifier.t('loc208, 'loc208)
method object_property_value_type: Ast.Type.Object.Property.value('loc209, 'loc209) => Ast.Type.Object.Property.value('loc209, 'loc209)
method object_type_property_getter: ('loc210, Ast.Type.Function.t('loc207, 'loc207)) => ('loc210, Ast.Type.Function.t('loc207, 'loc207))
method object_type_property_setter: ('loc211, Ast.Type.Function.t('loc207, 'loc207)) => ('loc211, Ast.Type.Function.t('loc207, 'loc207))
method object_property_type: Ast.Type.Object.Property.t('loc212, 'loc212) => Ast.Type.Object.Property.t('loc212, 'loc212)
method object_spread_property_type: Ast.Type.Object.SpreadProperty.t('loc213, 'loc213) => Ast.Type.Object.SpreadProperty.t('loc213, 'loc213)
method object_indexer_property_type: Ast.Type.Object.Indexer.t('loc214, 'loc214) => Ast.Type.Object.Indexer.t('loc214, 'loc214)
method object_internal_slot_property_type: Ast.Type.Object.InternalSlot.t ('loc215, 'loc215) => Ast.Type.Object.InternalSlot.t('loc215, 'loc215)
method object_call_property_type: Ast.Type.Object.CallProperty.t('loc216, 'loc216) => Ast.Type.Object.CallProperty.t('loc216, 'loc216)
method object_mapped_type_property: Ast.Type.Object.MappedType.t('loc217, 'loc217) => Ast.Type.Object.MappedType.t('loc217, 'loc217)
method object_type: 'loc218 => Ast.Type.Object.t('loc219, 'loc219) => Ast.Type.Object.t('loc219, 'loc219)
method object_type_property: Ast.Type.Object.property('loc220, 'loc221) => Ast.Type.Object.property('loc220, 'loc221)
method interface_type: 'loc222 => Ast.Type.Interface.t('loc223, 'loc223) => Ast.Type.Interface.t('loc223, 'loc223)
method generic_identifier_type: Ast.Type.Generic.Identifier.t('loc224, 'loc224) => Ast.Type.Generic.Identifier.t('loc224, 'loc224)
method generic_qualified_identifier_type: Ast.Type.Generic.Identifier.qualified ('loc225, 'loc226) => Ast.Type.Generic.Identifier.qualified('loc225, 'loc226)
method member_type_identifier: Js_parser__Flow_ast.Identifier.t('loc227, 'loc228) => Js_parser__Flow_ast.Identifier.t('loc227, 'loc228)
method variance: Ast.Variance.t('loc229) => Ast.Variance.t('loc229)
method variance_opt: option(Js_parser__Flow_ast.Variance.t('loc230)) => option(Js_parser__Flow_ast.Variance.t('loc231))
method type_args: Js_parser__Flow_ast.Type.TypeArgs.t('loc232, 'loc233) => Js_parser__Flow_ast.Type.TypeArgs.t('loc232, 'loc233)
method type_params: Js_parser__Flow_ast.Type.TypeParams.t('loc234, 'loc235) => Js_parser__Flow_ast.Type.TypeParams.t('loc234, 'loc235)
method type_param: Js_parser__Flow_ast.Type.TypeParam.t('loc236, 'loc237) => Js_parser__Flow_ast.Type.TypeParam.t('loc236, 'loc237)
method generic_type: 'loc238 => Ast.Type.Generic.t('loc239, 'loc239) => Ast.Type.Generic.t('loc239, 'loc239)
method indexed_access_type: 'loc240 => Ast.Type.IndexedAccess.t('loc241, 'loc241) => Ast.Type.IndexedAccess.t('loc241, 'loc241)
method optional_indexed_access_type: 'loc242 => Ast.Type.OptionalIndexedAccess.t('loc243, 'loc243) => Ast.Type.OptionalIndexedAccess.t('loc243, 'loc243)
method string_literal: 'loc244 => Ast.StringLiteral.t('loc245) => Ast.StringLiteral.t('loc245)
method number_literal: 'loc246 => Ast.NumberLiteral.t('loc247) => Ast.NumberLiteral.t('loc247)
method bigint_literal: 'loc248 => Ast.BigIntLiteral.t('loc249) => Ast.BigIntLiteral.t('loc249)
method boolean_literal: 'loc250 => Ast.BooleanLiteral.t('loc251) => Ast.BooleanLiteral.t('loc251)
method null_literal: 'loc252 => option(Ast.Syntax.t('loc3, unit)) => option(Ast.Syntax.t('loc3, unit))
method regexp_literal: 'loc253 => Ast.RegExpLiteral.t('loc254) => Ast.RegExpLiteral.t('loc254)
method module_ref_literal: 'loc255 => Ast.ModuleRefLiteral.t('loc256, 'loc256) => Ast.ModuleRefLiteral.t('loc256, 'loc256)
method nullable_type: Ast.Type.Nullable.t('loc257, 'loc257) => Ast.Type.Nullable.t('loc257, 'loc257)
method conditional_type: Ast.Type.Conditional.t('loc258, 'loc258) => Ast.Type.Conditional.t('loc258, 'loc258)
method infer_type: Ast.Type.Infer.t('loc259, 'loc259) => Ast.Type.Infer.t('loc259, 'loc259)
method typeof_type: Ast.Type.Typeof.t('loc260, 'loc260) => Ast.Type.Typeof.t('loc260, 'loc260)
method typeof_expression: Ast.Type.Typeof.Target.t('loc261, 'loc262) => Ast.Type.Typeof.Target.t('loc261, 'loc262)
method typeof_identifier: Js_parser__Flow_ast.Identifier.t('loc263, 'loc264) => Js_parser__Flow_ast.Identifier.t('loc263, 'loc264)
method typeof_member_identifier: Js_parser__Flow_ast.Identifier.t('loc265, 'loc266) => Js_parser__Flow_ast.Identifier.t('loc265, 'loc266)
method typeof_qualified_identifier: Ast.Type.Typeof.Target.qualified('loc267, 'loc268) => Ast.Type.Typeof.Target.qualified('loc267, 'loc268)
method keyof_type: Ast.Type.Keyof.t('loc269, 'loc269) => Ast.Type.Keyof.t('loc269, 'loc269)
method render_type: Ast.Type.Renders.t('loc270, 'loc270) => Ast.Type.Renders.t('loc270, 'loc270)
method readonly_type: Ast.Type.ReadOnly.t('loc271, 'loc271) => Ast.Type.ReadOnly.t('loc271, 'loc271)
method tuple_type: Ast.Type.Tuple.t('loc272, 'loc272) => Ast.Type.Tuple.t('loc272, 'loc272)
method tuple_element: Ast.Type.Tuple.element('loc273, 'loc274) => Ast.Type.Tuple.element('loc273, 'loc274)
method tuple_labeled_element: Ast.Type.Tuple.LabeledElement.t('loc275, 'loc276) => Ast.Type.Tuple.LabeledElement.t('loc275, 'loc276)
method tuple_spread_element: Ast.Type.Tuple.SpreadElement.t('loc277, 'loc278) => Ast.Type.Tuple.SpreadElement.t('loc277, 'loc278)
method array_type: Ast.Type.Array.t('loc279, 'loc279) => Ast.Type.Array.t('loc279, 'loc279)
method union_type: 'loc280 => Ast.Type.Union.t('loc281, 'loc281) => Ast.Type.Union.t('loc281, 'loc281)
method intersection_type: 'loc282 => Ast.Type.Intersection.t('loc283, 'loc283) => Ast.Type.Intersection.t('loc283, 'loc283)
method type_: Js_parser__Flow_ast.Type.t('loc284, 'loc285) => Js_parser__Flow_ast.Type.t('loc284, 'loc285)
method type_annotation: Js_parser__Flow_ast.Type.annotation('loc286, 'loc287) => Js_parser__Flow_ast.Type.annotation('loc286, 'loc287)
method type_annotation_hint: Ast.Type.annotation_or_hint('loc288, 'loc289) => Ast.Type.annotation_or_hint('loc288, 'loc289)
method component_renders_annotation: Ast.Type.component_renders_annotation ('loc290, 'loc291) => Ast.Type.component_renders_annotation('loc290, 'loc291)
method function_declaration: 'loc292 => Ast.Function.t('loc293, 'loc293) => Ast.Function.t('loc293, 'loc293)
method function_expression: 'loc294 => Ast.Function.t('loc295, 'loc295) => Ast.Function.t('loc295, 'loc295)
method function_expression_or_method: 'loc296 => Ast.Function.t('loc295, 'loc295) => Ast.Function.t('loc295, 'loc295)

previously, we conflated function_expression and class_method. callers should be updated to override those individually.

  • deprecated Use either function_expression or class_method
method function_: 'loc297 => Ast.Function.t('loc12, 'loc12) => Ast.Function.t('loc12, 'loc12)
method function_params: Ast.Function.Params.t('loc298, 'loc299) => Ast.Function.Params.t('loc298, 'loc299)
method function_this_param: Js_parser__Flow_ast.Function.ThisParam.t('loc300, 'loc301) => Js_parser__Flow_ast.Function.ThisParam.t('loc300, 'loc301)
method function_param: Js_parser__Flow_ast.Function.Param.t('loc302, 'loc303) => Js_parser__Flow_ast.Function.Param.t('loc302, 'loc303)
method function_return_annotation: Ast.Function.ReturnAnnot.t('loc304, 'loc305) => Ast.Function.ReturnAnnot.t('loc304, 'loc305)
method function_body_any: Ast.Function.body('loc306, 'loc307) => Ast.Function.body('loc306, 'loc307)
method function_body: ('loc308, Ast.Statement.Block.t('loc309, 'loc309)) => ('loc308, Ast.Statement.Block.t('loc309, 'loc309))
method body_expression: Js_parser__Flow_ast.Expression.t('loc310, 'loc311) => Js_parser__Flow_ast.Expression.t('loc310, 'loc311)
method function_identifier: Js_parser__Flow_ast.Identifier.t('loc312, 'loc313) => Js_parser__Flow_ast.Identifier.t('loc312, 'loc313)
method identifier: Js_parser__Flow_ast.Identifier.t('loc265, 'loc266) => Js_parser__Flow_ast.Identifier.t('loc265, 'loc266)
method type_identifier: Ast.Identifier.t('loc314, 'loc314) => Js_parser__Flow_ast.Identifier.t('loc265, 'loc266)
method type_identifier_reference: Js_parser__Flow_ast.Identifier.t('loc315, 'loc316) => Js_parser__Flow_ast.Identifier.t('loc315, 'loc316)
method binding_type_identifier: Js_parser__Flow_ast.Identifier.t('loc317, 'loc317) => Js_parser__Flow_ast.Identifier.t('loc317, 'loc317)
method interface: 'loc318 => Ast.Statement.Interface.t('loc319, 'loc319) => Ast.Statement.Interface.t('loc125, 'loc126)
method interface_declaration: 'loc320 => Ast.Statement.Interface.t('loc321, 'loc322) => Ast.Statement.Interface.t('loc321, 'loc322)
method private_name: Js_parser__Flow_ast.PrivateName.t('loc323) => Js_parser__Flow_ast.PrivateName.t('loc323)
method computed_key: Ast.ComputedKey.t('loc324, 'loc324) => Ast.ComputedKey.t('loc324, 'loc324)
method import: 'loc325 => Ast.Expression.Import.t('loc326, 'loc327) => Ast.Expression.Import.t('loc326, 'loc327)
method if_consequent_statement: has_else:bool => Ast.Statement.t('loc328, 'loc328) => Ast.Statement.t('loc1, 'loc1)
method if_alternate_statement: 'loc329 => Ast.Statement.If.Alternate.t'('loc330, 'loc330) => Ast.Statement.If.Alternate.t'('loc330, 'loc330)
method if_statement: 'loc331 => Ast.Statement.If.t('loc332, 'loc333) => Ast.Statement.If.t('loc332, 'loc333)
method import_declaration: 'loc334 => Ast.Statement.ImportDeclaration.t('loc335, 'loc336) => Ast.Statement.ImportDeclaration.t('loc335, 'loc336)
method import_source: 'loc337 => Ast.StringLiteral.t('loc338) => Ast.StringLiteral.t('loc338)
method remote_identifier: Js_parser__Flow_ast.Identifier.t('loc265, 'loc266) => Js_parser__Flow_ast.Identifier.t('loc265, 'loc266)
method import_default_specifier: import_kind: Ast.Statement.ImportDeclaration.import_kind => Js_parser__Flow_ast.Identifier.t('loc343, 'loc344) => Js_parser__Flow_ast.Identifier.t('loc343, 'loc344)
method import_namespace_specifier: import_kind: Ast.Statement.ImportDeclaration.import_kind => 'loc345 => Js_parser__Flow_ast.Identifier.t('loc346, 'loc347) => Js_parser__Flow_ast.Identifier.t('loc346, 'loc347)
method jsx_element: 'loc348 => Ast.JSX.element('loc349, 'loc349) => Ast.JSX.element('loc349, 'loc349)
method jsx_fragment: 'loc350 => Ast.JSX.fragment('loc351, 'loc351) => Ast.JSX.fragment('loc351, 'loc351)
method jsx_opening_element: Ast.JSX.Opening.t('loc352, 'loc353) => Ast.JSX.Opening.t('loc352, 'loc353)
method jsx_closing_element: Ast.JSX.Closing.t('loc354, 'loc355) => Ast.JSX.Closing.t('loc354, 'loc355)
method jsx_opening_attribute: Ast.JSX.Opening.attribute('loc356, 'loc357) => Ast.JSX.Opening.attribute('loc356, 'loc357)
method jsx_spread_attribute: 'loc358 => Ast.JSX.SpreadAttribute.t'('loc359, 'loc359) => Ast.JSX.SpreadAttribute.t'('loc359, 'loc359)
method jsx_attribute: Js_parser__Flow_ast.JSX.Attribute.t('loc360, 'loc361) => Js_parser__Flow_ast.JSX.Attribute.t('loc360, 'loc361)
method jsx_attribute_name: Ast.JSX.Attribute.name('loc362, 'loc363) => Ast.JSX.Attribute.name('loc362, 'loc363)
method jsx_attribute_name_identifier: Js_parser__Flow_ast.JSX.Identifier.t ('loc364, 'loc365) => Js_parser__Flow_ast.JSX.Identifier.t('loc364, 'loc365)
method jsx_attribute_name_namespaced: Js_parser__Flow_ast.JSX.NamespacedName.t ('loc366, 'loc367) => Js_parser__Flow_ast.JSX.NamespacedName.t('loc366, 'loc367)
method jsx_attribute_value: Ast.JSX.Attribute.value('loc368, 'loc369) => Ast.JSX.Attribute.value('loc368, 'loc369)
method jsx_attribute_value_expression: 'loc370 => Ast.JSX.ExpressionContainer.t('loc371, 'loc371) => Ast.JSX.ExpressionContainer.t('loc371, 'loc371)
method jsx_attribute_value_literal: 'loc372 => Ast.StringLiteral.t('loc373) => Ast.StringLiteral.t('loc373)
method jsx_children: ('loc374, list(Ast.JSX.child('loc374, 'loc375))) => ('loc376, list(Ast.JSX.child('loc376, 'loc377)))
method jsx_child: Ast.JSX.child('loc378, 'loc378) => Ast.JSX.child('loc378, 'loc378)
method jsx_expression: 'loc379 => Ast.JSX.ExpressionContainer.t('loc371, 'loc371) => Ast.JSX.ExpressionContainer.t('loc371, 'loc371)
method jsx_spread_child: Ast.JSX.SpreadChild.t('loc380, 'loc381) => Ast.JSX.SpreadChild.t('loc380, 'loc381)
method jsx_element_name: Ast.JSX.name('loc382, 'loc382) => Ast.JSX.name('loc382, 'loc382)
method jsx_element_name_identifier: Ast.JSX.Identifier.t('loc383, 'loc384) => Ast.JSX.Identifier.t('loc383, 'loc384)
method jsx_element_name_namespaced: Ast.JSX.NamespacedName.t('loc385, 'loc386) => Ast.JSX.NamespacedName.t('loc385, 'loc386)
method jsx_element_name_member_expression: Ast.JSX.MemberExpression.t ('loc387, 'loc388) => Ast.JSX.MemberExpression.t('loc387, 'loc388)
method jsx_namespaced_name: Js_parser__Flow_ast.JSX.NamespacedName.t('loc366, 'loc367) => Js_parser__Flow_ast.JSX.NamespacedName.t('loc366, 'loc367)
method jsx_member_expression: Ast.JSX.MemberExpression.t('loc387, 'loc388) => Ast.JSX.MemberExpression.t('loc387, 'loc388)
method jsx_member_expression_object: Ast.JSX.MemberExpression._object ('loc389, 'loc390) => Ast.JSX.MemberExpression._object('loc389, 'loc390)
method jsx_member_expression_identifier: Js_parser__Flow_ast.JSX.Identifier.t ('loc391, 'loc392) => Js_parser__Flow_ast.JSX.Identifier.t('loc391, 'loc392)
method jsx_identifier: Js_parser__Flow_ast.JSX.Identifier.t('loc364, 'loc365) => Js_parser__Flow_ast.JSX.Identifier.t('loc364, 'loc365)
method labeled_statement: 'loc393 => Ast.Statement.Labeled.t('loc394, 'loc395) => Ast.Statement.Labeled.t('loc394, 'loc395)
method logical: 'loc396 => Ast.Expression.Logical.t('loc397, 'loc398) => Ast.Expression.Logical.t('loc397, 'loc398)
method member: 'loc399 => Ast.Expression.Member.t('loc400, 'loc401) => Ast.Expression.Member.t('loc400, 'loc401)
method optional_member: 'loc402 => Ast.Expression.OptionalMember.t('loc403, 'loc404) => Ast.Expression.OptionalMember.t('loc403, 'loc404)
method member_property: Ast.Expression.Member.property('loc405, 'loc406) => Ast.Expression.Member.property('loc405, 'loc406)
method member_property_identifier: Js_parser__Flow_ast.Identifier.t('loc407, 'loc408) => Js_parser__Flow_ast.Identifier.t('loc407, 'loc408)
method member_private_name: Js_parser__Flow_ast.PrivateName.t('loc409) => Js_parser__Flow_ast.PrivateName.t('loc409)
method member_property_expression: Js_parser__Flow_ast.Expression.t('loc410, 'loc411) => Js_parser__Flow_ast.Expression.t('loc410, 'loc411)
method meta_property: 'loc412 => Ast.Expression.MetaProperty.t('loc413) => Ast.Expression.MetaProperty.t('loc413)
method new_: 'loc414 => Ast.Expression.New.t('loc415, 'loc416) => Ast.Expression.New.t('loc415, 'loc416)
method object_: 'loc417 => Ast.Expression.Object.t('loc418, 'loc419) => Ast.Expression.Object.t('loc418, 'loc419)
method object_property: Ast.Expression.Object.Property.t('loc420, 'loc421) => Ast.Expression.Object.Property.t('loc420, 'loc421)
method object_key: Ast.Expression.Object.Property.key('loc422, 'loc423) => Ast.Expression.Object.Property.key('loc422, 'loc423)
method object_key_string_literal: ('loc424, Ast.StringLiteral.t('loc425)) => ('loc424, Ast.StringLiteral.t('loc425))
method object_key_number_literal: ('loc426, Ast.NumberLiteral.t('loc427)) => ('loc426, Ast.NumberLiteral.t('loc427))
method object_key_bigint_literal: ('loc428, Ast.BigIntLiteral.t('loc429)) => ('loc428, Ast.BigIntLiteral.t('loc429))
method object_key_identifier: Js_parser__Flow_ast.Identifier.t('loc430, 'loc431) => Js_parser__Flow_ast.Identifier.t('loc430, 'loc431)
method object_key_computed: Js_parser__Flow_ast.ComputedKey.t('loc432, 'loc433) => Js_parser__Flow_ast.ComputedKey.t('loc432, 'loc433)
method opaque_type: 'loc434 => Ast.Statement.OpaqueType.t('loc435, 'loc436) => Ast.Statement.OpaqueType.t('loc435, 'loc436)
method function_param_pattern: Js_parser__Flow_ast.Pattern.t('loc437, 'loc438) => Js_parser__Flow_ast.Pattern.t('loc437, 'loc438)
method variable_declarator_pattern: kind:Ast.Variable.kind => Ast.Pattern.t('loc439, 'loc439) => Js_parser__Flow_ast.Pattern.t('loc85, 'loc86)
method catch_clause_pattern: Js_parser__Flow_ast.Pattern.t('loc440, 'loc441) => Js_parser__Flow_ast.Pattern.t('loc440, 'loc441)
method for_in_assignment_pattern: Js_parser__Flow_ast.Pattern.t('loc442, 'loc443) => Js_parser__Flow_ast.Pattern.t('loc442, 'loc443)
method for_of_assignment_pattern: Js_parser__Flow_ast.Pattern.t('loc444, 'loc445) => Js_parser__Flow_ast.Pattern.t('loc444, 'loc445)
method binding_pattern: ?kind:Ast.Variable.kind => Ast.Pattern.t('loc446, 'loc446) => Js_parser__Flow_ast.Pattern.t('loc85, 'loc86)
method assignment_pattern: Js_parser__Flow_ast.Pattern.t('loc447, 'loc448) => Js_parser__Flow_ast.Pattern.t('loc447, 'loc448)
method pattern: ?kind:Ast.Variable.kind => Ast.Pattern.t('loc449, 'loc449) => Js_parser__Flow_ast.Pattern.t('loc85, 'loc86)
method pattern_identifier: ?kind:Ast.Variable.kind => Ast.Identifier.t('loc450, 'loc450) => Js_parser__Flow_ast.Identifier.t('loc51, 'loc52)
method pattern_string_literal: ?kind:Ast.Variable.kind => 'loc451 => Ast.StringLiteral.t('loc452) => Ast.StringLiteral.t('loc245)
method pattern_number_literal: ?kind:Ast.Variable.kind => 'loc453 => Ast.NumberLiteral.t('loc454) => Ast.NumberLiteral.t('loc247)
method pattern_bigint_literal: ?kind:Ast.Variable.kind => 'loc455 => Ast.BigIntLiteral.t('loc456) => Ast.BigIntLiteral.t('loc249)
method pattern_object_p: ?kind:Ast.Variable.kind => Ast.Pattern.Object.property('loc457, 'loc458) => Ast.Pattern.Object.property('loc457, 'loc458)
method pattern_object_property: ?kind:Ast.Variable.kind => Ast.Pattern.Object.Property.t('loc459, 'loc460) => Ast.Pattern.Object.Property.t('loc459, 'loc460)
method pattern_object_property_key: ?kind:Ast.Variable.kind => Ast.Pattern.Object.Property.key('loc461, 'loc462) => Ast.Pattern.Object.Property.key('loc463, 'loc464)
method pattern_object_property_string_literal_key: ?kind:Ast.Variable.kind => ('loc465, Ast.StringLiteral.t('loc466)) => ('loc465, Ast.StringLiteral.t('loc466))
method pattern_object_property_number_literal_key: ?kind:Ast.Variable.kind => ('loc467, Ast.NumberLiteral.t('loc468)) => ('loc467, Ast.NumberLiteral.t('loc468))
method pattern_object_property_bigint_literal_key: ?kind:Ast.Variable.kind => ('loc469, Ast.BigIntLiteral.t('loc470)) => ('loc469, Ast.BigIntLiteral.t('loc470))
method pattern_object_property_identifier_key: ?kind:Ast.Variable.kind => Js_parser__Flow_ast.Identifier.t('loc471, 'loc472) => Js_parser__Flow_ast.Identifier.t('loc471, 'loc472)
method pattern_object_property_computed_key: ?kind:Ast.Variable.kind => Js_parser__Flow_ast.ComputedKey.t('loc473, 'loc474) => Js_parser__Flow_ast.ComputedKey.t('loc473, 'loc474)
method pattern_object_rest_property: ?kind:Ast.Variable.kind => Js_parser__Flow_ast.Pattern.RestElement.t('loc475, 'loc476) => Js_parser__Flow_ast.Pattern.RestElement.t('loc475, 'loc476)
method pattern_object_property_pattern: ?kind:Ast.Variable.kind => Js_parser__Flow_ast.Pattern.t('loc477, 'loc478) => Js_parser__Flow_ast.Pattern.t('loc477, 'loc478)
method pattern_object_rest_property_pattern: ?kind:Ast.Variable.kind => Js_parser__Flow_ast.Pattern.t('loc479, 'loc480) => Js_parser__Flow_ast.Pattern.t('loc479, 'loc480)
method pattern_array_e: ?kind:Ast.Variable.kind => Ast.Pattern.Array.element('loc481, 'loc482) => Ast.Pattern.Array.element('loc481, 'loc482)
method pattern_array_element: ?kind:Ast.Variable.kind => Ast.Pattern.Array.Element.t('loc483, 'loc484) => Ast.Pattern.Array.Element.t('loc483, 'loc484)
method pattern_array_element_pattern: ?kind:Ast.Variable.kind => Js_parser__Flow_ast.Pattern.t('loc485, 'loc486) => Js_parser__Flow_ast.Pattern.t('loc485, 'loc486)
method pattern_array_rest_element: ?kind:Ast.Variable.kind => Js_parser__Flow_ast.Pattern.RestElement.t('loc487, 'loc488) => Js_parser__Flow_ast.Pattern.RestElement.t('loc487, 'loc488)
method pattern_array_rest_element_pattern: ?kind:Ast.Variable.kind => Js_parser__Flow_ast.Pattern.t('loc489, 'loc490) => Js_parser__Flow_ast.Pattern.t('loc489, 'loc490)
method pattern_expression: Js_parser__Flow_ast.Expression.t('loc491, 'loc492) => Js_parser__Flow_ast.Expression.t('loc491, 'loc492)
method predicate: Js_parser__Flow_ast.Type.Predicate.t('loc493, 'loc494) => Js_parser__Flow_ast.Type.Predicate.t('loc493, 'loc494)
method predicate_expression: Js_parser__Flow_ast.Expression.t('loc495, 'loc496) => Js_parser__Flow_ast.Expression.t('loc495, 'loc496)
method type_guard_annotation: Js_parser__Flow_ast.Type.type_guard_annotation ('loc497, 'loc498) => Js_parser__Flow_ast.Type.type_guard_annotation('loc497, 'loc498)
method type_guard: Js_parser__Flow_ast.Type.TypeGuard.t('loc499, 'loc500) => Js_parser__Flow_ast.Type.TypeGuard.t('loc499, 'loc500)
method function_rest_param: Js_parser__Flow_ast.Function.RestParam.t('loc501, 'loc502) => Js_parser__Flow_ast.Function.RestParam.t('loc501, 'loc502)
method return: 'loc503 => Ast.Statement.Return.t('loc504, 'loc505) => Ast.Statement.Return.t('loc504, 'loc505)
method sequence: 'loc506 => Ast.Expression.Sequence.t('loc507, 'loc508) => Ast.Expression.Sequence.t('loc507, 'loc508)
method toplevel_statement_list: list(Js_parser__Flow_ast.Statement.t('loc509, 'loc510)) => list(Js_parser__Flow_ast.Statement.t('loc511, 'loc512))
method statement_list: list(Js_parser__Flow_ast.Statement.t('loc513, 'loc514)) => list(Js_parser__Flow_ast.Statement.t('loc511, 'loc512))
method statement_fork_point: Ast.Statement.t('loc515, 'loc515) => list(Ast.Statement.t('loc515, 'loc515))
method spread_element: Js_parser__Flow_ast.Expression.SpreadElement.t ('loc516, 'loc517) => Js_parser__Flow_ast.Expression.SpreadElement.t('loc516, 'loc517)
method spread_property: Ast.Expression.Object.SpreadProperty.t('loc518, 'loc519) => Ast.Expression.Object.SpreadProperty.t('loc518, 'loc519)
method super_expression: 'loc520 => Ast.Expression.Super.t('loc521) => Ast.Expression.Super.t('loc521)
method switch: 'loc522 => Ast.Statement.Switch.t('loc523, 'loc524) => Ast.Statement.Switch.t('loc523, 'loc524)
method switch_case: Ast.Statement.Switch.Case.t('loc525, 'loc526) => Ast.Statement.Switch.Case.t('loc525, 'loc526)
method tagged_template: 'loc527 => Ast.Expression.TaggedTemplate.t('loc528, 'loc529) => Ast.Expression.TaggedTemplate.t('loc528, 'loc529)
method template_literal: 'loc530 => Ast.Expression.TemplateLiteral.t('loc531, 'loc532) => Ast.Expression.TemplateLiteral.t('loc531, 'loc532)
method template_literal_element: Ast.Expression.TemplateLiteral.Element.t('loc533) => Ast.Expression.TemplateLiteral.Element.t('loc533)
method this_expression: 'loc534 => Ast.Expression.This.t('loc535) => Ast.Expression.This.t('loc535)
method throw: 'loc536 => Ast.Statement.Throw.t('loc537, 'loc538) => Ast.Statement.Throw.t('loc537, 'loc538)
method try_catch: 'loc539 => Ast.Statement.Try.t('loc540, 'loc541) => Ast.Statement.Try.t('loc540, 'loc541)
method type_cast: 'loc542 => Ast.Expression.TypeCast.t('loc543, 'loc544) => Ast.Expression.TypeCast.t('loc543, 'loc544)
method ts_type_cast: 'loc545 => Ast.Expression.TSTypeCast.t('loc546, 'loc547) => Ast.Expression.TSTypeCast.t('loc546, 'loc547)
method unary_expression: 'loc548 => Ast.Expression.Unary.t('loc549, 'loc550) => Ast.Expression.Unary.t('loc549, 'loc550)
method update_expression: 'loc551 => Ast.Expression.Update.t('loc552, 'loc553) => Ast.Expression.Update.t('loc552, 'loc553)
method variable_declaration: 'loc554 => Ast.Statement.VariableDeclaration.t('loc188, 'loc189) => Ast.Statement.VariableDeclaration.t('loc188, 'loc189)
method variable_declarator: kind:Ast.Variable.kind => Ast.Statement.VariableDeclaration.Declarator.t('loc555, 'loc556) => Ast.Statement.VariableDeclaration.Declarator.t('loc555, 'loc556)
method while_: 'loc557 => Ast.Statement.While.t('loc558, 'loc559) => Ast.Statement.While.t('loc558, 'loc559)
method with_: 'loc560 => Ast.Statement.With.t('loc561, 'loc562) => Ast.Statement.With.t('loc561, 'loc562)
method type_alias: 'loc563 => Ast.Statement.TypeAlias.t('loc564, 'loc565) => Ast.Statement.TypeAlias.t('loc564, 'loc565)
method yield: 'loc566 => Ast.Expression.Yield.t('loc567, 'loc568) => Ast.Expression.Yield.t('loc567, 'loc568)