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