package flow_parser

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

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

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

Innovation. Community. Security.