Flow_ast_mapper.mapper
method program: Ast.Program.t('loc0, 'loc1) => Ast.Program.t('loc2, 'loc2)
method statement: Ast.Statement.t('loc3, 'loc4) =>
Ast.Statement.t('loc5, 'loc5)
method comment: Ast.Comment.t('loc6) => Ast.Comment.t('loc6)
method syntax_opt: 'internal. option(Ast.Syntax.t('loc7, 'internal)) =>
option(Ast.Syntax.t('loc7, 'internal))
method syntax: 'internal. Ast.Syntax.t('loc8, 'internal) =>
Ast.Syntax.t('loc8, 'internal)
method expression: Ast.Expression.t('loc9, 'loc10) =>
Ast.Expression.t('loc11, 'loc11)
method array: 'loc12 =>
Ast.Expression.Array.t('loc13, 'loc14) =>
Ast.Expression.Array.t('loc13, 'loc14)
method array_element: Ast.Expression.Array.element('loc15, 'loc16) =>
Ast.Expression.Array.element('loc15, 'loc16)
method arrow_function: 'loc17 =>
Ast.Function.t('loc18, 'loc19) =>
Ast.Function.t('loc18, 'loc19)
method as_expression: 'loc20 =>
Ast.Expression.AsExpression.t('loc21, 'loc22) =>
Ast.Expression.AsExpression.t('loc21, 'loc22)
method assignment: 'loc23 =>
Ast.Expression.Assignment.t('loc24, 'loc25) =>
Ast.Expression.Assignment.t('loc24, 'loc25)
method binary: 'loc26 =>
Ast.Expression.Binary.t('loc27, 'loc28) =>
Ast.Expression.Binary.t('loc27, 'loc28)
method block: 'loc29 =>
Ast.Statement.Block.t('loc30, 'loc31) =>
Ast.Statement.Block.t('loc30, 'loc31)
method break: 'loc32 =>
Ast.Statement.Break.t('loc33) =>
Ast.Statement.Break.t('loc33)
method call: 'loc34 =>
Ast.Expression.Call.t('loc35, 'loc36) =>
Ast.Expression.Call.t('loc35, 'loc36)
method arg_list: Ast.Expression.ArgList.t('loc37, 'loc38) =>
Js_parser__Flow_ast.Expression.ArgList.t('loc39, 'loc40)
method optional_call: 'loc41 =>
Ast.Expression.OptionalCall.t('loc42, 'loc43) =>
Ast.Expression.OptionalCall.t('loc42, 'loc43)
method call_type_args: Ast.Expression.CallTypeArgs.t('loc44, 'loc45) =>
Ast.Expression.CallTypeArgs.t('loc44, 'loc45)
method call_type_arg: Ast.Expression.CallTypeArg.t('loc46, 'loc47) =>
Ast.Expression.CallTypeArg.t('loc46, 'loc47)
method catch_body: ('loc48, Ast.Statement.Block.t('loc49, 'loc50)) =>
('loc51, Ast.Statement.Block.t('loc30, 'loc31))
method catch_clause: 'loc52 =>
Ast.Statement.Try.CatchClause.t'('loc53, 'loc54) =>
Ast.Statement.Try.CatchClause.t'('loc55, 'loc55)
method class_declaration: 'loc56 =>
Ast.Class.t('loc57, 'loc58) =>
Ast.Class.t('loc57, 'loc58)
method class_expression: 'loc59 =>
Ast.Class.t('loc60, 'loc61) =>
Ast.Class.t('loc60, 'loc61)
method class_: 'loc62 =>
Ast.Class.t('loc63, 'loc64) =>
Ast.Class.t('loc57, 'loc58)
method class_extends: 'loc65 =>
Ast.Class.Extends.t'('loc66, 'loc67) =>
Ast.Class.Extends.t'('loc66, 'loc67)
method class_identifier: Ast.Identifier.t('loc68, 'loc69) =>
Ast.Identifier.t('loc68, 'loc69)
method class_body: Ast.Class.Body.t('loc70, 'loc71) =>
Js_parser__Flow_ast.Class.Body.t('loc72, 'loc73)
method class_decorator: Ast.Class.Decorator.t('loc74, 'loc75) =>
Ast.Class.Decorator.t('loc74, 'loc75)
method class_element: Ast.Class.Body.element('loc76, 'loc77) =>
Ast.Class.Body.element('loc76, 'loc77)
method class_implements: Ast.Class.Implements.t('loc78, 'loc79) =>
Ast.Class.Implements.t('loc78, 'loc79)
method class_implements_interface: Ast.Class.Implements.Interface.t('loc80,
'loc81) =>
Ast.Class.Implements.Interface.t('loc80, 'loc81)
method class_method: 'loc82 =>
Ast.Class.Method.t'('loc83, 'loc84) =>
Ast.Class.Method.t'('loc83, 'loc84)
method class_property: 'loc85 =>
Ast.Class.Property.t'('loc86, 'loc87) =>
Ast.Class.Property.t'('loc86, 'loc87)
method class_property_value: Ast.Class.Property.value('loc88, 'loc89) =>
Ast.Class.Property.value('loc90, 'loc91)
method class_private_field: 'loc92 =>
Ast.Class.PrivateField.t'('loc93, 'loc94) =>
Ast.Class.PrivateField.t'('loc93, 'loc94)
method default_opt: option(Ast.Expression.t('loc95, 'loc96)) =>
option(Js_parser__Flow_ast.Expression.t('loc97, 'loc98))
method component_declaration: 'loc99 =>
Ast.Statement.ComponentDeclaration.t('loc100, 'loc101) =>
Ast.Statement.ComponentDeclaration.t('loc100, 'loc101)
method component_identifier: Ast.Identifier.t('loc102, 'loc103) =>
Js_parser__Flow_ast.Identifier.t('loc104, 'loc105)
method component_params: Ast.Statement.ComponentDeclaration.Params.t('loc106,
'loc107) =>
Ast.Statement.ComponentDeclaration.Params.t('loc108, 'loc109)
method component_param: Ast.Statement.ComponentDeclaration.Param.t('loc110,
'loc111) =>
Ast.Statement.ComponentDeclaration.Param.t('loc110, 'loc111)
method component_param_name: Ast.Statement.ComponentDeclaration.Param.param_name
('loc112,
'loc113) =>
Ast.Statement.ComponentDeclaration.Param.param_name('loc114, 'loc115)
method component_param_pattern: Ast.Pattern.t('loc116, 'loc117) =>
Js_parser__Flow_ast.Pattern.t('loc118, 'loc119)
method component_rest_param: Ast.Statement.ComponentDeclaration.RestParam.t
('loc120,
'loc121) =>
Ast.Statement.ComponentDeclaration.RestParam.t('loc120, 'loc121)
method component_body: ('loc122, Ast.Statement.Block.t('loc123, 'loc124)) =>
('loc125, Ast.Statement.Block.t('loc126, 'loc126))
method conditional: 'loc127 =>
Ast.Expression.Conditional.t('loc128, 'loc129) =>
Ast.Expression.Conditional.t('loc128, 'loc129)
method continue: 'loc130 =>
Ast.Statement.Continue.t('loc131) =>
Ast.Statement.Continue.t('loc131)
method debugger: 'loc132 =>
Ast.Statement.Debugger.t('loc133) =>
Ast.Statement.Debugger.t('loc133)
method declare_class: 'loc134 =>
Ast.Statement.DeclareClass.t('loc135, 'loc136) =>
Ast.Statement.DeclareClass.t('loc135, 'loc136)
method declare_component: 'loc137 =>
Ast.Statement.DeclareComponent.t('loc138, 'loc139) =>
Ast.Statement.DeclareComponent.t('loc138, 'loc139)
method component_type: 'loc140 =>
Ast.Type.Component.t('loc141, 'loc142) =>
Ast.Type.Component.t('loc143, 'loc143)
method component_type_params: Ast.Type.Component.Params.t('loc144, 'loc145) =>
Js_parser__Flow_ast.Type.Component.Params.t('loc146, 'loc147)
method component_type_param: Ast.Type.Component.Param.t('loc148, 'loc149) =>
Ast.Type.Component.Param.t('loc148, 'loc149)
method component_type_rest_param: Ast.Type.Component.RestParam.t('loc150,
'loc151) =>
Ast.Type.Component.RestParam.t('loc150, 'loc151)
method declare_enum: 'loc152 =>
Ast.Statement.EnumDeclaration.t('loc153, 'loc154) =>
Ast.Statement.EnumDeclaration.t('loc153, 'loc154)
method declare_export_declaration: 'loc155 =>
Ast.Statement.DeclareExportDeclaration.t('loc156, 'loc157) =>
Ast.Statement.DeclareExportDeclaration.t('loc156, 'loc157)
method declare_export_declaration_decl: Ast.Statement.DeclareExportDeclaration.declaration
('loc158,
'loc159) =>
Ast.Statement.DeclareExportDeclaration.declaration('loc158, 'loc159)
method declare_function: 'loc160 =>
Ast.Statement.DeclareFunction.t('loc161, 'loc162) =>
Ast.Statement.DeclareFunction.t('loc161, 'loc162)
method declare_interface: 'loc163 =>
Ast.Statement.Interface.t('loc164, 'loc165) =>
Ast.Statement.Interface.t('loc164, 'loc165)
method declare_module: 'loc166 =>
Ast.Statement.DeclareModule.t('loc167, 'loc168) =>
Ast.Statement.DeclareModule.t('loc167, 'loc168)
method declare_module_exports: 'loc169 =>
Ast.Statement.DeclareModuleExports.t('loc170, 'loc171) =>
Ast.Statement.DeclareModuleExports.t('loc170, 'loc171)
method declare_type_alias: 'loc172 =>
Ast.Statement.TypeAlias.t('loc173, 'loc174) =>
Ast.Statement.TypeAlias.t('loc173, 'loc174)
method declare_variable: 'loc175 =>
Ast.Statement.DeclareVariable.t('loc176, 'loc177) =>
Ast.Statement.DeclareVariable.t('loc176, 'loc177)
method do_while: 'loc178 =>
Ast.Statement.DoWhile.t('loc179, 'loc180) =>
Ast.Statement.DoWhile.t('loc179, 'loc180)
method empty: 'loc181 =>
Ast.Statement.Empty.t('loc182) =>
Ast.Statement.Empty.t('loc182)
method enum_declaration: 'loc183 =>
Ast.Statement.EnumDeclaration.t('loc184, 'loc185) =>
Ast.Statement.EnumDeclaration.t('loc184, 'loc185)
method enum_body: Ast.Statement.EnumDeclaration.body('loc186) =>
Ast.Statement.EnumDeclaration.body('loc187)
method enum_boolean_body: Ast.Statement.EnumDeclaration.BooleanBody.t('loc188) =>
Ast.Statement.EnumDeclaration.BooleanBody.t('loc188)
method enum_number_body: Ast.Statement.EnumDeclaration.NumberBody.t('loc189) =>
Ast.Statement.EnumDeclaration.NumberBody.t('loc189)
method enum_string_body: Ast.Statement.EnumDeclaration.StringBody.t('loc190) =>
Ast.Statement.EnumDeclaration.StringBody.t('loc190)
method enum_symbol_body: Ast.Statement.EnumDeclaration.SymbolBody.t('loc191) =>
Ast.Statement.EnumDeclaration.SymbolBody.t('loc191)
method enum_bigint_body: Ast.Statement.EnumDeclaration.BigIntBody.t('loc192) =>
Ast.Statement.EnumDeclaration.BigIntBody.t('loc192)
method enum_defaulted_member: Ast.Statement.EnumDeclaration.DefaultedMember.t('loc193) =>
Ast.Statement.EnumDeclaration.DefaultedMember.t('loc193)
method enum_boolean_member: Ast.Statement.EnumDeclaration.InitializedMember.t
(Ast.BooleanLiteral.t('loc194),
'loc195) =>
Ast.Statement.EnumDeclaration.InitializedMember.t(Ast.BooleanLiteral.t('loc194),
'loc195)
method enum_number_member: Ast.Statement.EnumDeclaration.InitializedMember.t
(Ast.NumberLiteral.t('loc196),
'loc197) =>
Ast.Statement.EnumDeclaration.InitializedMember.t(Ast.NumberLiteral.t('loc196),
'loc197)
method enum_string_member: Ast.Statement.EnumDeclaration.InitializedMember.t
(Ast.StringLiteral.t('loc198),
'loc199) =>
Ast.Statement.EnumDeclaration.InitializedMember.t(Ast.StringLiteral.t('loc198),
'loc199)
method enum_bigint_member: Ast.Statement.EnumDeclaration.InitializedMember.t
(Ast.BigIntLiteral.t('loc200),
'loc201) =>
Ast.Statement.EnumDeclaration.InitializedMember.t(Ast.BigIntLiteral.t('loc200),
'loc201)
method enum_member_identifier: Ast.Identifier.t('loc202, 'loc203) =>
Js_parser__Flow_ast.Identifier.t('loc204, 'loc204)
method export_default_declaration: 'loc205 =>
Ast.Statement.ExportDefaultDeclaration.t('loc206, 'loc207) =>
Ast.Statement.ExportDefaultDeclaration.t('loc206, 'loc207)
method export_default_declaration_decl: Ast.Statement.ExportDefaultDeclaration.declaration
('loc208,
'loc209) =>
Ast.Statement.ExportDefaultDeclaration.declaration('loc210, 'loc211)
method export_named_declaration: 'loc212 =>
Ast.Statement.ExportNamedDeclaration.t('loc213, 'loc214) =>
Ast.Statement.ExportNamedDeclaration.t('loc213, 'loc214)
method export_named_declaration_specifier: Ast.Statement.ExportNamedDeclaration.ExportSpecifier.t
('loc215,
'loc216) =>
Ast.Statement.ExportNamedDeclaration.ExportSpecifier.t('loc217, 'loc217)
method export_batch_specifier: Ast.Statement.ExportNamedDeclaration.ExportBatchSpecifier.t
('loc218,
'loc219) =>
Ast.Statement.ExportNamedDeclaration.ExportBatchSpecifier.t('loc220, 'loc220)
method export_named_specifier: Ast.Statement.ExportNamedDeclaration.specifier
('loc221,
'loc222) =>
Ast.Statement.ExportNamedDeclaration.specifier('loc221, 'loc222)
method export_source: 'loc223 =>
Ast.StringLiteral.t('loc224) =>
Ast.StringLiteral.t('loc224)
method expression_statement: 'loc225 =>
Ast.Statement.Expression.t('loc226, 'loc227) =>
Ast.Statement.Expression.t('loc226, 'loc227)
method expression_or_spread: Ast.Expression.expression_or_spread('loc228,
'loc229) =>
Ast.Expression.expression_or_spread('loc228, 'loc229)
method for_in_statement: 'loc230 =>
Ast.Statement.ForIn.t('loc231, 'loc232) =>
Ast.Statement.ForIn.t('loc231, 'loc232)
method for_in_statement_lhs: Ast.Statement.ForIn.left('loc233, 'loc234) =>
Ast.Statement.ForIn.left('loc235, 'loc236)
method for_in_left_declaration: ('loc237, Ast.Statement.VariableDeclaration.t
('loc238,
'loc239)) =>
('loc237, Ast.Statement.VariableDeclaration.t('loc238, 'loc239))
method for_of_statement: 'loc240 =>
Ast.Statement.ForOf.t('loc241, 'loc242) =>
Ast.Statement.ForOf.t('loc241, 'loc242)
method for_of_statement_lhs: Ast.Statement.ForOf.left('loc243, 'loc244) =>
Ast.Statement.ForOf.left('loc245, 'loc246)
method for_of_left_declaration: ('loc247, Ast.Statement.VariableDeclaration.t
('loc238,
'loc239)) =>
('loc247, Ast.Statement.VariableDeclaration.t('loc238, 'loc239))
method for_statement: 'loc248 =>
Ast.Statement.For.t('loc249, 'loc250) =>
Ast.Statement.For.t('loc249, 'loc250)
method for_statement_init: Ast.Statement.For.init('loc251, 'loc252) =>
Ast.Statement.For.init('loc251, 'loc252)
method for_init_declaration: ('loc253, Ast.Statement.VariableDeclaration.t
('loc238,
'loc239)) =>
('loc253, Ast.Statement.VariableDeclaration.t('loc238, 'loc239))
method function_param_type: Ast.Type.Function.Param.t('loc254, 'loc255) =>
Ast.Type.Function.Param.t('loc256, 'loc256)
method function_rest_param_type: Ast.Type.Function.RestParam.t('loc257,
'loc258) =>
Ast.Type.Function.RestParam.t('loc259, 'loc259)
method function_this_param_type: Ast.Type.Function.ThisParam.t('loc260,
'loc261) =>
Ast.Type.Function.ThisParam.t('loc262, 'loc262)
method function_type_return_annotation: Ast.Type.Function.return_annotation
('loc263,
'loc264) =>
Ast.Type.Function.return_annotation('loc265, 'loc265)
method function_type: 'loc266 =>
Ast.Type.Function.t('loc267, 'loc268) =>
Ast.Type.Function.t('loc269, 'loc269)
method label_identifier: Ast.Identifier.t('loc270, 'loc271) =>
Ast.Identifier.t('loc270, 'loc271)
method object_property_value_type: Ast.Type.Object.Property.value('loc272,
'loc273) =>
Ast.Type.Object.Property.value('loc274, 'loc274)
method object_type_property_getter: ('loc275, Ast.Type.Function.t('loc267,
'loc268)) =>
('loc275, Ast.Type.Function.t('loc267, 'loc268))
method object_type_property_setter: ('loc276, Ast.Type.Function.t('loc267,
'loc268)) =>
('loc276, Ast.Type.Function.t('loc267, 'loc268))
method object_property_type: Ast.Type.Object.Property.t('loc277, 'loc278) =>
Ast.Type.Object.Property.t('loc279, 'loc279)
method object_spread_property_type: Ast.Type.Object.SpreadProperty.t('loc280,
'loc281) =>
Ast.Type.Object.SpreadProperty.t('loc282, 'loc282)
method object_indexer_property_type: Ast.Type.Object.Indexer.t('loc283,
'loc284) =>
Ast.Type.Object.Indexer.t('loc285, 'loc285)
method object_internal_slot_property_type: Ast.Type.Object.InternalSlot.t
('loc286,
'loc287) =>
Ast.Type.Object.InternalSlot.t('loc288, 'loc288)
method object_call_property_type: Ast.Type.Object.CallProperty.t('loc289,
'loc290) =>
Ast.Type.Object.CallProperty.t('loc291, 'loc291)
method object_mapped_type_property: Ast.Type.Object.MappedType.t('loc292,
'loc293) =>
Ast.Type.Object.MappedType.t('loc294, 'loc294)
method object_type: 'loc295 =>
Ast.Type.Object.t('loc296, 'loc297) =>
Ast.Type.Object.t('loc296, 'loc297)
method object_type_property: Ast.Type.Object.property('loc298, 'loc299) =>
Ast.Type.Object.property('loc298, 'loc299)
method interface_type: 'loc300 =>
Ast.Type.Interface.t('loc301, 'loc302) =>
Ast.Type.Interface.t('loc303, 'loc303)
method generic_identifier_type: Ast.Type.Generic.Identifier.t('loc304, 'loc305) =>
Ast.Type.Generic.Identifier.t('loc306, 'loc306)
method generic_qualified_identifier_type: Ast.Type.Generic.Identifier.qualified
('loc307,
'loc308) =>
Ast.Type.Generic.Identifier.qualified('loc307, 'loc308)
method variance: Ast.Variance.t('loc311) => Ast.Variance.t('loc312)
method variance_opt: option(Ast.Variance.t('loc313)) =>
option(Js_parser__Flow_ast.Variance.t('loc314))
method type_args: Ast.Type.TypeArgs.t('loc315, 'loc316) =>
Ast.Type.TypeArgs.t('loc315, 'loc316)
method type_params: Ast.Type.TypeParams.t('loc317, 'loc318) =>
Ast.Type.TypeParams.t('loc317, 'loc318)
method type_param: Ast.Type.TypeParam.t('loc319, 'loc320) =>
Js_parser__Flow_ast.Type.TypeParam.t('loc321, 'loc322)
method generic_type: 'loc323 =>
Ast.Type.Generic.t('loc324, 'loc325) =>
Ast.Type.Generic.t('loc324, 'loc325)
method indexed_access_type: 'loc326 =>
Ast.Type.IndexedAccess.t('loc327, 'loc328) =>
Ast.Type.IndexedAccess.t('loc329, 'loc329)
method optional_indexed_access_type: 'loc330 =>
Ast.Type.OptionalIndexedAccess.t('loc331, 'loc332) =>
Ast.Type.OptionalIndexedAccess.t('loc333, 'loc333)
method string_literal: 'loc334 =>
Ast.StringLiteral.t('loc335) =>
Ast.StringLiteral.t('loc335)
method number_literal: 'loc336 =>
Ast.NumberLiteral.t('loc337) =>
Ast.NumberLiteral.t('loc337)
method bigint_literal: 'loc338 =>
Ast.BigIntLiteral.t('loc339) =>
Ast.BigIntLiteral.t('loc339)
method boolean_literal: 'loc340 =>
Ast.BooleanLiteral.t('loc341) =>
Ast.BooleanLiteral.t('loc341)
method null_literal: 'loc342 =>
option(Ast.Syntax.t('loc7, unit)) =>
option(Ast.Syntax.t('loc7, unit))
method regexp_literal: 'loc343 =>
Ast.RegExpLiteral.t('loc344) =>
Ast.RegExpLiteral.t('loc344)
method module_ref_literal: 'loc345 =>
Ast.ModuleRefLiteral.t('loc346, 'loc347) =>
Ast.ModuleRefLiteral.t('loc346, 'loc347)
method nullable_type: Ast.Type.Nullable.t('loc348, 'loc349) =>
Ast.Type.Nullable.t('loc350, 'loc350)
method conditional_type: Ast.Type.Conditional.t('loc351, 'loc352) =>
Ast.Type.Conditional.t('loc353, 'loc353)
method infer_type: Ast.Type.Infer.t('loc354, 'loc355) =>
Ast.Type.Infer.t('loc356, 'loc356)
method typeof_type: Ast.Type.Typeof.t('loc357, 'loc358) =>
Ast.Type.Typeof.t('loc359, 'loc359)
method typeof_expression: Ast.Type.Typeof.Target.t('loc360, 'loc361) =>
Ast.Type.Typeof.Target.t('loc362, 'loc363)
method typeof_member_identifier: Ast.Identifier.t('loc366, 'loc367) =>
Ast.Identifier.t('loc366, 'loc367)
method typeof_qualified_identifier: Ast.Type.Typeof.Target.qualified('loc368,
'loc369) =>
Ast.Type.Typeof.Target.qualified('loc368, 'loc369)
method keyof_type: Ast.Type.Keyof.t('loc370, 'loc371) =>
Ast.Type.Keyof.t('loc372, 'loc372)
method render_type: Ast.Type.Renders.t('loc373, 'loc374) =>
Ast.Type.Renders.t('loc375, 'loc375)
method readonly_type: Ast.Type.ReadOnly.t('loc376, 'loc377) =>
Ast.Type.ReadOnly.t('loc378, 'loc378)
method tuple_type: Ast.Type.Tuple.t('loc379, 'loc380) =>
Ast.Type.Tuple.t('loc381, 'loc381)
method tuple_element: Ast.Type.Tuple.element('loc382, 'loc383) =>
Ast.Type.Tuple.element('loc382, 'loc383)
method tuple_labeled_element: Ast.Type.Tuple.LabeledElement.t('loc384, 'loc385) =>
Ast.Type.Tuple.LabeledElement.t('loc384, 'loc385)
method tuple_spread_element: Ast.Type.Tuple.SpreadElement.t('loc386, 'loc387) =>
Ast.Type.Tuple.SpreadElement.t('loc386, 'loc387)
method array_type: Ast.Type.Array.t('loc388, 'loc389) =>
Ast.Type.Array.t('loc390, 'loc390)
method union_type: 'loc391 =>
Ast.Type.Union.t('loc392, 'loc393) =>
Ast.Type.Union.t('loc394, 'loc394)
method intersection_type: 'loc395 =>
Ast.Type.Intersection.t('loc396, 'loc397) =>
Ast.Type.Intersection.t('loc398, 'loc398)
method type_: Ast.Type.t('loc399, 'loc400) =>
Js_parser__Flow_ast.Type.t('loc401, 'loc402)
method type_annotation: Ast.Type.annotation('loc403, 'loc404) =>
Js_parser__Flow_ast.Type.annotation('loc405, 'loc406)
method type_annotation_hint: Ast.Type.annotation_or_hint('loc407, 'loc408) =>
Ast.Type.annotation_or_hint('loc409, 'loc410)
method component_renders_annotation: Ast.Type.component_renders_annotation
('loc411,
'loc412) =>
Ast.Type.component_renders_annotation('loc413, 'loc414)
method function_declaration: 'loc415 =>
Ast.Function.t('loc416, 'loc417) =>
Ast.Function.t('loc416, 'loc417)
method function_expression: 'loc418 =>
Ast.Function.t('loc419, 'loc420) =>
Ast.Function.t('loc419, 'loc420)
method function_expression_or_method: 'loc421 =>
Ast.Function.t('loc422, 'loc423) =>
Ast.Function.t('loc422, 'loc423)
previously, we conflated function_expression
and class_method
. callers should be updated to override those individually.
method function_: 'loc424 =>
Ast.Function.t('loc425, 'loc426) =>
Ast.Function.t('loc18, 'loc19)
method function_params: Ast.Function.Params.t('loc427, 'loc428) =>
Ast.Function.Params.t('loc429, 'loc430)
method function_this_param: Ast.Function.ThisParam.t('loc431, 'loc432) =>
Ast.Function.ThisParam.t('loc431, 'loc432)
method function_param: Ast.Function.Param.t('loc433, 'loc434) =>
Ast.Function.Param.t('loc433, 'loc434)
method function_return_annotation: Ast.Function.ReturnAnnot.t('loc435, 'loc436) =>
Ast.Function.ReturnAnnot.t('loc437, 'loc438)
method function_body_any: Ast.Function.body('loc439, 'loc440) =>
Ast.Function.body('loc441, 'loc442)
method function_body: ('loc443, Ast.Statement.Block.t('loc444, 'loc445)) =>
('loc446, Ast.Statement.Block.t('loc444, 'loc445))
method body_expression: Ast.Expression.t('loc447, 'loc448) =>
Ast.Expression.t('loc447, 'loc448)
method function_identifier: Ast.Identifier.t('loc449, 'loc450) =>
Js_parser__Flow_ast.Identifier.t('loc451, 'loc452)
method identifier: Ast.Identifier.t('loc366, 'loc367) =>
Ast.Identifier.t('loc366, 'loc367)
method type_identifier: Ast.Identifier.t('loc453, 'loc454) =>
Ast.Identifier.t('loc366, 'loc367)
method type_identifier_reference: Ast.Identifier.t('loc455, 'loc456) =>
Js_parser__Flow_ast.Identifier.t('loc457, 'loc458)
method binding_type_identifier: Ast.Identifier.t('loc459, 'loc460) =>
Js_parser__Flow_ast.Identifier.t('loc461, 'loc461)
method interface: 'loc462 =>
Ast.Statement.Interface.t('loc463, 'loc464) =>
Ast.Statement.Interface.t('loc164, 'loc165)
method interface_declaration: 'loc465 =>
Ast.Statement.Interface.t('loc466, 'loc467) =>
Ast.Statement.Interface.t('loc466, 'loc467)
method private_name: Ast.PrivateName.t('loc468) =>
Js_parser__Flow_ast.PrivateName.t('loc469)
method computed_key: Ast.ComputedKey.t('loc470, 'loc471) =>
Ast.ComputedKey.t('loc472, 'loc472)
method import: 'loc473 =>
Ast.Expression.Import.t('loc474, 'loc475) =>
Ast.Expression.Import.t('loc474, 'loc475)
method if_consequent_statement: has_else:bool =>
Ast.Statement.t('loc476, 'loc477) =>
Ast.Statement.t('loc5, 'loc5)
method if_alternate_statement: 'loc478 =>
Ast.Statement.If.Alternate.t'('loc479, 'loc480) =>
Ast.Statement.If.Alternate.t'('loc481, 'loc481)
method if_statement: 'loc482 =>
Ast.Statement.If.t('loc483, 'loc484) =>
Ast.Statement.If.t('loc483, 'loc484)
method import_declaration: 'loc485 =>
Ast.Statement.ImportDeclaration.t('loc486, 'loc487) =>
Ast.Statement.ImportDeclaration.t('loc486, 'loc487)
method import_source: 'loc488 =>
Ast.StringLiteral.t('loc489) =>
Ast.StringLiteral.t('loc489)
method import_specifier: import_kind:
Ast.Statement.ImportDeclaration.import_kind =>
Ast.Statement.ImportDeclaration.specifier('loc490, 'loc491) =>
Ast.Statement.ImportDeclaration.specifier('loc490, 'loc491)
method remote_identifier: Ast.Identifier.t('loc366, 'loc367) =>
Ast.Identifier.t('loc366, 'loc367)
method import_named_specifier: import_kind:
Ast.Statement.ImportDeclaration.import_kind =>
Ast.Statement.ImportDeclaration.named_specifier('loc492, 'loc493) =>
Ast.Statement.ImportDeclaration.named_specifier('loc492, 'loc493)
method import_default_specifier: import_kind:
Ast.Statement.ImportDeclaration.import_kind =>
Ast.Identifier.t('loc494, 'loc495) =>
Js_parser__Flow_ast.Identifier.t('loc496, 'loc497)
method import_namespace_specifier: import_kind:
Ast.Statement.ImportDeclaration.import_kind =>
'loc498 =>
Ast.Identifier.t('loc499, 'loc500) =>
Ast.Identifier.t('loc499, 'loc500)
method jsx_element: 'loc501 =>
Ast.JSX.element('loc502, 'loc503) =>
Ast.JSX.element('loc502, 'loc503)
method jsx_fragment: 'loc504 =>
Ast.JSX.fragment('loc505, 'loc506) =>
Ast.JSX.fragment('loc505, 'loc506)
method jsx_opening_element: Ast.JSX.Opening.t('loc507, 'loc508) =>
Ast.JSX.Opening.t('loc509, 'loc510)
method jsx_closing_element: Ast.JSX.Closing.t('loc511, 'loc512) =>
Ast.JSX.Closing.t('loc511, 'loc512)
method jsx_opening_attribute: Ast.JSX.Opening.attribute('loc513, 'loc514) =>
Ast.JSX.Opening.attribute('loc513, 'loc514)
method jsx_spread_attribute: 'loc515 =>
Ast.JSX.SpreadAttribute.t'('loc516, 'loc517) =>
Ast.JSX.SpreadAttribute.t'('loc516, 'loc517)
method jsx_attribute: Ast.JSX.Attribute.t('loc518, 'loc519) =>
Ast.JSX.Attribute.t('loc518, 'loc519)
method jsx_attribute_name: Ast.JSX.Attribute.name('loc520, 'loc521) =>
Ast.JSX.Attribute.name('loc522, 'loc523)
method jsx_attribute_value: Ast.JSX.Attribute.value('loc528, 'loc529) =>
Ast.JSX.Attribute.value('loc528, 'loc529)
method jsx_attribute_value_expression: 'loc530 =>
Ast.JSX.ExpressionContainer.t('loc531, 'loc532) =>
Ast.JSX.ExpressionContainer.t('loc531, 'loc532)
method jsx_attribute_value_literal: 'loc533 =>
Ast.StringLiteral.t('loc534) =>
Ast.StringLiteral.t('loc534)
method jsx_children: ('loc535, list(Ast.JSX.child('loc536, 'loc537))) =>
('loc538, list(Ast.JSX.child('loc538, 'loc539)))
method jsx_child: Ast.JSX.child('loc540, 'loc541) =>
Ast.JSX.child('loc540, 'loc541)
method jsx_expression: 'loc542 =>
Ast.JSX.ExpressionContainer.t('loc543, 'loc544) =>
Ast.JSX.ExpressionContainer.t('loc531, 'loc532)
method jsx_spread_child: Ast.JSX.SpreadChild.t('loc545, 'loc546) =>
Ast.JSX.SpreadChild.t('loc545, 'loc546)
method jsx_element_name: Ast.JSX.name('loc547, 'loc548) =>
Ast.JSX.name('loc549, 'loc549)
method jsx_element_name_identifier: Ast.JSX.Identifier.t('loc550, 'loc551) =>
Ast.JSX.Identifier.t('loc550, 'loc551)
method jsx_element_name_namespaced: Ast.JSX.NamespacedName.t('loc552, 'loc553) =>
Ast.JSX.NamespacedName.t('loc552, 'loc553)
method jsx_element_name_member_expression: Ast.JSX.MemberExpression.t
('loc554,
'loc555) =>
Ast.JSX.MemberExpression.t('loc554, 'loc555)
method jsx_namespaced_name: Ast.JSX.NamespacedName.t('loc556, 'loc557) =>
Js_parser__Flow_ast.JSX.NamespacedName.t('loc526, 'loc527)
method jsx_member_expression: Ast.JSX.MemberExpression.t('loc558, 'loc559) =>
Ast.JSX.MemberExpression.t('loc554, 'loc555)
method jsx_member_expression_object: Ast.JSX.MemberExpression._object
('loc560,
'loc561) =>
Ast.JSX.MemberExpression._object('loc562, 'loc563)
method jsx_identifier: Ast.JSX.Identifier.t('loc566, 'loc567) =>
Js_parser__Flow_ast.JSX.Identifier.t('loc524, 'loc525)
method labeled_statement: 'loc568 =>
Ast.Statement.Labeled.t('loc569, 'loc570) =>
Ast.Statement.Labeled.t('loc569, 'loc570)
method logical: 'loc571 =>
Ast.Expression.Logical.t('loc572, 'loc573) =>
Ast.Expression.Logical.t('loc572, 'loc573)
method member: 'loc574 =>
Ast.Expression.Member.t('loc575, 'loc576) =>
Ast.Expression.Member.t('loc575, 'loc576)
method optional_member: 'loc577 =>
Ast.Expression.OptionalMember.t('loc578, 'loc579) =>
Ast.Expression.OptionalMember.t('loc578, 'loc579)
method member_property: Ast.Expression.Member.property('loc580, 'loc581) =>
Ast.Expression.Member.property('loc582, 'loc583)
method member_property_identifier: Ast.Identifier.t('loc584, 'loc585) =>
Ast.Identifier.t('loc584, 'loc585)
method member_private_name: Ast.PrivateName.t('loc586) =>
Ast.PrivateName.t('loc586)
method member_property_expression: Ast.Expression.t('loc587, 'loc588) =>
Ast.Expression.t('loc587, 'loc588)
method meta_property: 'loc589 =>
Ast.Expression.MetaProperty.t('loc590) =>
Ast.Expression.MetaProperty.t('loc590)
method new_: 'loc591 =>
Ast.Expression.New.t('loc592, 'loc593) =>
Ast.Expression.New.t('loc592, 'loc593)
method object_: 'loc594 =>
Ast.Expression.Object.t('loc595, 'loc596) =>
Ast.Expression.Object.t('loc595, 'loc596)
method object_property: Ast.Expression.Object.Property.t('loc597, 'loc598) =>
Ast.Expression.Object.Property.t('loc599, 'loc600)
method object_key: Ast.Expression.Object.Property.key('loc601, 'loc602) =>
Ast.Expression.Object.Property.key('loc603, 'loc604)
method object_key_string_literal: ('loc605, Ast.StringLiteral.t('loc606)) =>
('loc607, Ast.StringLiteral.t('loc606))
method object_key_number_literal: ('loc608, Ast.NumberLiteral.t('loc609)) =>
('loc610, Ast.NumberLiteral.t('loc609))
method object_key_bigint_literal: ('loc611, Ast.BigIntLiteral.t('loc612)) =>
('loc613, Ast.BigIntLiteral.t('loc612))
method object_key_identifier: Ast.Identifier.t('loc614, 'loc615) =>
Ast.Identifier.t('loc614, 'loc615)
method object_key_computed: Ast.ComputedKey.t('loc616, 'loc617) =>
Ast.ComputedKey.t('loc616, 'loc617)
method opaque_type: 'loc618 =>
Ast.Statement.OpaqueType.t('loc619, 'loc620) =>
Ast.Statement.OpaqueType.t('loc619, 'loc620)
method function_param_pattern: Ast.Pattern.t('loc621, 'loc622) =>
Js_parser__Flow_ast.Pattern.t('loc623, 'loc624)
method variable_declarator_pattern: kind:Ast.Variable.kind =>
Ast.Pattern.t('loc625, 'loc626) =>
Js_parser__Flow_ast.Pattern.t('loc118, 'loc119)
method catch_clause_pattern: Ast.Pattern.t('loc627, 'loc628) =>
Ast.Pattern.t('loc627, 'loc628)
method for_in_assignment_pattern: Ast.Pattern.t('loc629, 'loc630) =>
Ast.Pattern.t('loc629, 'loc630)
method for_of_assignment_pattern: Ast.Pattern.t('loc631, 'loc632) =>
Ast.Pattern.t('loc631, 'loc632)
method binding_pattern: ?kind:Ast.Variable.kind =>
Ast.Pattern.t('loc633, 'loc634) =>
Js_parser__Flow_ast.Pattern.t('loc118, 'loc119)
method assignment_pattern: Ast.Pattern.t('loc635, 'loc636) =>
Js_parser__Flow_ast.Pattern.t('loc637, 'loc638)
method pattern: ?kind:Ast.Variable.kind =>
Ast.Pattern.t('loc639, 'loc640) =>
Js_parser__Flow_ast.Pattern.t('loc118, 'loc119)
method pattern_identifier: ?kind:Ast.Variable.kind =>
Ast.Identifier.t('loc641, 'loc642) =>
Ast.Identifier.t('loc68, 'loc69)
method pattern_string_literal: ?kind:Ast.Variable.kind =>
'loc643 =>
Ast.StringLiteral.t('loc644) =>
Ast.StringLiteral.t('loc335)
method pattern_number_literal: ?kind:Ast.Variable.kind =>
'loc645 =>
Ast.NumberLiteral.t('loc646) =>
Ast.NumberLiteral.t('loc337)
method pattern_bigint_literal: ?kind:Ast.Variable.kind =>
'loc647 =>
Ast.BigIntLiteral.t('loc648) =>
Ast.BigIntLiteral.t('loc339)
method pattern_object_p: ?kind:Ast.Variable.kind =>
Ast.Pattern.Object.property('loc649, 'loc650) =>
Ast.Pattern.Object.property('loc649, 'loc650)
method pattern_object_property: ?kind:Ast.Variable.kind =>
Ast.Pattern.Object.Property.t('loc651, 'loc652) =>
Ast.Pattern.Object.Property.t('loc651, 'loc652)
method pattern_object_property_key: ?kind:Ast.Variable.kind =>
Ast.Pattern.Object.Property.key('loc653, 'loc654) =>
Ast.Pattern.Object.Property.key('loc655, 'loc656)
method pattern_object_property_string_literal_key: ?kind:Ast.Variable.kind =>
('loc657, Ast.StringLiteral.t('loc658)) =>
('loc659, Ast.StringLiteral.t('loc658))
method pattern_object_property_number_literal_key: ?kind:Ast.Variable.kind =>
('loc660, Ast.NumberLiteral.t('loc661)) =>
('loc662, Ast.NumberLiteral.t('loc661))
method pattern_object_property_bigint_literal_key: ?kind:Ast.Variable.kind =>
('loc663, Ast.BigIntLiteral.t('loc664)) =>
('loc665, Ast.BigIntLiteral.t('loc664))
method pattern_object_property_identifier_key: ?kind:Ast.Variable.kind =>
Ast.Identifier.t('loc666, 'loc667) =>
Ast.Identifier.t('loc666, 'loc667)
method pattern_object_property_computed_key: ?kind:Ast.Variable.kind =>
Ast.ComputedKey.t('loc668, 'loc669) =>
Ast.ComputedKey.t('loc668, 'loc669)
method pattern_object_rest_property: ?kind:Ast.Variable.kind =>
Ast.Pattern.RestElement.t('loc670, 'loc671) =>
Ast.Pattern.RestElement.t('loc670, 'loc671)
method pattern_object_property_pattern: ?kind:Ast.Variable.kind =>
Ast.Pattern.t('loc672, 'loc673) =>
Js_parser__Flow_ast.Pattern.t('loc674, 'loc675)
method pattern_object_rest_property_pattern: ?kind:Ast.Variable.kind =>
Ast.Pattern.t('loc676, 'loc677) =>
Js_parser__Flow_ast.Pattern.t('loc678, 'loc679)
method pattern_array_e: ?kind:Ast.Variable.kind =>
Ast.Pattern.Array.element('loc680, 'loc681) =>
Ast.Pattern.Array.element('loc680, 'loc681)
method pattern_array_element: ?kind:Ast.Variable.kind =>
Ast.Pattern.Array.Element.t('loc682, 'loc683) =>
Ast.Pattern.Array.Element.t('loc682, 'loc683)
method pattern_array_element_pattern: ?kind:Ast.Variable.kind =>
Ast.Pattern.t('loc684, 'loc685) =>
Js_parser__Flow_ast.Pattern.t('loc686, 'loc687)
method pattern_array_rest_element: ?kind:Ast.Variable.kind =>
Ast.Pattern.RestElement.t('loc688, 'loc689) =>
Ast.Pattern.RestElement.t('loc688, 'loc689)
method pattern_array_rest_element_pattern: ?kind:Ast.Variable.kind =>
Ast.Pattern.t('loc690, 'loc691) =>
Js_parser__Flow_ast.Pattern.t('loc692, 'loc693)
method pattern_expression: Ast.Expression.t('loc694, 'loc695) =>
Ast.Expression.t('loc694, 'loc695)
method predicate: Ast.Type.Predicate.t('loc696, 'loc697) =>
Ast.Type.Predicate.t('loc696, 'loc697)
method predicate_expression: Ast.Expression.t('loc698, 'loc699) =>
Js_parser__Flow_ast.Expression.t('loc700, 'loc701)
method type_guard_annotation: Ast.Type.type_guard_annotation('loc702, 'loc703) =>
Ast.Type.type_guard_annotation('loc702, 'loc703)
method type_guard: Ast.Type.TypeGuard.t('loc704, 'loc705) =>
Ast.Type.TypeGuard.t('loc704, 'loc705)
method function_rest_param: Ast.Function.RestParam.t('loc706, 'loc707) =>
Ast.Function.RestParam.t('loc706, 'loc707)
method return: 'loc708 =>
Ast.Statement.Return.t('loc709, 'loc710) =>
Ast.Statement.Return.t('loc709, 'loc710)
method sequence: 'loc711 =>
Ast.Expression.Sequence.t('loc712, 'loc713) =>
Ast.Expression.Sequence.t('loc712, 'loc713)
method toplevel_statement_list: list(Ast.Statement.t('loc714, 'loc715)) =>
list(Js_parser__Flow_ast.Statement.t('loc716, 'loc717))
method statement_list: list(Ast.Statement.t('loc718, 'loc719)) =>
list(Js_parser__Flow_ast.Statement.t('loc716, 'loc717))
method statement_fork_point: Ast.Statement.t('loc720, 'loc721) =>
list(Ast.Statement.t('loc720, 'loc721))
method spread_element: Ast.Expression.SpreadElement.t('loc722, 'loc723) =>
Ast.Expression.SpreadElement.t('loc722, 'loc723)
method spread_property: Ast.Expression.Object.SpreadProperty.t('loc724,
'loc725) =>
Ast.Expression.Object.SpreadProperty.t('loc726, 'loc727)
method super_expression: 'loc728 =>
Ast.Expression.Super.t('loc729) =>
Ast.Expression.Super.t('loc729)
method switch: 'loc730 =>
Ast.Statement.Switch.t('loc731, 'loc732) =>
Ast.Statement.Switch.t('loc731, 'loc732)
method switch_case: Ast.Statement.Switch.Case.t('loc733, 'loc734) =>
Ast.Statement.Switch.Case.t('loc733, 'loc734)
method tagged_template: 'loc735 =>
Ast.Expression.TaggedTemplate.t('loc736, 'loc737) =>
Ast.Expression.TaggedTemplate.t('loc736, 'loc737)
method template_literal: 'loc738 =>
Ast.Expression.TemplateLiteral.t('loc739, 'loc740) =>
Ast.Expression.TemplateLiteral.t('loc739, 'loc740)
method template_literal_element: Ast.Expression.TemplateLiteral.Element.t('loc741) =>
Ast.Expression.TemplateLiteral.Element.t('loc741)
method this_expression: 'loc742 =>
Ast.Expression.This.t('loc743) =>
Ast.Expression.This.t('loc743)
method throw: 'loc744 =>
Ast.Statement.Throw.t('loc745, 'loc746) =>
Ast.Statement.Throw.t('loc745, 'loc746)
method try_catch: 'loc747 =>
Ast.Statement.Try.t('loc748, 'loc749) =>
Ast.Statement.Try.t('loc748, 'loc749)
method type_cast: 'loc750 =>
Ast.Expression.TypeCast.t('loc751, 'loc752) =>
Ast.Expression.TypeCast.t('loc751, 'loc752)
method ts_type_cast: 'loc753 =>
Ast.Expression.TSTypeCast.t('loc754, 'loc755) =>
Ast.Expression.TSTypeCast.t('loc754, 'loc755)
method unary_expression: 'loc756 =>
Js_parser.Flow_ast.Expression.Unary.t('loc757, 'loc758) =>
Js_parser.Flow_ast.Expression.Unary.t('loc757, 'loc758)
method update_expression: 'loc759 =>
Ast.Expression.Update.t('loc760, 'loc761) =>
Ast.Expression.Update.t('loc760, 'loc761)
method variable_declaration: 'loc762 =>
Ast.Statement.VariableDeclaration.t('loc238, 'loc239) =>
Ast.Statement.VariableDeclaration.t('loc238, 'loc239)
method variable_declarator: kind:Ast.Variable.kind =>
Ast.Statement.VariableDeclaration.Declarator.t('loc763, 'loc764) =>
Ast.Statement.VariableDeclaration.Declarator.t('loc763, 'loc764)
method while_: 'loc765 =>
Ast.Statement.While.t('loc766, 'loc767) =>
Ast.Statement.While.t('loc766, 'loc767)
method with_: 'loc768 =>
Ast.Statement.With.t('loc769, 'loc770) =>
Ast.Statement.With.t('loc769, 'loc770)
method type_alias: 'loc771 =>
Ast.Statement.TypeAlias.t('loc772, 'loc773) =>
Ast.Statement.TypeAlias.t('loc772, 'loc773)
method yield: 'loc774 =>
Ast.Expression.Yield.t('loc775, 'loc776) =>
Ast.Expression.Yield.t('loc775, 'loc776)