Flow_ast_mapper.mapper
method program: Ast.Program.t('loc, 'loc) => Ast.Program.t('loc, 'loc)
method statement: Ast.Statement.t('loc, 'loc) => Ast.Statement.t('loc, 'loc)
method comment: Ast.Comment.t('loc) => Ast.Comment.t('loc)
method syntax_opt: 'internal. option(Ast.Syntax.t('loc, 'internal)) =>
option(Ast.Syntax.t('loc, 'internal))
method syntax: 'internal. Ast.Syntax.t('loc, 'internal) =>
Ast.Syntax.t('loc, 'internal)
method expression: Ast.Expression.t('loc, 'loc) => Ast.Expression.t('loc, 'loc)
method array: 'loc =>
Ast.Expression.Array.t('loc, 'loc) =>
Ast.Expression.Array.t('loc, 'loc)
method array_element: Ast.Expression.Array.element('loc, 'loc) =>
Ast.Expression.Array.element('loc, 'loc)
method arrow_function: 'loc =>
Ast.Function.t('loc, 'loc) =>
Ast.Function.t('loc, 'loc)
method as_expression: 'loc =>
Ast.Expression.AsExpression.t('loc, 'loc) =>
Ast.Expression.AsExpression.t('loc, 'loc)
method assignment: 'loc =>
Ast.Expression.Assignment.t('loc, 'loc) =>
Ast.Expression.Assignment.t('loc, 'loc)
method binary: 'loc =>
Ast.Expression.Binary.t('loc, 'loc) =>
Ast.Expression.Binary.t('loc, 'loc)
method block: 'loc =>
Ast.Statement.Block.t('loc, 'loc) =>
Ast.Statement.Block.t('loc, 'loc)
method break: 'loc =>
Ast.Statement.Break.t('loc) =>
Ast.Statement.Break.t('loc)
method call: 'loc =>
Ast.Expression.Call.t('loc, 'loc) =>
Ast.Expression.Call.t('loc, 'loc)
method arg_list: Ast.Expression.ArgList.t('loc, 'loc) =>
Js_parser__Flow_ast.Expression.ArgList.t('loc, 'loc)
method optional_call: 'loc =>
Ast.Expression.OptionalCall.t('loc, 'loc) =>
Ast.Expression.OptionalCall.t('loc, 'loc)
method call_type_args: Ast.Expression.CallTypeArgs.t('loc, 'loc) =>
Ast.Expression.CallTypeArgs.t('loc, 'loc)
method call_type_arg: Ast.Expression.CallTypeArg.t('loc, 'loc) =>
Ast.Expression.CallTypeArg.t('loc, 'loc)
method catch_body: ('loc, Ast.Statement.Block.t('loc, 'loc)) =>
('loc, Ast.Statement.Block.t('loc, 'loc))
method catch_clause: 'loc =>
Ast.Statement.Try.CatchClause.t'('loc, 'loc) =>
Ast.Statement.Try.CatchClause.t'('loc, 'loc)
method class_declaration: 'loc =>
Ast.Class.t('loc, 'loc) =>
Ast.Class.t('loc, 'loc)
method class_expression: 'loc =>
Ast.Class.t('loc, 'loc) =>
Ast.Class.t('loc, 'loc)
method class_: 'loc => Ast.Class.t('loc, 'loc) => Ast.Class.t('loc, 'loc)
method class_extends: 'loc =>
Ast.Class.Extends.t'('loc, 'loc) =>
Ast.Class.Extends.t'('loc, 'loc)
method class_identifier: Ast.Identifier.t('loc, 'loc) =>
Ast.Identifier.t('loc, 'loc)
method class_body: Ast.Class.Body.t('loc, 'loc) =>
Js_parser__Flow_ast.Class.Body.t('loc, 'loc)
method class_decorator: Ast.Class.Decorator.t('loc, 'loc) =>
Ast.Class.Decorator.t('loc, 'loc)
method class_element: Ast.Class.Body.element('loc, 'loc) =>
Ast.Class.Body.element('loc, 'loc)
method class_implements: Ast.Class.Implements.t('loc, 'loc) =>
Ast.Class.Implements.t('loc, 'loc)
method class_implements_interface: Ast.Class.Implements.Interface.t('loc, 'loc) =>
Ast.Class.Implements.Interface.t('loc, 'loc)
method class_method: 'loc =>
Ast.Class.Method.t'('loc, 'loc) =>
Ast.Class.Method.t'('loc, 'loc)
method class_property: 'loc =>
Ast.Class.Property.t'('loc, 'loc) =>
Ast.Class.Property.t'('loc, 'loc)
method class_property_value: Ast.Class.Property.value('loc, 'loc) =>
Ast.Class.Property.value('loc, 'loc)
method class_private_field: 'loc =>
Ast.Class.PrivateField.t'('loc, 'loc) =>
Ast.Class.PrivateField.t'('loc, 'loc)
method default_opt: option(Ast.Expression.t('loc, 'loc)) =>
option(Js_parser__Flow_ast.Expression.t('loc, 'loc))
method component_declaration: 'loc =>
Ast.Statement.ComponentDeclaration.t('loc, 'loc) =>
Ast.Statement.ComponentDeclaration.t('loc, 'loc)
method component_identifier: Ast.Identifier.t('loc, 'loc) =>
Js_parser__Flow_ast.Identifier.t('loc, 'loc)
method component_params: Ast.Statement.ComponentDeclaration.Params.t('loc,
'loc) =>
Ast.Statement.ComponentDeclaration.Params.t('loc, 'loc)
method component_param: Ast.Statement.ComponentDeclaration.Param.t('loc, 'loc) =>
Ast.Statement.ComponentDeclaration.Param.t('loc, 'loc)
method component_param_name: Ast.Statement.ComponentDeclaration.Param.param_name
('loc,
'loc) =>
Ast.Statement.ComponentDeclaration.Param.param_name('loc, 'loc)
method component_param_pattern: Ast.Pattern.t('loc, 'loc) =>
Js_parser__Flow_ast.Pattern.t('loc, 'loc)
method component_rest_param: Ast.Statement.ComponentDeclaration.RestParam.t
('loc,
'loc) =>
Ast.Statement.ComponentDeclaration.RestParam.t('loc, 'loc)
method component_body: ('loc, Ast.Statement.Block.t('loc, 'loc)) =>
('loc, Ast.Statement.Block.t('loc, 'loc))
method conditional: 'loc =>
Ast.Expression.Conditional.t('loc, 'loc) =>
Ast.Expression.Conditional.t('loc, 'loc)
method continue: 'loc =>
Ast.Statement.Continue.t('loc) =>
Ast.Statement.Continue.t('loc)
method debugger: 'loc =>
Ast.Statement.Debugger.t('loc) =>
Ast.Statement.Debugger.t('loc)
method declare_class: 'loc =>
Ast.Statement.DeclareClass.t('loc, 'loc) =>
Ast.Statement.DeclareClass.t('loc, 'loc)
method declare_component: 'loc =>
Ast.Statement.DeclareComponent.t('loc, 'loc) =>
Ast.Statement.DeclareComponent.t('loc, 'loc)
method component_type: 'loc =>
Ast.Type.Component.t('loc, 'loc) =>
Ast.Type.Component.t('loc, 'loc)
method component_type_params: Ast.Type.Component.Params.t('loc, 'loc) =>
Js_parser__Flow_ast.Type.Component.Params.t('loc, 'loc)
method component_type_param: Ast.Type.Component.Param.t('loc, 'loc) =>
Ast.Type.Component.Param.t('loc, 'loc)
method component_type_rest_param: Ast.Type.Component.RestParam.t('loc, 'loc) =>
Ast.Type.Component.RestParam.t('loc, 'loc)
method declare_enum: 'loc =>
Ast.Statement.EnumDeclaration.t('loc, 'loc) =>
Ast.Statement.EnumDeclaration.t('loc, 'loc)
method declare_export_declaration: 'loc =>
Ast.Statement.DeclareExportDeclaration.t('loc, 'loc) =>
Ast.Statement.DeclareExportDeclaration.t('loc, 'loc)
method declare_export_declaration_decl: Ast.Statement.DeclareExportDeclaration.declaration
('loc,
'loc) =>
Ast.Statement.DeclareExportDeclaration.declaration('loc, 'loc)
method declare_function: 'loc =>
Ast.Statement.DeclareFunction.t('loc, 'loc) =>
Ast.Statement.DeclareFunction.t('loc, 'loc)
method declare_interface: 'loc =>
Ast.Statement.Interface.t('loc, 'loc) =>
Ast.Statement.Interface.t('loc, 'loc)
method declare_module: 'loc =>
Ast.Statement.DeclareModule.t('loc, 'loc) =>
Ast.Statement.DeclareModule.t('loc, 'loc)
method declare_module_exports: 'loc =>
Ast.Statement.DeclareModuleExports.t('loc, 'loc) =>
Ast.Statement.DeclareModuleExports.t('loc, 'loc)
method declare_type_alias: 'loc =>
Ast.Statement.TypeAlias.t('loc, 'loc) =>
Ast.Statement.TypeAlias.t('loc, 'loc)
method declare_variable: 'loc =>
Ast.Statement.DeclareVariable.t('loc, 'loc) =>
Ast.Statement.DeclareVariable.t('loc, 'loc)
method do_while: 'loc =>
Ast.Statement.DoWhile.t('loc, 'loc) =>
Ast.Statement.DoWhile.t('loc, 'loc)
method empty: 'loc =>
Ast.Statement.Empty.t('loc) =>
Ast.Statement.Empty.t('loc)
method enum_declaration: 'loc =>
Ast.Statement.EnumDeclaration.t('loc, 'loc) =>
Ast.Statement.EnumDeclaration.t('loc, 'loc)
method enum_body: Ast.Statement.EnumDeclaration.body('loc) =>
Ast.Statement.EnumDeclaration.body('loc)
method enum_boolean_body: Ast.Statement.EnumDeclaration.BooleanBody.t('loc) =>
Ast.Statement.EnumDeclaration.BooleanBody.t('loc)
method enum_number_body: Ast.Statement.EnumDeclaration.NumberBody.t('loc) =>
Ast.Statement.EnumDeclaration.NumberBody.t('loc)
method enum_string_body: Ast.Statement.EnumDeclaration.StringBody.t('loc) =>
Ast.Statement.EnumDeclaration.StringBody.t('loc)
method enum_symbol_body: Ast.Statement.EnumDeclaration.SymbolBody.t('loc) =>
Ast.Statement.EnumDeclaration.SymbolBody.t('loc)
method enum_bigint_body: Ast.Statement.EnumDeclaration.BigIntBody.t('loc) =>
Ast.Statement.EnumDeclaration.BigIntBody.t('loc)
method enum_defaulted_member: Ast.Statement.EnumDeclaration.DefaultedMember.t('loc) =>
Ast.Statement.EnumDeclaration.DefaultedMember.t('loc)
method enum_boolean_member: Ast.Statement.EnumDeclaration.InitializedMember.t
(Ast.BooleanLiteral.t('loc),
'loc) =>
Ast.Statement.EnumDeclaration.InitializedMember.t(Ast.BooleanLiteral.t('loc),
'loc)
method enum_number_member: Ast.Statement.EnumDeclaration.InitializedMember.t
(Ast.NumberLiteral.t('loc),
'loc) =>
Ast.Statement.EnumDeclaration.InitializedMember.t(Ast.NumberLiteral.t('loc),
'loc)
method enum_string_member: Ast.Statement.EnumDeclaration.InitializedMember.t
(Ast.StringLiteral.t('loc),
'loc) =>
Ast.Statement.EnumDeclaration.InitializedMember.t(Ast.StringLiteral.t('loc),
'loc)
method enum_bigint_member: Ast.Statement.EnumDeclaration.InitializedMember.t
(Ast.BigIntLiteral.t('loc),
'loc) =>
Ast.Statement.EnumDeclaration.InitializedMember.t(Ast.BigIntLiteral.t('loc),
'loc)
method enum_member_identifier: Ast.Identifier.t('loc, 'loc) =>
Js_parser__Flow_ast.Identifier.t('loc, 'loc)
method export_default_declaration: 'loc =>
Ast.Statement.ExportDefaultDeclaration.t('loc, 'loc) =>
Ast.Statement.ExportDefaultDeclaration.t('loc, 'loc)
method export_default_declaration_decl: Ast.Statement.ExportDefaultDeclaration.declaration
('loc,
'loc) =>
Ast.Statement.ExportDefaultDeclaration.declaration('loc, 'loc)
method export_named_declaration: 'loc =>
Ast.Statement.ExportNamedDeclaration.t('loc, 'loc) =>
Ast.Statement.ExportNamedDeclaration.t('loc, 'loc)
method export_named_declaration_specifier: Ast.Statement.ExportNamedDeclaration.ExportSpecifier.t
('loc,
'loc) =>
Ast.Statement.ExportNamedDeclaration.ExportSpecifier.t('loc, 'loc)
method export_batch_specifier: Ast.Statement.ExportNamedDeclaration.ExportBatchSpecifier.t
('loc,
'loc) =>
Ast.Statement.ExportNamedDeclaration.ExportBatchSpecifier.t('loc, 'loc)
method export_named_specifier: Ast.Statement.ExportNamedDeclaration.specifier
('loc,
'loc) =>
Ast.Statement.ExportNamedDeclaration.specifier('loc, 'loc)
method export_source: 'loc =>
Ast.StringLiteral.t('loc) =>
Ast.StringLiteral.t('loc)
method expression_statement: 'loc =>
Ast.Statement.Expression.t('loc, 'loc) =>
Ast.Statement.Expression.t('loc, 'loc)
method expression_or_spread: Ast.Expression.expression_or_spread('loc, 'loc) =>
Ast.Expression.expression_or_spread('loc, 'loc)
method for_in_statement: 'loc =>
Ast.Statement.ForIn.t('loc, 'loc) =>
Ast.Statement.ForIn.t('loc, 'loc)
method for_in_statement_lhs: Ast.Statement.ForIn.left('loc, 'loc) =>
Ast.Statement.ForIn.left('loc, 'loc)
method for_in_left_declaration: ('loc, Ast.Statement.VariableDeclaration.t
('loc,
'loc)) =>
('loc, Ast.Statement.VariableDeclaration.t('loc, 'loc))
method for_of_statement: 'loc =>
Ast.Statement.ForOf.t('loc, 'loc) =>
Ast.Statement.ForOf.t('loc, 'loc)
method for_of_statement_lhs: Ast.Statement.ForOf.left('loc, 'loc) =>
Ast.Statement.ForOf.left('loc, 'loc)
method for_of_left_declaration: ('loc, Ast.Statement.VariableDeclaration.t
('loc,
'loc)) =>
('loc, Ast.Statement.VariableDeclaration.t('loc, 'loc))
method for_statement: 'loc =>
Ast.Statement.For.t('loc, 'loc) =>
Ast.Statement.For.t('loc, 'loc)
method for_statement_init: Ast.Statement.For.init('loc, 'loc) =>
Ast.Statement.For.init('loc, 'loc)
method for_init_declaration: ('loc, Ast.Statement.VariableDeclaration.t
('loc,
'loc)) =>
('loc, Ast.Statement.VariableDeclaration.t('loc, 'loc))
method function_param_type: Ast.Type.Function.Param.t('loc, 'loc) =>
Ast.Type.Function.Param.t('loc, 'loc)
method function_rest_param_type: Ast.Type.Function.RestParam.t('loc, 'loc) =>
Ast.Type.Function.RestParam.t('loc, 'loc)
method function_this_param_type: Ast.Type.Function.ThisParam.t('loc, 'loc) =>
Ast.Type.Function.ThisParam.t('loc, 'loc)
method function_type_return_annotation: Ast.Type.Function.return_annotation
('loc,
'loc) =>
Ast.Type.Function.return_annotation('loc, 'loc)
method function_type: 'loc =>
Ast.Type.Function.t('loc, 'loc) =>
Ast.Type.Function.t('loc, 'loc)
method label_identifier: Ast.Identifier.t('loc, 'loc) =>
Ast.Identifier.t('loc, 'loc)
method object_property_value_type: Ast.Type.Object.Property.value('loc, 'loc) =>
Ast.Type.Object.Property.value('loc, 'loc)
method object_type_property_getter: ('loc, Ast.Type.Function.t('loc, 'loc)) =>
('loc, Ast.Type.Function.t('loc, 'loc))
method object_type_property_setter: ('loc, Ast.Type.Function.t('loc, 'loc)) =>
('loc, Ast.Type.Function.t('loc, 'loc))
method object_property_type: Ast.Type.Object.Property.t('loc, 'loc) =>
Ast.Type.Object.Property.t('loc, 'loc)
method object_spread_property_type: Ast.Type.Object.SpreadProperty.t('loc,
'loc) =>
Ast.Type.Object.SpreadProperty.t('loc, 'loc)
method object_indexer_property_type: Ast.Type.Object.Indexer.t('loc, 'loc) =>
Ast.Type.Object.Indexer.t('loc, 'loc)
method object_internal_slot_property_type: Ast.Type.Object.InternalSlot.t
('loc,
'loc) =>
Ast.Type.Object.InternalSlot.t('loc, 'loc)
method object_call_property_type: Ast.Type.Object.CallProperty.t('loc, 'loc) =>
Ast.Type.Object.CallProperty.t('loc, 'loc)
method object_mapped_type_property: Ast.Type.Object.MappedType.t('loc, 'loc) =>
Ast.Type.Object.MappedType.t('loc, 'loc)
method object_type: 'loc =>
Ast.Type.Object.t('loc, 'loc) =>
Ast.Type.Object.t('loc, 'loc)
method object_type_property: Ast.Type.Object.property('loc, 'loc) =>
Ast.Type.Object.property('loc, 'loc)
method interface_type: 'loc =>
Ast.Type.Interface.t('loc, 'loc) =>
Ast.Type.Interface.t('loc, 'loc)
method generic_identifier_type: Ast.Type.Generic.Identifier.t('loc, 'loc) =>
Ast.Type.Generic.Identifier.t('loc, 'loc)
method generic_qualified_identifier_type: Ast.Type.Generic.Identifier.qualified
('loc,
'loc) =>
Ast.Type.Generic.Identifier.qualified('loc, 'loc)
method variance: Ast.Variance.t('loc) => Ast.Variance.t('loc)
method variance_opt: option(Ast.Variance.t('loc)) =>
option(Js_parser__Flow_ast.Variance.t('loc))
method type_args: Ast.Type.TypeArgs.t('loc, 'loc) =>
Ast.Type.TypeArgs.t('loc, 'loc)
method type_params: Ast.Type.TypeParams.t('loc, 'loc) =>
Ast.Type.TypeParams.t('loc, 'loc)
method type_param: Ast.Type.TypeParam.t('loc, 'loc) =>
Js_parser__Flow_ast.Type.TypeParam.t('loc, 'loc)
method generic_type: 'loc =>
Ast.Type.Generic.t('loc, 'loc) =>
Ast.Type.Generic.t('loc, 'loc)
method indexed_access_type: 'loc =>
Ast.Type.IndexedAccess.t('loc, 'loc) =>
Ast.Type.IndexedAccess.t('loc, 'loc)
method optional_indexed_access_type: 'loc =>
Ast.Type.OptionalIndexedAccess.t('loc, 'loc) =>
Ast.Type.OptionalIndexedAccess.t('loc, 'loc)
method string_literal: 'loc =>
Ast.StringLiteral.t('loc) =>
Ast.StringLiteral.t('loc)
method number_literal: 'loc =>
Ast.NumberLiteral.t('loc) =>
Ast.NumberLiteral.t('loc)
method bigint_literal: 'loc =>
Ast.BigIntLiteral.t('loc) =>
Ast.BigIntLiteral.t('loc)
method boolean_literal: 'loc =>
Ast.BooleanLiteral.t('loc) =>
Ast.BooleanLiteral.t('loc)
method null_literal: 'loc =>
option(Ast.Syntax.t('loc, unit)) =>
option(Ast.Syntax.t('loc, unit))
method regexp_literal: 'loc =>
Ast.RegExpLiteral.t('loc) =>
Ast.RegExpLiteral.t('loc)
method module_ref_literal: 'loc =>
Ast.ModuleRefLiteral.t('loc, 'loc) =>
Ast.ModuleRefLiteral.t('loc, 'loc)
method nullable_type: Ast.Type.Nullable.t('loc, 'loc) =>
Ast.Type.Nullable.t('loc, 'loc)
method conditional_type: Ast.Type.Conditional.t('loc, 'loc) =>
Ast.Type.Conditional.t('loc, 'loc)
method infer_type: Ast.Type.Infer.t('loc, 'loc) => Ast.Type.Infer.t('loc, 'loc)
method typeof_type: Ast.Type.Typeof.t('loc, 'loc) =>
Ast.Type.Typeof.t('loc, 'loc)
method typeof_expression: Ast.Type.Typeof.Target.t('loc, 'loc) =>
Ast.Type.Typeof.Target.t('loc, 'loc)
method typeof_member_identifier: Ast.Identifier.t('loc, 'loc) =>
Ast.Identifier.t('loc, 'loc)
method typeof_qualified_identifier: Ast.Type.Typeof.Target.qualified('loc,
'loc) =>
Ast.Type.Typeof.Target.qualified('loc, 'loc)
method keyof_type: Ast.Type.Keyof.t('loc, 'loc) => Ast.Type.Keyof.t('loc, 'loc)
method render_type: Ast.Type.Renders.t('loc, 'loc) =>
Ast.Type.Renders.t('loc, 'loc)
method readonly_type: Ast.Type.ReadOnly.t('loc, 'loc) =>
Ast.Type.ReadOnly.t('loc, 'loc)
method tuple_type: Ast.Type.Tuple.t('loc, 'loc) => Ast.Type.Tuple.t('loc, 'loc)
method tuple_element: Ast.Type.Tuple.element('loc, 'loc) =>
Ast.Type.Tuple.element('loc, 'loc)
method tuple_labeled_element: Ast.Type.Tuple.LabeledElement.t('loc, 'loc) =>
Ast.Type.Tuple.LabeledElement.t('loc, 'loc)
method tuple_spread_element: Ast.Type.Tuple.SpreadElement.t('loc, 'loc) =>
Ast.Type.Tuple.SpreadElement.t('loc, 'loc)
method array_type: Ast.Type.Array.t('loc, 'loc) => Ast.Type.Array.t('loc, 'loc)
method union_type: 'loc =>
Ast.Type.Union.t('loc, 'loc) =>
Ast.Type.Union.t('loc, 'loc)
method intersection_type: 'loc =>
Ast.Type.Intersection.t('loc, 'loc) =>
Ast.Type.Intersection.t('loc, 'loc)
method type_: Ast.Type.t('loc, 'loc) => Js_parser__Flow_ast.Type.t('loc, 'loc)
method type_annotation: Ast.Type.annotation('loc, 'loc) =>
Js_parser__Flow_ast.Type.annotation('loc, 'loc)
method type_annotation_hint: Ast.Type.annotation_or_hint('loc, 'loc) =>
Ast.Type.annotation_or_hint('loc, 'loc)
method component_renders_annotation: Ast.Type.component_renders_annotation
('loc,
'loc) =>
Ast.Type.component_renders_annotation('loc, 'loc)
method function_declaration: 'loc =>
Ast.Function.t('loc, 'loc) =>
Ast.Function.t('loc, 'loc)
method function_expression: 'loc =>
Ast.Function.t('loc, 'loc) =>
Ast.Function.t('loc, 'loc)
method function_expression_or_method: 'loc =>
Ast.Function.t('loc, 'loc) =>
Ast.Function.t('loc, 'loc)
previously, we conflated function_expression
and class_method
. callers should be updated to override those individually.
method function_: 'loc =>
Ast.Function.t('loc, 'loc) =>
Ast.Function.t('loc, 'loc)
method function_params: Ast.Function.Params.t('loc, 'loc) =>
Ast.Function.Params.t('loc, 'loc)
method function_this_param: Ast.Function.ThisParam.t('loc, 'loc) =>
Ast.Function.ThisParam.t('loc, 'loc)
method function_param: Ast.Function.Param.t('loc, 'loc) =>
Ast.Function.Param.t('loc, 'loc)
method function_return_annotation: Ast.Function.ReturnAnnot.t('loc, 'loc) =>
Ast.Function.ReturnAnnot.t('loc, 'loc)
method function_body_any: Ast.Function.body('loc, 'loc) =>
Ast.Function.body('loc, 'loc)
method function_body: ('loc, Ast.Statement.Block.t('loc, 'loc)) =>
('loc, Ast.Statement.Block.t('loc, 'loc))
method body_expression: Ast.Expression.t('loc, 'loc) =>
Ast.Expression.t('loc, 'loc)
method function_identifier: Ast.Identifier.t('loc, 'loc) =>
Js_parser__Flow_ast.Identifier.t('loc, 'loc)
method identifier: Ast.Identifier.t('loc, 'loc) => Ast.Identifier.t('loc, 'loc)
method type_identifier: Ast.Identifier.t('loc, 'loc) =>
Ast.Identifier.t('loc, 'loc)
method type_identifier_reference: Ast.Identifier.t('loc, 'loc) =>
Js_parser__Flow_ast.Identifier.t('loc, 'loc)
method binding_type_identifier: Ast.Identifier.t('loc, 'loc) =>
Js_parser__Flow_ast.Identifier.t('loc, 'loc)
method interface: 'loc =>
Ast.Statement.Interface.t('loc, 'loc) =>
Ast.Statement.Interface.t('loc, 'loc)
method interface_declaration: 'loc =>
Ast.Statement.Interface.t('loc, 'loc) =>
Ast.Statement.Interface.t('loc, 'loc)
method private_name: Ast.PrivateName.t('loc) =>
Js_parser__Flow_ast.PrivateName.t('loc)
method computed_key: Ast.ComputedKey.t('loc, 'loc) =>
Ast.ComputedKey.t('loc, 'loc)
method import: 'loc =>
Ast.Expression.Import.t('loc, 'loc) =>
Ast.Expression.Import.t('loc, 'loc)
method if_consequent_statement: has_else:bool =>
Ast.Statement.t('loc, 'loc) =>
Ast.Statement.t('loc, 'loc)
method if_alternate_statement: 'loc =>
Ast.Statement.If.Alternate.t'('loc, 'loc) =>
Ast.Statement.If.Alternate.t'('loc, 'loc)
method if_statement: 'loc =>
Ast.Statement.If.t('loc, 'loc) =>
Ast.Statement.If.t('loc, 'loc)
method import_declaration: 'loc =>
Ast.Statement.ImportDeclaration.t('loc, 'loc) =>
Ast.Statement.ImportDeclaration.t('loc, 'loc)
method import_source: 'loc =>
Ast.StringLiteral.t('loc) =>
Ast.StringLiteral.t('loc)
method import_specifier: import_kind:
Ast.Statement.ImportDeclaration.import_kind =>
Ast.Statement.ImportDeclaration.specifier('loc, 'loc) =>
Ast.Statement.ImportDeclaration.specifier('loc, 'loc)
method remote_identifier: Ast.Identifier.t('loc, 'loc) =>
Ast.Identifier.t('loc, 'loc)
method import_named_specifier: import_kind:
Ast.Statement.ImportDeclaration.import_kind =>
Ast.Statement.ImportDeclaration.named_specifier('loc, 'loc) =>
Ast.Statement.ImportDeclaration.named_specifier('loc, 'loc)
method import_default_specifier: import_kind:
Ast.Statement.ImportDeclaration.import_kind =>
Ast.Identifier.t('loc, 'loc) =>
Js_parser__Flow_ast.Identifier.t('loc, 'loc)
method import_namespace_specifier: import_kind:
Ast.Statement.ImportDeclaration.import_kind =>
'loc =>
Ast.Identifier.t('loc, 'loc) =>
Ast.Identifier.t('loc, 'loc)
method jsx_element: 'loc =>
Ast.JSX.element('loc, 'loc) =>
Ast.JSX.element('loc, 'loc)
method jsx_fragment: 'loc =>
Ast.JSX.fragment('loc, 'loc) =>
Ast.JSX.fragment('loc, 'loc)
method jsx_opening_element: Ast.JSX.Opening.t('loc, 'loc) =>
Ast.JSX.Opening.t('loc, 'loc)
method jsx_closing_element: Ast.JSX.Closing.t('loc, 'loc) =>
Ast.JSX.Closing.t('loc, 'loc)
method jsx_opening_attribute: Ast.JSX.Opening.attribute('loc, 'loc) =>
Ast.JSX.Opening.attribute('loc, 'loc)
method jsx_spread_attribute: 'loc =>
Ast.JSX.SpreadAttribute.t'('loc, 'loc) =>
Ast.JSX.SpreadAttribute.t'('loc, 'loc)
method jsx_attribute: Ast.JSX.Attribute.t('loc, 'loc) =>
Ast.JSX.Attribute.t('loc, 'loc)
method jsx_attribute_name: Ast.JSX.Attribute.name('loc, 'loc) =>
Ast.JSX.Attribute.name('loc, 'loc)
method jsx_attribute_value: Ast.JSX.Attribute.value('loc, 'loc) =>
Ast.JSX.Attribute.value('loc, 'loc)
method jsx_attribute_value_expression: 'loc =>
Ast.JSX.ExpressionContainer.t('loc, 'loc) =>
Ast.JSX.ExpressionContainer.t('loc, 'loc)
method jsx_attribute_value_literal: 'loc =>
Ast.StringLiteral.t('loc) =>
Ast.StringLiteral.t('loc)
method jsx_children: ('loc, list(Ast.JSX.child('loc, 'loc))) =>
('loc, list(Ast.JSX.child('loc, 'loc)))
method jsx_child: Ast.JSX.child('loc, 'loc) => Ast.JSX.child('loc, 'loc)
method jsx_expression: 'loc =>
Ast.JSX.ExpressionContainer.t('loc, 'loc) =>
Ast.JSX.ExpressionContainer.t('loc, 'loc)
method jsx_spread_child: Ast.JSX.SpreadChild.t('loc, 'loc) =>
Ast.JSX.SpreadChild.t('loc, 'loc)
method jsx_element_name: Ast.JSX.name('loc, 'loc) => Ast.JSX.name('loc, 'loc)
method jsx_element_name_identifier: Ast.JSX.Identifier.t('loc, 'loc) =>
Ast.JSX.Identifier.t('loc, 'loc)
method jsx_element_name_namespaced: Ast.JSX.NamespacedName.t('loc, 'loc) =>
Ast.JSX.NamespacedName.t('loc, 'loc)
method jsx_element_name_member_expression: Ast.JSX.MemberExpression.t
('loc,
'loc) =>
Ast.JSX.MemberExpression.t('loc, 'loc)
method jsx_namespaced_name: Ast.JSX.NamespacedName.t('loc, 'loc) =>
Js_parser__Flow_ast.JSX.NamespacedName.t('loc, 'loc)
method jsx_member_expression: Ast.JSX.MemberExpression.t('loc, 'loc) =>
Ast.JSX.MemberExpression.t('loc, 'loc)
method jsx_member_expression_object: Ast.JSX.MemberExpression._object
('loc,
'loc) =>
Ast.JSX.MemberExpression._object('loc, 'loc)
method jsx_identifier: Ast.JSX.Identifier.t('loc, 'loc) =>
Js_parser__Flow_ast.JSX.Identifier.t('loc, 'loc)
method labeled_statement: 'loc =>
Ast.Statement.Labeled.t('loc, 'loc) =>
Ast.Statement.Labeled.t('loc, 'loc)
method logical: 'loc =>
Ast.Expression.Logical.t('loc, 'loc) =>
Ast.Expression.Logical.t('loc, 'loc)
method member: 'loc =>
Ast.Expression.Member.t('loc, 'loc) =>
Ast.Expression.Member.t('loc, 'loc)
method optional_member: 'loc =>
Ast.Expression.OptionalMember.t('loc, 'loc) =>
Ast.Expression.OptionalMember.t('loc, 'loc)
method member_property: Ast.Expression.Member.property('loc, 'loc) =>
Ast.Expression.Member.property('loc, 'loc)
method member_property_identifier: Ast.Identifier.t('loc, 'loc) =>
Ast.Identifier.t('loc, 'loc)
method member_private_name: Ast.PrivateName.t('loc) => Ast.PrivateName.t('loc)
method member_property_expression: Ast.Expression.t('loc, 'loc) =>
Ast.Expression.t('loc, 'loc)
method meta_property: 'loc =>
Ast.Expression.MetaProperty.t('loc) =>
Ast.Expression.MetaProperty.t('loc)
method new_: 'loc =>
Ast.Expression.New.t('loc, 'loc) =>
Ast.Expression.New.t('loc, 'loc)
method object_: 'loc =>
Ast.Expression.Object.t('loc, 'loc) =>
Ast.Expression.Object.t('loc, 'loc)
method object_property: Ast.Expression.Object.Property.t('loc, 'loc) =>
Ast.Expression.Object.Property.t('loc, 'loc)
method object_key: Ast.Expression.Object.Property.key('loc, 'loc) =>
Ast.Expression.Object.Property.key('loc, 'loc)
method object_key_string_literal: ('loc, Ast.StringLiteral.t('loc)) =>
('loc, Ast.StringLiteral.t('loc))
method object_key_number_literal: ('loc, Ast.NumberLiteral.t('loc)) =>
('loc, Ast.NumberLiteral.t('loc))
method object_key_bigint_literal: ('loc, Ast.BigIntLiteral.t('loc)) =>
('loc, Ast.BigIntLiteral.t('loc))
method object_key_identifier: Ast.Identifier.t('loc, 'loc) =>
Ast.Identifier.t('loc, 'loc)
method object_key_computed: Ast.ComputedKey.t('loc, 'loc) =>
Ast.ComputedKey.t('loc, 'loc)
method opaque_type: 'loc =>
Ast.Statement.OpaqueType.t('loc, 'loc) =>
Ast.Statement.OpaqueType.t('loc, 'loc)
method function_param_pattern: Ast.Pattern.t('loc, 'loc) =>
Js_parser__Flow_ast.Pattern.t('loc, 'loc)
method variable_declarator_pattern: kind:Ast.Variable.kind =>
Ast.Pattern.t('loc, 'loc) =>
Js_parser__Flow_ast.Pattern.t('loc, 'loc)
method catch_clause_pattern: Ast.Pattern.t('loc, 'loc) =>
Ast.Pattern.t('loc, 'loc)
method for_in_assignment_pattern: Ast.Pattern.t('loc, 'loc) =>
Ast.Pattern.t('loc, 'loc)
method for_of_assignment_pattern: Ast.Pattern.t('loc, 'loc) =>
Ast.Pattern.t('loc, 'loc)
method binding_pattern: ?kind:Ast.Variable.kind =>
Ast.Pattern.t('loc, 'loc) =>
Js_parser__Flow_ast.Pattern.t('loc, 'loc)
method assignment_pattern: Ast.Pattern.t('loc, 'loc) =>
Js_parser__Flow_ast.Pattern.t('loc, 'loc)
method pattern: ?kind:Ast.Variable.kind =>
Ast.Pattern.t('loc, 'loc) =>
Js_parser__Flow_ast.Pattern.t('loc, 'loc)
method pattern_identifier: ?kind:Ast.Variable.kind =>
Ast.Identifier.t('loc, 'loc) =>
Ast.Identifier.t('loc, 'loc)
method pattern_string_literal: ?kind:Ast.Variable.kind =>
'loc =>
Ast.StringLiteral.t('loc) =>
Ast.StringLiteral.t('loc)
method pattern_number_literal: ?kind:Ast.Variable.kind =>
'loc =>
Ast.NumberLiteral.t('loc) =>
Ast.NumberLiteral.t('loc)
method pattern_bigint_literal: ?kind:Ast.Variable.kind =>
'loc =>
Ast.BigIntLiteral.t('loc) =>
Ast.BigIntLiteral.t('loc)
method pattern_object_p: ?kind:Ast.Variable.kind =>
Ast.Pattern.Object.property('loc, 'loc) =>
Ast.Pattern.Object.property('loc, 'loc)
method pattern_object_property: ?kind:Ast.Variable.kind =>
Ast.Pattern.Object.Property.t('loc, 'loc) =>
Ast.Pattern.Object.Property.t('loc, 'loc)
method pattern_object_property_key: ?kind:Ast.Variable.kind =>
Ast.Pattern.Object.Property.key('loc, 'loc) =>
Ast.Pattern.Object.Property.key('loc, 'loc)
method pattern_object_property_string_literal_key: ?kind:Ast.Variable.kind =>
('loc, Ast.StringLiteral.t('loc)) =>
('loc, Ast.StringLiteral.t('loc))
method pattern_object_property_number_literal_key: ?kind:Ast.Variable.kind =>
('loc, Ast.NumberLiteral.t('loc)) =>
('loc, Ast.NumberLiteral.t('loc))
method pattern_object_property_bigint_literal_key: ?kind:Ast.Variable.kind =>
('loc, Ast.BigIntLiteral.t('loc)) =>
('loc, Ast.BigIntLiteral.t('loc))
method pattern_object_property_identifier_key: ?kind:Ast.Variable.kind =>
Ast.Identifier.t('loc, 'loc) =>
Ast.Identifier.t('loc, 'loc)
method pattern_object_property_computed_key: ?kind:Ast.Variable.kind =>
Ast.ComputedKey.t('loc, 'loc) =>
Ast.ComputedKey.t('loc, 'loc)
method pattern_object_rest_property: ?kind:Ast.Variable.kind =>
Ast.Pattern.RestElement.t('loc, 'loc) =>
Ast.Pattern.RestElement.t('loc, 'loc)
method pattern_object_property_pattern: ?kind:Ast.Variable.kind =>
Ast.Pattern.t('loc, 'loc) =>
Js_parser__Flow_ast.Pattern.t('loc, 'loc)
method pattern_object_rest_property_pattern: ?kind:Ast.Variable.kind =>
Ast.Pattern.t('loc, 'loc) =>
Js_parser__Flow_ast.Pattern.t('loc, 'loc)
method pattern_array_e: ?kind:Ast.Variable.kind =>
Ast.Pattern.Array.element('loc, 'loc) =>
Ast.Pattern.Array.element('loc, 'loc)
method pattern_array_element: ?kind:Ast.Variable.kind =>
Ast.Pattern.Array.Element.t('loc, 'loc) =>
Ast.Pattern.Array.Element.t('loc, 'loc)
method pattern_array_element_pattern: ?kind:Ast.Variable.kind =>
Ast.Pattern.t('loc, 'loc) =>
Js_parser__Flow_ast.Pattern.t('loc, 'loc)
method pattern_array_rest_element: ?kind:Ast.Variable.kind =>
Ast.Pattern.RestElement.t('loc, 'loc) =>
Ast.Pattern.RestElement.t('loc, 'loc)
method pattern_array_rest_element_pattern: ?kind:Ast.Variable.kind =>
Ast.Pattern.t('loc, 'loc) =>
Js_parser__Flow_ast.Pattern.t('loc, 'loc)
method pattern_expression: Ast.Expression.t('loc, 'loc) =>
Ast.Expression.t('loc, 'loc)
method predicate: Ast.Type.Predicate.t('loc, 'loc) =>
Ast.Type.Predicate.t('loc, 'loc)
method predicate_expression: Ast.Expression.t('loc, 'loc) =>
Js_parser__Flow_ast.Expression.t('loc, 'loc)
method type_guard_annotation: Ast.Type.type_guard_annotation('loc, 'loc) =>
Ast.Type.type_guard_annotation('loc, 'loc)
method type_guard: Ast.Type.TypeGuard.t('loc, 'loc) =>
Ast.Type.TypeGuard.t('loc, 'loc)
method function_rest_param: Ast.Function.RestParam.t('loc, 'loc) =>
Ast.Function.RestParam.t('loc, 'loc)
method return: 'loc =>
Ast.Statement.Return.t('loc, 'loc) =>
Ast.Statement.Return.t('loc, 'loc)
method sequence: 'loc =>
Ast.Expression.Sequence.t('loc, 'loc) =>
Ast.Expression.Sequence.t('loc, 'loc)
method toplevel_statement_list: list(Ast.Statement.t('loc, 'loc)) =>
list(Js_parser__Flow_ast.Statement.t('loc, 'loc))
method statement_list: list(Ast.Statement.t('loc, 'loc)) =>
list(Js_parser__Flow_ast.Statement.t('loc, 'loc))
method statement_fork_point: Ast.Statement.t('loc, 'loc) =>
list(Ast.Statement.t('loc, 'loc))
method spread_element: Ast.Expression.SpreadElement.t('loc, 'loc) =>
Ast.Expression.SpreadElement.t('loc, 'loc)
method spread_property: Ast.Expression.Object.SpreadProperty.t('loc, 'loc) =>
Ast.Expression.Object.SpreadProperty.t('loc, 'loc)
method super_expression: 'loc =>
Ast.Expression.Super.t('loc) =>
Ast.Expression.Super.t('loc)
method switch: 'loc =>
Ast.Statement.Switch.t('loc, 'loc) =>
Ast.Statement.Switch.t('loc, 'loc)
method switch_case: Ast.Statement.Switch.Case.t('loc, 'loc) =>
Ast.Statement.Switch.Case.t('loc, 'loc)
method tagged_template: 'loc =>
Ast.Expression.TaggedTemplate.t('loc, 'loc) =>
Ast.Expression.TaggedTemplate.t('loc, 'loc)
method template_literal: 'loc =>
Ast.Expression.TemplateLiteral.t('loc, 'loc) =>
Ast.Expression.TemplateLiteral.t('loc, 'loc)
method template_literal_element: Ast.Expression.TemplateLiteral.Element.t('loc) =>
Ast.Expression.TemplateLiteral.Element.t('loc)
method this_expression: 'loc =>
Ast.Expression.This.t('loc) =>
Ast.Expression.This.t('loc)
method throw: 'loc =>
Ast.Statement.Throw.t('loc, 'loc) =>
Ast.Statement.Throw.t('loc, 'loc)
method try_catch: 'loc =>
Ast.Statement.Try.t('loc, 'loc) =>
Ast.Statement.Try.t('loc, 'loc)
method type_cast: 'loc =>
Ast.Expression.TypeCast.t('loc, 'loc) =>
Ast.Expression.TypeCast.t('loc, 'loc)
method ts_type_cast: 'loc =>
Ast.Expression.TSTypeCast.t('loc, 'loc) =>
Ast.Expression.TSTypeCast.t('loc, 'loc)
method unary_expression: 'loc =>
Js_parser.Flow_ast.Expression.Unary.t('loc, 'loc) =>
Js_parser.Flow_ast.Expression.Unary.t('loc, 'loc)
method update_expression: 'loc =>
Ast.Expression.Update.t('loc, 'loc) =>
Ast.Expression.Update.t('loc, 'loc)
method variable_declaration: 'loc =>
Ast.Statement.VariableDeclaration.t('loc, 'loc) =>
Ast.Statement.VariableDeclaration.t('loc, 'loc)
method variable_declarator: kind:Ast.Variable.kind =>
Ast.Statement.VariableDeclaration.Declarator.t('loc, 'loc) =>
Ast.Statement.VariableDeclaration.Declarator.t('loc, 'loc)
method while_: 'loc =>
Ast.Statement.While.t('loc, 'loc) =>
Ast.Statement.While.t('loc, 'loc)
method with_: 'loc =>
Ast.Statement.With.t('loc, 'loc) =>
Ast.Statement.With.t('loc, 'loc)
method type_alias: 'loc =>
Ast.Statement.TypeAlias.t('loc, 'loc) =>
Ast.Statement.TypeAlias.t('loc, 'loc)
method yield: 'loc =>
Ast.Expression.Yield.t('loc, 'loc) =>
Ast.Expression.Yield.t('loc, 'loc)