Flow_ast_mapper.mapper
method program : ('loc0, 'loc0) Ast.Program.t -> ('loc0, 'loc0) Ast.Program.t
method statement : ('loc1, 'loc1) Ast.Statement.t ->
('loc1, 'loc1) Ast.Statement.t
method syntax_opt : 'internal. ('loc3, 'internal) Ast.Syntax.t option ->
('loc3, 'internal) Ast.Syntax.t option
method syntax : 'internal. ('loc4, 'internal) Ast.Syntax.t ->
('loc4, 'internal) Ast.Syntax.t
method expression : ('loc5, 'loc5) Ast.Expression.t ->
('loc5, 'loc5) Ast.Expression.t
method array : 'loc6 ->
('loc7, 'loc8) Ast.Expression.Array.t ->
('loc7, 'loc8) Ast.Expression.Array.t
method array_element : ('loc9, 'loc10) Ast.Expression.Array.element ->
('loc9, 'loc10) Ast.Expression.Array.element
method arrow_function : 'loc11 ->
('loc12, 'loc12) Ast.Function.t ->
('loc12, 'loc12) Ast.Function.t
method assignment : 'loc13 ->
('loc14, 'loc15) Ast.Expression.Assignment.t ->
('loc14, 'loc15) Ast.Expression.Assignment.t
method binary : 'loc16 ->
('loc17, 'loc18) Ast.Expression.Binary.t ->
('loc17, 'loc18) Ast.Expression.Binary.t
method block : 'loc19 ->
('loc20, 'loc21) Ast.Statement.Block.t ->
('loc20, 'loc21) Ast.Statement.Block.t
method break : 'loc22 ->
'loc23 Ast.Statement.Break.t ->
'loc23 Ast.Statement.Break.t
method call : 'loc24 ->
('loc25, 'loc26) Ast.Expression.Call.t ->
('loc25, 'loc26) Ast.Expression.Call.t
method optional_call : 'loc29 ->
('loc30, 'loc31) Ast.Expression.OptionalCall.t ->
('loc30, 'loc31) Ast.Expression.OptionalCall.t
method call_type_arg : ('loc34, 'loc35) Ast.Expression.CallTypeArg.t ->
('loc34, 'loc35) Ast.Expression.CallTypeArg.t
method catch_body : ('loc36 * ('loc36, 'loc36) Ast.Statement.Block.t) ->
'loc37 * ('loc20, 'loc21) Ast.Statement.Block.t
method catch_clause : 'loc38 ->
('loc39, 'loc39) Ast.Statement.Try.CatchClause.t' ->
('loc39, 'loc39) Ast.Statement.Try.CatchClause.t'
method class_declaration : 'loc40 ->
('loc41, 'loc41) Ast.Class.t ->
('loc41, 'loc41) Ast.Class.t
method class_expression : 'loc42 ->
('loc43, 'loc43) Ast.Class.t ->
('loc43, 'loc43) Ast.Class.t
method class_ : 'loc44 ->
('loc41, 'loc41) Ast.Class.t ->
('loc41, 'loc41) Ast.Class.t
method class_extends : 'loc45 ->
('loc46, 'loc47) Ast.Class.Extends.t' ->
('loc46, 'loc47) Ast.Class.Extends.t'
method class_decorator : ('loc52, 'loc53) Ast.Class.Decorator.t ->
('loc52, 'loc53) Ast.Class.Decorator.t
method class_element : ('loc54, 'loc55) Ast.Class.Body.element ->
('loc54, 'loc55) Ast.Class.Body.element
method class_implements : ('loc56, 'loc57) Ast.Class.Implements.t ->
('loc56, 'loc57) Ast.Class.Implements.t
method class_implements_interface : ('loc58, 'loc59)
Ast.Class.Implements.Interface.t ->
('loc58, 'loc59) Ast.Class.Implements.Interface.t
method class_method : 'loc60 ->
('loc61, 'loc61) Ast.Class.Method.t' ->
('loc61, 'loc61) Ast.Class.Method.t'
method class_property : 'loc62 ->
('loc63, 'loc63) Ast.Class.Property.t' ->
('loc63, 'loc63) Ast.Class.Property.t'
method class_property_value : ('loc64, 'loc65) Ast.Class.Property.value ->
('loc64, 'loc65) Ast.Class.Property.value
method class_private_field : 'loc66 ->
('loc67, 'loc67) Ast.Class.PrivateField.t' ->
('loc67, 'loc67) Ast.Class.PrivateField.t'
method comprehension : 'loc68 ->
('loc69, 'loc70) Ast.Expression.Comprehension.t ->
('loc69, 'loc70) Ast.Expression.Comprehension.t
method conditional : 'loc71 ->
('loc72, 'loc73) Ast.Expression.Conditional.t ->
('loc72, 'loc73) Ast.Expression.Conditional.t
method continue : 'loc74 ->
'loc75 Ast.Statement.Continue.t ->
'loc75 Ast.Statement.Continue.t
method debugger : 'loc76 ->
'loc77 Ast.Statement.Debugger.t ->
'loc77 Ast.Statement.Debugger.t
method declare_class : 'loc78 ->
('loc79, 'loc80) Ast.Statement.DeclareClass.t ->
('loc79, 'loc80) Ast.Statement.DeclareClass.t
method declare_export_declaration : 'loc81 ->
('loc82, 'loc83) Ast.Statement.DeclareExportDeclaration.t ->
('loc82, 'loc83) Ast.Statement.DeclareExportDeclaration.t
method declare_export_declaration_decl : ('loc84, 'loc85)
Ast.Statement.DeclareExportDeclaration.declaration ->
('loc84, 'loc85) Ast.Statement.DeclareExportDeclaration.declaration
method declare_function : 'loc86 ->
('loc87, 'loc88) Ast.Statement.DeclareFunction.t ->
('loc87, 'loc88) Ast.Statement.DeclareFunction.t
method declare_interface : 'loc89 ->
('loc90, 'loc91) Ast.Statement.Interface.t ->
('loc90, 'loc91) Ast.Statement.Interface.t
method declare_module : 'loc92 ->
('loc93, 'loc94) Ast.Statement.DeclareModule.t ->
('loc93, 'loc94) Ast.Statement.DeclareModule.t
method declare_module_exports : 'loc95 ->
('loc96, 'loc97) Ast.Statement.DeclareModuleExports.t ->
('loc96, 'loc97) Ast.Statement.DeclareModuleExports.t
method declare_type_alias : 'loc98 ->
('loc99, 'loc100) Ast.Statement.TypeAlias.t ->
('loc99, 'loc100) Ast.Statement.TypeAlias.t
method declare_variable : 'loc101 ->
('loc102, 'loc103) Ast.Statement.DeclareVariable.t ->
('loc102, 'loc103) Ast.Statement.DeclareVariable.t
method do_while : 'loc104 ->
('loc105, 'loc106) Ast.Statement.DoWhile.t ->
('loc105, 'loc106) Ast.Statement.DoWhile.t
method empty : 'loc107 ->
'loc108 Ast.Statement.Empty.t ->
'loc108 Ast.Statement.Empty.t
method enum_declaration : 'loc109 ->
('loc110, 'loc111) Ast.Statement.EnumDeclaration.t ->
('loc110, 'loc111) Ast.Statement.EnumDeclaration.t
method enum_body : 'loc112 Ast.Statement.EnumDeclaration.body ->
'loc112 Ast.Statement.EnumDeclaration.body
method enum_boolean_body : 'loc113 Ast.Statement.EnumDeclaration.BooleanBody.t ->
'loc113 Ast.Statement.EnumDeclaration.BooleanBody.t
method enum_number_body : 'loc114 Ast.Statement.EnumDeclaration.NumberBody.t ->
'loc114 Ast.Statement.EnumDeclaration.NumberBody.t
method enum_string_body : 'loc115 Ast.Statement.EnumDeclaration.StringBody.t ->
'loc115 Ast.Statement.EnumDeclaration.StringBody.t
method enum_symbol_body : 'loc116 Ast.Statement.EnumDeclaration.SymbolBody.t ->
'loc116 Ast.Statement.EnumDeclaration.SymbolBody.t
method enum_boolean_member : ('loc118 Ast.BooleanLiteral.t, 'loc119)
Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t ->
('loc118 Ast.BooleanLiteral.t, 'loc119)
Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t
method enum_number_member : ('loc120 Ast.NumberLiteral.t, 'loc121)
Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t ->
('loc120 Ast.NumberLiteral.t, 'loc121)
Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t
method enum_string_member : ('loc122 Ast.StringLiteral.t, 'loc123)
Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t ->
('loc122 Ast.StringLiteral.t, 'loc123)
Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t
method export_default_declaration : 'loc125 ->
('loc126, 'loc127) Ast.Statement.ExportDefaultDeclaration.t ->
('loc126, 'loc127) Ast.Statement.ExportDefaultDeclaration.t
method export_default_declaration_decl : ('loc128, 'loc129)
Ast.Statement.ExportDefaultDeclaration.declaration ->
('loc128, 'loc129) Ast.Statement.ExportDefaultDeclaration.declaration
method export_named_declaration : 'loc130 ->
('loc131, 'loc132) Ast.Statement.ExportNamedDeclaration.t ->
('loc131, 'loc132) Ast.Statement.ExportNamedDeclaration.t
method export_named_declaration_specifier : 'loc133
Ast.Statement.ExportNamedDeclaration.ExportSpecifier.t ->
'loc133 Ast.Statement.ExportNamedDeclaration.ExportSpecifier.t
method export_batch_specifier : 'loc134
Ast.Statement.ExportNamedDeclaration.ExportBatchSpecifier.t ->
'loc134 Ast.Statement.ExportNamedDeclaration.ExportBatchSpecifier.t
method export_named_specifier : 'loc135
Ast.Statement.ExportNamedDeclaration.specifier ->
'loc135 Ast.Statement.ExportNamedDeclaration.specifier
method export_source : 'loc136 ->
'loc137 Ast.StringLiteral.t ->
'loc137 Ast.StringLiteral.t
method expression_statement : 'loc138 ->
('loc139, 'loc140) Ast.Statement.Expression.t ->
('loc139, 'loc140) Ast.Statement.Expression.t
method expression_or_spread : ('loc141, 'loc142)
Ast.Expression.expression_or_spread ->
('loc141, 'loc142) Ast.Expression.expression_or_spread
method for_in_statement : 'loc143 ->
('loc144, 'loc145) Ast.Statement.ForIn.t ->
('loc144, 'loc145) Ast.Statement.ForIn.t
method for_in_statement_lhs : ('loc146, 'loc147) Ast.Statement.ForIn.left ->
('loc146, 'loc147) Ast.Statement.ForIn.left
method for_in_left_declaration : ('loc148
* ('loc149, 'loc150)
Ast.Statement.VariableDeclaration.t) ->
'loc148 * ('loc149, 'loc150) Ast.Statement.VariableDeclaration.t
method for_of_statement : 'loc151 ->
('loc152, 'loc153) Ast.Statement.ForOf.t ->
('loc152, 'loc153) Ast.Statement.ForOf.t
method for_of_statement_lhs : ('loc154, 'loc155) Ast.Statement.ForOf.left ->
('loc154, 'loc155) Ast.Statement.ForOf.left
method for_of_left_declaration : ('loc156
* ('loc149, 'loc150)
Ast.Statement.VariableDeclaration.t) ->
'loc156 * ('loc149, 'loc150) Ast.Statement.VariableDeclaration.t
method for_statement : 'loc157 ->
('loc158, 'loc159) Ast.Statement.For.t ->
('loc158, 'loc159) Ast.Statement.For.t
method for_statement_init : ('loc160, 'loc161) Ast.Statement.For.init ->
('loc160, 'loc161) Ast.Statement.For.init
method for_init_declaration : ('loc162
* ('loc149, 'loc150)
Ast.Statement.VariableDeclaration.t) ->
'loc162 * ('loc149, 'loc150) Ast.Statement.VariableDeclaration.t
method function_param_type : ('loc163, 'loc163) Ast.Type.Function.Param.t ->
('loc163, 'loc163) Ast.Type.Function.Param.t
method function_rest_param_type : ('loc164, 'loc164)
Ast.Type.Function.RestParam.t ->
('loc164, 'loc164) Ast.Type.Function.RestParam.t
method function_this_param_type : ('loc165, 'loc165)
Ast.Type.Function.ThisParam.t ->
('loc165, 'loc165) Ast.Type.Function.ThisParam.t
method function_type : 'loc166 ->
('loc167, 'loc167) Ast.Type.Function.t ->
('loc167, 'loc167) Ast.Type.Function.t
method object_property_value_type : ('loc169, 'loc169)
Ast.Type.Object.Property.value ->
('loc169, 'loc169) Ast.Type.Object.Property.value
method object_type_property_getter : ('loc170
* ('loc167, 'loc167) Ast.Type.Function.t) ->
'loc170 * ('loc167, 'loc167) Ast.Type.Function.t
method object_type_property_setter : ('loc171
* ('loc167, 'loc167) Ast.Type.Function.t) ->
'loc171 * ('loc167, 'loc167) Ast.Type.Function.t
method object_property_type : ('loc172, 'loc172) Ast.Type.Object.Property.t ->
('loc172, 'loc172) Ast.Type.Object.Property.t
method object_spread_property_type : ('loc173, 'loc173)
Ast.Type.Object.SpreadProperty.t ->
('loc173, 'loc173) Ast.Type.Object.SpreadProperty.t
method object_indexer_property_type : ('loc174, 'loc174)
Ast.Type.Object.Indexer.t ->
('loc174, 'loc174) Ast.Type.Object.Indexer.t
method object_internal_slot_property_type : ('loc175, 'loc175)
Ast.Type.Object.InternalSlot.t ->
('loc175, 'loc175) Ast.Type.Object.InternalSlot.t
method object_call_property_type : ('loc176, 'loc176)
Ast.Type.Object.CallProperty.t ->
('loc176, 'loc176) Ast.Type.Object.CallProperty.t
method object_type : 'loc177 ->
('loc178, 'loc178) Ast.Type.Object.t ->
('loc178, 'loc178) Ast.Type.Object.t
method interface_type : 'loc179 ->
('loc180, 'loc180) Ast.Type.Interface.t ->
('loc180, 'loc180) Ast.Type.Interface.t
method generic_identifier_type : ('loc181, 'loc181)
Ast.Type.Generic.Identifier.t ->
('loc181, 'loc181) Ast.Type.Generic.Identifier.t
method generic_qualified_identifier_type : ('loc182, 'loc183)
Ast.Type.Generic.Identifier.qualified ->
('loc182, 'loc183) Ast.Type.Generic.Identifier.qualified
method variance : 'loc186 Ast.Variance.t -> 'loc186 Ast.Variance.t
method generic_type : 'loc195 ->
('loc196, 'loc196) Ast.Type.Generic.t ->
('loc196, 'loc196) Ast.Type.Generic.t
method indexed_access : 'loc197 ->
('loc198, 'loc198) Ast.Type.IndexedAccess.t ->
('loc198, 'loc198) Ast.Type.IndexedAccess.t
method optional_indexed_access : 'loc199 ->
('loc200, 'loc200) Ast.Type.OptionalIndexedAccess.t ->
('loc200, 'loc200) Ast.Type.OptionalIndexedAccess.t
method string_literal_type : 'loc201 ->
'loc202 Ast.StringLiteral.t ->
'loc202 Ast.StringLiteral.t
method number_literal_type : 'loc203 ->
'loc204 Ast.NumberLiteral.t ->
'loc204 Ast.NumberLiteral.t
method bigint_literal_type : 'loc205 ->
'loc206 Ast.BigIntLiteral.t ->
'loc206 Ast.BigIntLiteral.t
method boolean_literal_type : 'loc207 ->
'loc208 Ast.BooleanLiteral.t ->
'loc208 Ast.BooleanLiteral.t
method nullable_type : ('loc209, 'loc209) Ast.Type.Nullable.t ->
('loc209, 'loc209) Ast.Type.Nullable.t
method typeof_type : ('loc210, 'loc210) Ast.Type.Typeof.t ->
('loc210, 'loc210) Ast.Type.Typeof.t
method typeof_expression : ('loc211, 'loc212) Ast.Type.Typeof.Target.t ->
('loc211, 'loc212) Ast.Type.Typeof.Target.t
method typeof_qualified_identifier : ('loc217, 'loc218)
Ast.Type.Typeof.Target.qualified ->
('loc217, 'loc218) Ast.Type.Typeof.Target.qualified
method tuple_type : ('loc219, 'loc219) Ast.Type.Tuple.t ->
('loc219, 'loc219) Ast.Type.Tuple.t
method array_type : ('loc220, 'loc220) Ast.Type.Array.t ->
('loc220, 'loc220) Ast.Type.Array.t
method union_type : 'loc221 ->
('loc222, 'loc222) Ast.Type.Union.t ->
('loc222, 'loc222) Ast.Type.Union.t
method intersection_type : 'loc223 ->
('loc224, 'loc224) Ast.Type.Intersection.t ->
('loc224, 'loc224) Ast.Type.Intersection.t
method type_annotation_hint : ('loc229, 'loc230) Ast.Type.annotation_or_hint ->
('loc229, 'loc230) Ast.Type.annotation_or_hint
method function_declaration : 'loc231 ->
('loc232, 'loc232) Ast.Function.t ->
('loc232, 'loc232) Ast.Function.t
method function_expression : 'loc233 ->
('loc234, 'loc234) Ast.Function.t ->
('loc234, 'loc234) Ast.Function.t
method function_expression_or_method : 'loc235 ->
('loc234, 'loc234) Ast.Function.t ->
('loc234, 'loc234) Ast.Function.t
previously, we conflated function_expression
and class_method
. callers should be updated to override those individually.
method function_ : 'loc236 ->
('loc12, 'loc12) Ast.Function.t ->
('loc12, 'loc12) Ast.Function.t
method function_params : ('loc237, 'loc238) Ast.Function.Params.t ->
('loc237, 'loc238) Ast.Function.Params.t
method function_body_any : ('loc243, 'loc244) Ast.Function.body ->
('loc243, 'loc244) Ast.Function.body
method function_body : ('loc245 * ('loc246, 'loc246) Ast.Statement.Block.t) ->
'loc245 * ('loc246, 'loc246) Ast.Statement.Block.t
method generator : 'loc249 ->
('loc250, 'loc251) Ast.Expression.Generator.t ->
('loc250, 'loc251) Ast.Expression.Generator.t
method type_identifier : ('loc252, 'loc252) Ast.Identifier.t ->
('loc215, 'loc216) Js_parser__Flow_ast.Identifier.t
method interface : 'loc256 ->
('loc257, 'loc257) Ast.Statement.Interface.t ->
('loc90, 'loc91) Ast.Statement.Interface.t
method interface_declaration : 'loc258 ->
('loc259, 'loc260) Ast.Statement.Interface.t ->
('loc259, 'loc260) Ast.Statement.Interface.t
method computed_key : ('loc262, 'loc262) Ast.ComputedKey.t ->
('loc262, 'loc262) Ast.ComputedKey.t
method import : 'loc263 ->
('loc264, 'loc265) Ast.Expression.Import.t ->
('loc264, 'loc265) Ast.Expression.Import.t
method if_consequent_statement : has_else:bool ->
('loc266, 'loc266) Ast.Statement.t ->
('loc1, 'loc1) Ast.Statement.t
method if_alternate_statement : 'loc267 ->
('loc268, 'loc268) Ast.Statement.If.Alternate.t' ->
('loc268, 'loc268) Ast.Statement.If.Alternate.t'
method if_statement : 'loc269 ->
('loc270, 'loc271) Ast.Statement.If.t ->
('loc270, 'loc271) Ast.Statement.If.t
method import_declaration : 'loc272 ->
('loc273, 'loc274) Ast.Statement.ImportDeclaration.t ->
('loc273, 'loc274) Ast.Statement.ImportDeclaration.t
method import_source : 'loc275 ->
'loc276 Ast.StringLiteral.t ->
'loc276 Ast.StringLiteral.t
method import_specifier : import_kind:
Ast.Statement.ImportDeclaration.import_kind ->
('loc277, 'loc278) Ast.Statement.ImportDeclaration.specifier ->
('loc277, 'loc278) Ast.Statement.ImportDeclaration.specifier
method import_named_specifier : import_kind:
Ast.Statement.ImportDeclaration.import_kind ->
('loc279, 'loc280) Ast.Statement.ImportDeclaration.named_specifier ->
('loc279, 'loc280) Ast.Statement.ImportDeclaration.named_specifier
method import_default_specifier : import_kind:
Ast.Statement.ImportDeclaration.import_kind ->
('loc281, 'loc282) Js_parser__Flow_ast.Identifier.t ->
('loc281, 'loc282) Js_parser__Flow_ast.Identifier.t
method import_namespace_specifier : import_kind:
Ast.Statement.ImportDeclaration.import_kind ->
'loc283 ->
('loc284, 'loc285) Js_parser__Flow_ast.Identifier.t ->
('loc284, 'loc285) Js_parser__Flow_ast.Identifier.t
method jsx_element : 'loc286 ->
('loc287, 'loc287) Ast.JSX.element ->
('loc287, 'loc287) Ast.JSX.element
method jsx_fragment : 'loc288 ->
('loc289, 'loc289) Ast.JSX.fragment ->
('loc289, 'loc289) Ast.JSX.fragment
method jsx_opening_element : ('loc290, 'loc291) Ast.JSX.Opening.t ->
('loc290, 'loc291) Ast.JSX.Opening.t
method jsx_closing_element : ('loc292, 'loc293) Ast.JSX.Closing.t ->
('loc292, 'loc293) Ast.JSX.Closing.t
method jsx_opening_attribute : ('loc294, 'loc295) Ast.JSX.Opening.attribute ->
('loc294, 'loc295) Ast.JSX.Opening.attribute
method jsx_spread_attribute : 'loc296 ->
('loc297, 'loc297) Ast.JSX.SpreadAttribute.t' ->
('loc297, 'loc297) Ast.JSX.SpreadAttribute.t'
method jsx_attribute_name : ('loc300, 'loc301) Ast.JSX.Attribute.name ->
('loc300, 'loc301) Ast.JSX.Attribute.name
method jsx_attribute_value : ('loc306, 'loc307) Ast.JSX.Attribute.value ->
('loc306, 'loc307) Ast.JSX.Attribute.value
method jsx_attribute_value_expression : 'loc308 ->
('loc309, 'loc309) Ast.JSX.ExpressionContainer.t ->
('loc309, 'loc309) Ast.JSX.ExpressionContainer.t
method jsx_attribute_value_literal : 'loc310 ->
'loc311 Ast.Literal.t ->
'loc311 Ast.Literal.t
method jsx_children : ('loc312 * ('loc312, 'loc313) Ast.JSX.child list) ->
'loc314 * ('loc314, 'loc315) Ast.JSX.child list
method jsx_child : ('loc316, 'loc316) Ast.JSX.child ->
('loc316, 'loc316) Ast.JSX.child
method jsx_expression : 'loc317 ->
('loc309, 'loc309) Ast.JSX.ExpressionContainer.t ->
('loc309, 'loc309) Ast.JSX.ExpressionContainer.t
method jsx_spread_child : ('loc318, 'loc319) Ast.JSX.SpreadChild.t ->
('loc318, 'loc319) Ast.JSX.SpreadChild.t
method jsx_element_name : ('loc320, 'loc320) Ast.JSX.name ->
('loc320, 'loc320) Ast.JSX.name
method jsx_element_name_identifier : ('loc321, 'loc322) Ast.JSX.Identifier.t ->
('loc321, 'loc322) Ast.JSX.Identifier.t
method jsx_element_name_namespaced : ('loc323, 'loc324)
Ast.JSX.NamespacedName.t ->
('loc323, 'loc324) Ast.JSX.NamespacedName.t
method jsx_element_name_member_expression : ('loc325, 'loc326)
Ast.JSX.MemberExpression.t ->
('loc325, 'loc326) Ast.JSX.MemberExpression.t
method jsx_member_expression : ('loc325, 'loc326) Ast.JSX.MemberExpression.t ->
('loc325, 'loc326) Ast.JSX.MemberExpression.t
method jsx_member_expression_object : ('loc327, 'loc328)
Ast.JSX.MemberExpression._object ->
('loc327, 'loc328) Ast.JSX.MemberExpression._object
method labeled_statement : 'loc331 ->
('loc332, 'loc333) Ast.Statement.Labeled.t ->
('loc332, 'loc333) Ast.Statement.Labeled.t
method literal : 'loc334 -> 'loc311 Ast.Literal.t -> 'loc311 Ast.Literal.t
method logical : 'loc335 ->
('loc336, 'loc337) Ast.Expression.Logical.t ->
('loc336, 'loc337) Ast.Expression.Logical.t
method member : 'loc338 ->
('loc339, 'loc340) Ast.Expression.Member.t ->
('loc339, 'loc340) Ast.Expression.Member.t
method optional_member : 'loc341 ->
('loc342, 'loc343) Ast.Expression.OptionalMember.t ->
('loc342, 'loc343) Ast.Expression.OptionalMember.t
method member_property : ('loc344, 'loc345) Ast.Expression.Member.property ->
('loc344, 'loc345) Ast.Expression.Member.property
method meta_property : 'loc351 ->
'loc352 Ast.Expression.MetaProperty.t ->
'loc352 Ast.Expression.MetaProperty.t
method new_ : 'loc353 ->
('loc354, 'loc355) Ast.Expression.New.t ->
('loc354, 'loc355) Ast.Expression.New.t
method object_ : 'loc356 ->
('loc357, 'loc358) Ast.Expression.Object.t ->
('loc357, 'loc358) Ast.Expression.Object.t
method object_property : ('loc359, 'loc360) Ast.Expression.Object.Property.t ->
('loc359, 'loc360) Ast.Expression.Object.Property.t
method object_key : ('loc361, 'loc362) Ast.Expression.Object.Property.key ->
('loc361, 'loc362) Ast.Expression.Object.Property.key
method object_key_literal : ('loc363 * 'loc364 Ast.Literal.t) ->
'loc363 * 'loc364 Ast.Literal.t
method opaque_type : 'loc369 ->
('loc370, 'loc371) Ast.Statement.OpaqueType.t ->
('loc370, 'loc371) Ast.Statement.OpaqueType.t
method variable_declarator_pattern : kind:
Ast.Statement.VariableDeclaration.kind ->
('loc374, 'loc374) Ast.Pattern.t ->
('loc372, 'loc373) Js_parser__Flow_ast.Pattern.t
method binding_pattern : ?kind:Ast.Statement.VariableDeclaration.kind ->
('loc381, 'loc381) Ast.Pattern.t ->
('loc372, 'loc373) Js_parser__Flow_ast.Pattern.t
method pattern : ?kind:Ast.Statement.VariableDeclaration.kind ->
('loc384, 'loc384) Ast.Pattern.t ->
('loc372, 'loc373) Js_parser__Flow_ast.Pattern.t
method pattern_identifier : ?kind:Ast.Statement.VariableDeclaration.kind ->
('loc385, 'loc385) Ast.Identifier.t ->
('loc48, 'loc49) Js_parser__Flow_ast.Identifier.t
method pattern_literal : ?kind:Ast.Statement.VariableDeclaration.kind ->
'loc386 ->
'loc387 Ast.Literal.t ->
'loc311 Ast.Literal.t
method pattern_object_p : ?kind:Ast.Statement.VariableDeclaration.kind ->
('loc388, 'loc389) Ast.Pattern.Object.property ->
('loc388, 'loc389) Ast.Pattern.Object.property
method pattern_object_property : ?kind:Ast.Statement.VariableDeclaration.kind ->
('loc390, 'loc391) Ast.Pattern.Object.Property.t ->
('loc390, 'loc391) Ast.Pattern.Object.Property.t
method pattern_object_property_key : ?kind:
Ast.Statement.VariableDeclaration.kind ->
('loc392, 'loc393) Ast.Pattern.Object.Property.key ->
('loc394, 'loc395) Ast.Pattern.Object.Property.key
method pattern_object_property_literal_key : ?kind:
Ast.Statement.VariableDeclaration.kind ->
('loc396 * 'loc397 Ast.Literal.t) ->
'loc396 * 'loc397 Ast.Literal.t
method pattern_object_property_identifier_key : ?kind:
Ast.Statement.VariableDeclaration.kind ->
('loc398, 'loc399) Js_parser__Flow_ast.Identifier.t ->
('loc398, 'loc399) Js_parser__Flow_ast.Identifier.t
method pattern_object_property_computed_key : ?kind:
Ast.Statement.VariableDeclaration.kind ->
('loc400, 'loc401) Js_parser__Flow_ast.ComputedKey.t ->
('loc400, 'loc401) Js_parser__Flow_ast.ComputedKey.t
method pattern_object_rest_property : ?kind:
Ast.Statement.VariableDeclaration.kind ->
('loc402, 'loc403) Js_parser__Flow_ast.Pattern.RestElement.t ->
('loc402, 'loc403) Js_parser__Flow_ast.Pattern.RestElement.t
method pattern_object_property_pattern : ?kind:
Ast.Statement.VariableDeclaration.kind ->
('loc404, 'loc405) Js_parser__Flow_ast.Pattern.t ->
('loc404, 'loc405) Js_parser__Flow_ast.Pattern.t
method pattern_object_rest_property_pattern : ?kind:
Ast.Statement.VariableDeclaration.kind ->
('loc406, 'loc407) Js_parser__Flow_ast.Pattern.t ->
('loc406, 'loc407) Js_parser__Flow_ast.Pattern.t
method pattern_array_e : ?kind:Ast.Statement.VariableDeclaration.kind ->
('loc408, 'loc409) Ast.Pattern.Array.element ->
('loc408, 'loc409) Ast.Pattern.Array.element
method pattern_array_element : ?kind:Ast.Statement.VariableDeclaration.kind ->
('loc410, 'loc411) Ast.Pattern.Array.Element.t ->
('loc410, 'loc411) Ast.Pattern.Array.Element.t
method pattern_array_element_pattern : ?kind:
Ast.Statement.VariableDeclaration.kind ->
('loc412, 'loc413) Js_parser__Flow_ast.Pattern.t ->
('loc412, 'loc413) Js_parser__Flow_ast.Pattern.t
method pattern_array_rest_element : ?kind:
Ast.Statement.VariableDeclaration.kind ->
('loc414, 'loc415) Js_parser__Flow_ast.Pattern.RestElement.t ->
('loc414, 'loc415) Js_parser__Flow_ast.Pattern.RestElement.t
method pattern_array_rest_element_pattern : ?kind:
Ast.Statement.VariableDeclaration.kind ->
('loc416, 'loc417) Js_parser__Flow_ast.Pattern.t ->
('loc416, 'loc417) Js_parser__Flow_ast.Pattern.t
method return : 'loc426 ->
('loc427, 'loc428) Ast.Statement.Return.t ->
('loc427, 'loc428) Ast.Statement.Return.t
method sequence : 'loc429 ->
('loc430, 'loc431) Ast.Expression.Sequence.t ->
('loc430, 'loc431) Ast.Expression.Sequence.t
method statement_fork_point : ('loc438, 'loc438) Ast.Statement.t ->
('loc438, 'loc438) Ast.Statement.t list
method spread_property : ('loc441, 'loc442)
Ast.Expression.Object.SpreadProperty.t ->
('loc441, 'loc442) Ast.Expression.Object.SpreadProperty.t
method super_expression : 'loc443 ->
'loc444 Ast.Expression.Super.t ->
'loc444 Ast.Expression.Super.t
method switch : 'loc445 ->
('loc446, 'loc447) Ast.Statement.Switch.t ->
('loc446, 'loc447) Ast.Statement.Switch.t
method switch_case : ('loc448, 'loc449) Ast.Statement.Switch.Case.t ->
('loc448, 'loc449) Ast.Statement.Switch.Case.t
method tagged_template : 'loc450 ->
('loc451, 'loc452) Ast.Expression.TaggedTemplate.t ->
('loc451, 'loc452) Ast.Expression.TaggedTemplate.t
method template_literal : 'loc453 ->
('loc454, 'loc455) Ast.Expression.TemplateLiteral.t ->
('loc454, 'loc455) Ast.Expression.TemplateLiteral.t
method template_literal_element : 'loc456
Ast.Expression.TemplateLiteral.Element.t ->
'loc456 Ast.Expression.TemplateLiteral.Element.t
method this_expression : 'loc457 ->
'loc458 Ast.Expression.This.t ->
'loc458 Ast.Expression.This.t
method throw : 'loc459 ->
('loc460, 'loc461) Ast.Statement.Throw.t ->
('loc460, 'loc461) Ast.Statement.Throw.t
method try_catch : 'loc462 ->
('loc463, 'loc464) Ast.Statement.Try.t ->
('loc463, 'loc464) Ast.Statement.Try.t
method type_cast : 'loc465 ->
('loc466, 'loc467) Ast.Expression.TypeCast.t ->
('loc466, 'loc467) Ast.Expression.TypeCast.t
method unary_expression : 'loc468 ->
('loc469, 'loc470) Ast.Expression.Unary.t ->
('loc469, 'loc470) Ast.Expression.Unary.t
method update_expression : 'loc471 ->
('loc472, 'loc473) Ast.Expression.Update.t ->
('loc472, 'loc473) Ast.Expression.Update.t
method variable_declaration : 'loc474 ->
('loc149, 'loc150) Ast.Statement.VariableDeclaration.t ->
('loc149, 'loc150) Ast.Statement.VariableDeclaration.t
method variable_declarator : kind:Ast.Statement.VariableDeclaration.kind ->
('loc475, 'loc476) Ast.Statement.VariableDeclaration.Declarator.t ->
('loc475, 'loc476) Ast.Statement.VariableDeclaration.Declarator.t
method while_ : 'loc477 ->
('loc478, 'loc479) Ast.Statement.While.t ->
('loc478, 'loc479) Ast.Statement.While.t
method with_ : 'loc480 ->
('loc481, 'loc482) Ast.Statement.With.t ->
('loc481, 'loc482) Ast.Statement.With.t
method type_alias : 'loc483 ->
('loc484, 'loc485) Ast.Statement.TypeAlias.t ->
('loc484, 'loc485) Ast.Statement.TypeAlias.t
method yield : 'loc486 ->
('loc487, 'loc488) Ast.Expression.Yield.t ->
('loc487, 'loc488) Ast.Expression.Yield.t