package melange

  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 Js_parser__Flow_ast.Comment.t -> 'loc2 Js_parser__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_expression : 'loc13 -> ('loc14, 'loc15) Ast.Expression.AsExpression.t -> ('loc14, 'loc15) Ast.Expression.AsExpression.t
method assignment : 'loc16 -> ('loc17, 'loc18) Ast.Expression.Assignment.t -> ('loc17, 'loc18) Ast.Expression.Assignment.t
method binary : 'loc19 -> ('loc20, 'loc21) Ast.Expression.Binary.t -> ('loc20, 'loc21) Ast.Expression.Binary.t
method block : 'loc22 -> ('loc23, 'loc24) Ast.Statement.Block.t -> ('loc23, 'loc24) Ast.Statement.Block.t
method break : 'loc25 -> 'loc26 Ast.Statement.Break.t -> 'loc26 Ast.Statement.Break.t
method call : 'loc27 -> ('loc28, 'loc29) Ast.Expression.Call.t -> ('loc28, 'loc29) Ast.Expression.Call.t
method arg_list : ('loc30, 'loc31) Js_parser__Flow_ast.Expression.ArgList.t -> ('loc30, 'loc31) Js_parser__Flow_ast.Expression.ArgList.t
method optional_call : 'loc32 -> ('loc33, 'loc34) Ast.Expression.OptionalCall.t -> ('loc33, 'loc34) Ast.Expression.OptionalCall.t
method call_type_args : ('loc35, 'loc36) Js_parser__Flow_ast.Expression.CallTypeArgs.t -> ('loc35, 'loc36) Js_parser__Flow_ast.Expression.CallTypeArgs.t
method call_type_arg : ('loc37, 'loc38) Ast.Expression.CallTypeArg.t -> ('loc37, 'loc38) Ast.Expression.CallTypeArg.t
method catch_body : ('loc39 * ('loc39, 'loc39) Ast.Statement.Block.t) -> 'loc40 * ('loc23, 'loc24) Ast.Statement.Block.t
method catch_clause : 'loc41 -> ('loc42, 'loc42) Ast.Statement.Try.CatchClause.t' -> ('loc42, 'loc42) Ast.Statement.Try.CatchClause.t'
method class_declaration : 'loc43 -> ('loc44, 'loc44) Ast.Class.t -> ('loc44, 'loc44) Ast.Class.t
method class_expression : 'loc45 -> ('loc46, 'loc46) Ast.Class.t -> ('loc46, 'loc46) Ast.Class.t
method class_ : 'loc47 -> ('loc44, 'loc44) Ast.Class.t -> ('loc44, 'loc44) Ast.Class.t
method class_extends : 'loc48 -> ('loc49, 'loc50) Ast.Class.Extends.t' -> ('loc49, 'loc50) Ast.Class.Extends.t'
method class_identifier : ('loc51, 'loc52) Js_parser__Flow_ast.Identifier.t -> ('loc51, 'loc52) Js_parser__Flow_ast.Identifier.t
method class_body : ('loc53, 'loc54) Js_parser__Flow_ast.Class.Body.t -> ('loc53, 'loc54) Js_parser__Flow_ast.Class.Body.t
method class_decorator : ('loc55, 'loc56) Ast.Class.Decorator.t -> ('loc55, 'loc56) Ast.Class.Decorator.t
method class_element : ('loc57, 'loc58) Ast.Class.Body.element -> ('loc57, 'loc58) Ast.Class.Body.element
method class_implements : ('loc59, 'loc60) Ast.Class.Implements.t -> ('loc59, 'loc60) Ast.Class.Implements.t
method class_implements_interface : ('loc61, 'loc62) Ast.Class.Implements.Interface.t -> ('loc61, 'loc62) Ast.Class.Implements.Interface.t
method class_method : 'loc63 -> ('loc64, 'loc64) Ast.Class.Method.t' -> ('loc64, 'loc64) Ast.Class.Method.t'
method class_property : 'loc65 -> ('loc66, 'loc66) Ast.Class.Property.t' -> ('loc66, 'loc66) Ast.Class.Property.t'
method class_property_value : ('loc67, 'loc68) Ast.Class.Property.value -> ('loc67, 'loc68) Ast.Class.Property.value
method class_private_field : 'loc69 -> ('loc70, 'loc70) Ast.Class.PrivateField.t' -> ('loc70, 'loc70) Ast.Class.PrivateField.t'
method default_opt : ('loc71, 'loc71) Ast.Expression.t option -> ('loc72, 'loc73) Js_parser__Flow_ast.Expression.t option
method component_declaration : 'loc74 -> ('loc75, 'loc76) Ast.Statement.ComponentDeclaration.t -> ('loc75, 'loc76) Ast.Statement.ComponentDeclaration.t
method component_identifier : ('loc77, 'loc78) Js_parser__Flow_ast.Identifier.t -> ('loc77, 'loc78) Js_parser__Flow_ast.Identifier.t
method component_params : ('loc79, 'loc80) Ast.Statement.ComponentDeclaration.Params.t -> ('loc79, 'loc80) Ast.Statement.ComponentDeclaration.Params.t
method component_param : ('loc81, 'loc82) Js_parser__Flow_ast.Statement.ComponentDeclaration.Param.t -> ('loc81, 'loc82) Js_parser__Flow_ast.Statement.ComponentDeclaration.Param.t
method component_param_name : ('loc83, 'loc84) Ast.Statement.ComponentDeclaration.Param.param_name -> ('loc83, 'loc84) Ast.Statement.ComponentDeclaration.Param.param_name
method component_param_pattern : ('loc85, 'loc86) Js_parser__Flow_ast.Pattern.t -> ('loc85, 'loc86) Js_parser__Flow_ast.Pattern.t
method component_rest_param : ('loc87, 'loc88) Js_parser__Flow_ast.Statement.ComponentDeclaration.RestParam.t -> ('loc87, 'loc88) Js_parser__Flow_ast.Statement.ComponentDeclaration.RestParam.t
method component_body : ('loc89 * ('loc90, 'loc90) Ast.Statement.Block.t) -> 'loc91 * ('loc90, 'loc90) Ast.Statement.Block.t
method conditional : 'loc92 -> ('loc93, 'loc94) Ast.Expression.Conditional.t -> ('loc93, 'loc94) Ast.Expression.Conditional.t
method continue : 'loc95 -> 'loc96 Ast.Statement.Continue.t -> 'loc96 Ast.Statement.Continue.t
method debugger : 'loc97 -> 'loc98 Ast.Statement.Debugger.t -> 'loc98 Ast.Statement.Debugger.t
method declare_class : 'loc99 -> ('loc100, 'loc101) Ast.Statement.DeclareClass.t -> ('loc100, 'loc101) Ast.Statement.DeclareClass.t
method declare_component : 'loc102 -> ('loc103, 'loc104) Ast.Statement.DeclareComponent.t -> ('loc103, 'loc104) Ast.Statement.DeclareComponent.t
method component_type : 'loc105 -> ('loc106, 'loc106) Ast.Type.Component.t -> ('loc106, 'loc106) Ast.Type.Component.t
method component_type_params : ('loc107, 'loc108) Js_parser__Flow_ast.Type.Component.Params.t -> ('loc107, 'loc108) Js_parser__Flow_ast.Type.Component.Params.t
method component_type_param : ('loc109, 'loc110) Js_parser__Flow_ast.Type.Component.Param.t -> ('loc109, 'loc110) Js_parser__Flow_ast.Type.Component.Param.t
method component_type_rest_param : ('loc111, 'loc112) Js_parser__Flow_ast.Type.Component.RestParam.t -> ('loc111, 'loc112) Js_parser__Flow_ast.Type.Component.RestParam.t
method declare_enum : 'loc113 -> ('loc114, 'loc115) Ast.Statement.EnumDeclaration.t -> ('loc114, 'loc115) Ast.Statement.EnumDeclaration.t
method declare_export_declaration : 'loc116 -> ('loc117, 'loc118) Ast.Statement.DeclareExportDeclaration.t -> ('loc117, 'loc118) Ast.Statement.DeclareExportDeclaration.t
method declare_export_declaration_decl : ('loc119, 'loc120) Ast.Statement.DeclareExportDeclaration.declaration -> ('loc119, 'loc120) Ast.Statement.DeclareExportDeclaration.declaration
method declare_function : 'loc121 -> ('loc122, 'loc123) Ast.Statement.DeclareFunction.t -> ('loc122, 'loc123) Ast.Statement.DeclareFunction.t
method declare_interface : 'loc124 -> ('loc125, 'loc126) Ast.Statement.Interface.t -> ('loc125, 'loc126) Ast.Statement.Interface.t
method declare_module : 'loc127 -> ('loc128, 'loc129) Ast.Statement.DeclareModule.t -> ('loc128, 'loc129) Ast.Statement.DeclareModule.t
method declare_module_exports : 'loc130 -> ('loc131, 'loc132) Ast.Statement.DeclareModuleExports.t -> ('loc131, 'loc132) Ast.Statement.DeclareModuleExports.t
method declare_type_alias : 'loc133 -> ('loc134, 'loc135) Ast.Statement.TypeAlias.t -> ('loc134, 'loc135) Ast.Statement.TypeAlias.t
method declare_variable : 'loc136 -> ('loc137, 'loc138) Ast.Statement.DeclareVariable.t -> ('loc137, 'loc138) Ast.Statement.DeclareVariable.t
method do_while : 'loc139 -> ('loc140, 'loc141) Ast.Statement.DoWhile.t -> ('loc140, 'loc141) Ast.Statement.DoWhile.t
method empty : 'loc142 -> 'loc143 Ast.Statement.Empty.t -> 'loc143 Ast.Statement.Empty.t
method enum_declaration : 'loc144 -> ('loc145, 'loc146) Ast.Statement.EnumDeclaration.t -> ('loc145, 'loc146) Ast.Statement.EnumDeclaration.t
method enum_defaulted_member : 'loc153 Js_parser__Flow_ast.Statement.EnumDeclaration.DefaultedMember.t -> 'loc153 Js_parser__Flow_ast.Statement.EnumDeclaration.DefaultedMember.t
method enum_boolean_member : ('loc154 Ast.BooleanLiteral.t, 'loc155) Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t -> ('loc154 Ast.BooleanLiteral.t, 'loc155) Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t
method enum_number_member : ('loc156 Ast.NumberLiteral.t, 'loc157) Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t -> ('loc156 Ast.NumberLiteral.t, 'loc157) Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t
method enum_string_member : ('loc158 Ast.StringLiteral.t, 'loc159) Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t -> ('loc158 Ast.StringLiteral.t, 'loc159) Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t
method enum_bigint_member : ('loc160 Ast.BigIntLiteral.t, 'loc161) Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t -> ('loc160 Ast.BigIntLiteral.t, 'loc161) Js_parser__Flow_ast.Statement.EnumDeclaration.InitializedMember.t
method enum_member_identifier : ('loc162, 'loc162) Js_parser__Flow_ast.Identifier.t -> ('loc162, 'loc162) Js_parser__Flow_ast.Identifier.t
method export_default_declaration : 'loc163 -> ('loc164, 'loc165) Ast.Statement.ExportDefaultDeclaration.t -> ('loc164, 'loc165) Ast.Statement.ExportDefaultDeclaration.t
method export_default_declaration_decl : ('loc166, 'loc167) Ast.Statement.ExportDefaultDeclaration.declaration -> ('loc166, 'loc167) Ast.Statement.ExportDefaultDeclaration.declaration
method export_named_declaration : 'loc168 -> ('loc169, 'loc170) Ast.Statement.ExportNamedDeclaration.t -> ('loc169, 'loc170) Ast.Statement.ExportNamedDeclaration.t
method export_named_declaration_specifier : ('loc171, 'loc171) Ast.Statement.ExportNamedDeclaration.ExportSpecifier.t -> ('loc171, 'loc171) Ast.Statement.ExportNamedDeclaration.ExportSpecifier.t
method export_named_specifier : ('loc173, 'loc174) Ast.Statement.ExportNamedDeclaration.specifier -> ('loc173, 'loc174) Ast.Statement.ExportNamedDeclaration.specifier
method export_source : 'loc175 -> 'loc176 Ast.StringLiteral.t -> 'loc176 Ast.StringLiteral.t
method expression_statement : 'loc177 -> ('loc178, 'loc179) Ast.Statement.Expression.t -> ('loc178, 'loc179) Ast.Statement.Expression.t
method expression_or_spread : ('loc180, 'loc181) Ast.Expression.expression_or_spread -> ('loc180, 'loc181) Ast.Expression.expression_or_spread
method for_in_statement : 'loc182 -> ('loc183, 'loc184) Ast.Statement.ForIn.t -> ('loc183, 'loc184) Ast.Statement.ForIn.t
method for_in_statement_lhs : ('loc185, 'loc186) Ast.Statement.ForIn.left -> ('loc185, 'loc186) Ast.Statement.ForIn.left
method for_in_left_declaration : ('loc187 * ('loc188, 'loc189) Ast.Statement.VariableDeclaration.t) -> 'loc187 * ('loc188, 'loc189) Ast.Statement.VariableDeclaration.t
method for_of_statement : 'loc190 -> ('loc191, 'loc192) Ast.Statement.ForOf.t -> ('loc191, 'loc192) Ast.Statement.ForOf.t
method for_of_statement_lhs : ('loc193, 'loc194) Ast.Statement.ForOf.left -> ('loc193, 'loc194) Ast.Statement.ForOf.left
method for_of_left_declaration : ('loc195 * ('loc188, 'loc189) Ast.Statement.VariableDeclaration.t) -> 'loc195 * ('loc188, 'loc189) Ast.Statement.VariableDeclaration.t
method for_statement : 'loc196 -> ('loc197, 'loc198) Ast.Statement.For.t -> ('loc197, 'loc198) Ast.Statement.For.t
method for_statement_init : ('loc199, 'loc200) Ast.Statement.For.init -> ('loc199, 'loc200) Ast.Statement.For.init
method for_init_declaration : ('loc201 * ('loc188, 'loc189) Ast.Statement.VariableDeclaration.t) -> 'loc201 * ('loc188, 'loc189) Ast.Statement.VariableDeclaration.t
method function_param_type : ('loc202, 'loc202) Ast.Type.Function.Param.t -> ('loc202, 'loc202) Ast.Type.Function.Param.t
method function_rest_param_type : ('loc203, 'loc203) Ast.Type.Function.RestParam.t -> ('loc203, 'loc203) Ast.Type.Function.RestParam.t
method function_this_param_type : ('loc204, 'loc204) Ast.Type.Function.ThisParam.t -> ('loc204, 'loc204) Ast.Type.Function.ThisParam.t
method function_type_return_annotation : ('loc205, 'loc205) Ast.Type.Function.return_annotation -> ('loc205, 'loc205) Ast.Type.Function.return_annotation
method function_type : 'loc206 -> ('loc207, 'loc207) Ast.Type.Function.t -> ('loc207, 'loc207) Ast.Type.Function.t
method label_identifier : ('loc208, 'loc208) Js_parser__Flow_ast.Identifier.t -> ('loc208, 'loc208) Js_parser__Flow_ast.Identifier.t
method object_property_value_type : ('loc209, 'loc209) Ast.Type.Object.Property.value -> ('loc209, 'loc209) Ast.Type.Object.Property.value
method object_type_property_getter : ('loc210 * ('loc207, 'loc207) Ast.Type.Function.t) -> 'loc210 * ('loc207, 'loc207) Ast.Type.Function.t
method object_type_property_setter : ('loc211 * ('loc207, 'loc207) Ast.Type.Function.t) -> 'loc211 * ('loc207, 'loc207) Ast.Type.Function.t
method object_property_type : ('loc212, 'loc212) Ast.Type.Object.Property.t -> ('loc212, 'loc212) Ast.Type.Object.Property.t
method object_spread_property_type : ('loc213, 'loc213) Ast.Type.Object.SpreadProperty.t -> ('loc213, 'loc213) Ast.Type.Object.SpreadProperty.t
method object_indexer_property_type : ('loc214, 'loc214) Ast.Type.Object.Indexer.t -> ('loc214, 'loc214) Ast.Type.Object.Indexer.t
method object_internal_slot_property_type : ('loc215, 'loc215) Ast.Type.Object.InternalSlot.t -> ('loc215, 'loc215) Ast.Type.Object.InternalSlot.t
method object_call_property_type : ('loc216, 'loc216) Ast.Type.Object.CallProperty.t -> ('loc216, 'loc216) Ast.Type.Object.CallProperty.t
method object_mapped_type_property : ('loc217, 'loc217) Ast.Type.Object.MappedType.t -> ('loc217, 'loc217) Ast.Type.Object.MappedType.t
method object_type : 'loc218 -> ('loc219, 'loc219) Ast.Type.Object.t -> ('loc219, 'loc219) Ast.Type.Object.t
method object_type_property : ('loc220, 'loc221) Ast.Type.Object.property -> ('loc220, 'loc221) Ast.Type.Object.property
method interface_type : 'loc222 -> ('loc223, 'loc223) Ast.Type.Interface.t -> ('loc223, 'loc223) Ast.Type.Interface.t
method generic_identifier_type : ('loc224, 'loc224) Ast.Type.Generic.Identifier.t -> ('loc224, 'loc224) Ast.Type.Generic.Identifier.t
method generic_qualified_identifier_type : ('loc225, 'loc226) Ast.Type.Generic.Identifier.qualified -> ('loc225, 'loc226) Ast.Type.Generic.Identifier.qualified
method member_type_identifier : ('loc227, 'loc228) Js_parser__Flow_ast.Identifier.t -> ('loc227, 'loc228) Js_parser__Flow_ast.Identifier.t
method variance : 'loc229 Ast.Variance.t -> 'loc229 Ast.Variance.t
method variance_opt : 'loc230 Js_parser__Flow_ast.Variance.t option -> 'loc231 Js_parser__Flow_ast.Variance.t option
method type_args : ('loc232, 'loc233) Js_parser__Flow_ast.Type.TypeArgs.t -> ('loc232, 'loc233) Js_parser__Flow_ast.Type.TypeArgs.t
method type_params : ('loc234, 'loc235) Js_parser__Flow_ast.Type.TypeParams.t -> ('loc234, 'loc235) Js_parser__Flow_ast.Type.TypeParams.t
method type_param : ('loc236, 'loc237) Js_parser__Flow_ast.Type.TypeParam.t -> ('loc236, 'loc237) Js_parser__Flow_ast.Type.TypeParam.t
method generic_type : 'loc238 -> ('loc239, 'loc239) Ast.Type.Generic.t -> ('loc239, 'loc239) Ast.Type.Generic.t
method indexed_access_type : 'loc240 -> ('loc241, 'loc241) Ast.Type.IndexedAccess.t -> ('loc241, 'loc241) Ast.Type.IndexedAccess.t
method optional_indexed_access_type : 'loc242 -> ('loc243, 'loc243) Ast.Type.OptionalIndexedAccess.t -> ('loc243, 'loc243) Ast.Type.OptionalIndexedAccess.t
method string_literal : 'loc244 -> 'loc245 Ast.StringLiteral.t -> 'loc245 Ast.StringLiteral.t
method number_literal : 'loc246 -> 'loc247 Ast.NumberLiteral.t -> 'loc247 Ast.NumberLiteral.t
method bigint_literal : 'loc248 -> 'loc249 Ast.BigIntLiteral.t -> 'loc249 Ast.BigIntLiteral.t
method boolean_literal : 'loc250 -> 'loc251 Ast.BooleanLiteral.t -> 'loc251 Ast.BooleanLiteral.t
method null_literal : 'loc252 -> ('loc3, unit) Ast.Syntax.t option -> ('loc3, unit) Ast.Syntax.t option
method regexp_literal : 'loc253 -> 'loc254 Ast.RegExpLiteral.t -> 'loc254 Ast.RegExpLiteral.t
method module_ref_literal : 'loc255 -> ('loc256, 'loc256) Ast.ModuleRefLiteral.t -> ('loc256, 'loc256) Ast.ModuleRefLiteral.t
method nullable_type : ('loc257, 'loc257) Ast.Type.Nullable.t -> ('loc257, 'loc257) Ast.Type.Nullable.t
method conditional_type : ('loc258, 'loc258) Ast.Type.Conditional.t -> ('loc258, 'loc258) Ast.Type.Conditional.t
method infer_type : ('loc259, 'loc259) Ast.Type.Infer.t -> ('loc259, 'loc259) Ast.Type.Infer.t
method typeof_type : ('loc260, 'loc260) Ast.Type.Typeof.t -> ('loc260, 'loc260) Ast.Type.Typeof.t
method typeof_expression : ('loc261, 'loc262) Ast.Type.Typeof.Target.t -> ('loc261, 'loc262) Ast.Type.Typeof.Target.t
method typeof_identifier : ('loc263, 'loc264) Js_parser__Flow_ast.Identifier.t -> ('loc263, 'loc264) Js_parser__Flow_ast.Identifier.t
method typeof_member_identifier : ('loc265, 'loc266) Js_parser__Flow_ast.Identifier.t -> ('loc265, 'loc266) Js_parser__Flow_ast.Identifier.t
method typeof_qualified_identifier : ('loc267, 'loc268) Ast.Type.Typeof.Target.qualified -> ('loc267, 'loc268) Ast.Type.Typeof.Target.qualified
method keyof_type : ('loc269, 'loc269) Ast.Type.Keyof.t -> ('loc269, 'loc269) Ast.Type.Keyof.t
method render_type : ('loc270, 'loc270) Ast.Type.Renders.t -> ('loc270, 'loc270) Ast.Type.Renders.t
method readonly_type : ('loc271, 'loc271) Ast.Type.ReadOnly.t -> ('loc271, 'loc271) Ast.Type.ReadOnly.t
method tuple_type : ('loc272, 'loc272) Ast.Type.Tuple.t -> ('loc272, 'loc272) Ast.Type.Tuple.t
method tuple_element : ('loc273, 'loc274) Ast.Type.Tuple.element -> ('loc273, 'loc274) Ast.Type.Tuple.element
method tuple_labeled_element : ('loc275, 'loc276) Ast.Type.Tuple.LabeledElement.t -> ('loc275, 'loc276) Ast.Type.Tuple.LabeledElement.t
method tuple_spread_element : ('loc277, 'loc278) Ast.Type.Tuple.SpreadElement.t -> ('loc277, 'loc278) Ast.Type.Tuple.SpreadElement.t
method array_type : ('loc279, 'loc279) Ast.Type.Array.t -> ('loc279, 'loc279) Ast.Type.Array.t
method union_type : 'loc280 -> ('loc281, 'loc281) Ast.Type.Union.t -> ('loc281, 'loc281) Ast.Type.Union.t
method intersection_type : 'loc282 -> ('loc283, 'loc283) Ast.Type.Intersection.t -> ('loc283, 'loc283) Ast.Type.Intersection.t
method type_ : ('loc284, 'loc285) Js_parser__Flow_ast.Type.t -> ('loc284, 'loc285) Js_parser__Flow_ast.Type.t
method type_annotation : ('loc286, 'loc287) Js_parser__Flow_ast.Type.annotation -> ('loc286, 'loc287) Js_parser__Flow_ast.Type.annotation
method type_annotation_hint : ('loc288, 'loc289) Ast.Type.annotation_or_hint -> ('loc288, 'loc289) Ast.Type.annotation_or_hint
method component_renders_annotation : ('loc290, 'loc291) Ast.Type.component_renders_annotation -> ('loc290, 'loc291) Ast.Type.component_renders_annotation
method function_declaration : 'loc292 -> ('loc293, 'loc293) Ast.Function.t -> ('loc293, 'loc293) Ast.Function.t
method function_expression : 'loc294 -> ('loc295, 'loc295) Ast.Function.t -> ('loc295, 'loc295) Ast.Function.t
method function_expression_or_method : 'loc296 -> ('loc295, 'loc295) Ast.Function.t -> ('loc295, 'loc295) 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_ : 'loc297 -> ('loc12, 'loc12) Ast.Function.t -> ('loc12, 'loc12) Ast.Function.t
method function_params : ('loc298, 'loc299) Ast.Function.Params.t -> ('loc298, 'loc299) Ast.Function.Params.t
method function_this_param : ('loc300, 'loc301) Js_parser__Flow_ast.Function.ThisParam.t -> ('loc300, 'loc301) Js_parser__Flow_ast.Function.ThisParam.t
method function_param : ('loc302, 'loc303) Js_parser__Flow_ast.Function.Param.t -> ('loc302, 'loc303) Js_parser__Flow_ast.Function.Param.t
method function_return_annotation : ('loc304, 'loc305) Ast.Function.ReturnAnnot.t -> ('loc304, 'loc305) Ast.Function.ReturnAnnot.t
method function_body_any : ('loc306, 'loc307) Ast.Function.body -> ('loc306, 'loc307) Ast.Function.body
method function_body : ('loc308 * ('loc309, 'loc309) Ast.Statement.Block.t) -> 'loc308 * ('loc309, 'loc309) Ast.Statement.Block.t
method body_expression : ('loc310, 'loc311) Js_parser__Flow_ast.Expression.t -> ('loc310, 'loc311) Js_parser__Flow_ast.Expression.t
method function_identifier : ('loc312, 'loc313) Js_parser__Flow_ast.Identifier.t -> ('loc312, 'loc313) Js_parser__Flow_ast.Identifier.t
method identifier : ('loc265, 'loc266) Js_parser__Flow_ast.Identifier.t -> ('loc265, 'loc266) Js_parser__Flow_ast.Identifier.t
method type_identifier : ('loc314, 'loc314) Ast.Identifier.t -> ('loc265, 'loc266) Js_parser__Flow_ast.Identifier.t
method type_identifier_reference : ('loc315, 'loc316) Js_parser__Flow_ast.Identifier.t -> ('loc315, 'loc316) Js_parser__Flow_ast.Identifier.t
method binding_type_identifier : ('loc317, 'loc317) Js_parser__Flow_ast.Identifier.t -> ('loc317, 'loc317) Js_parser__Flow_ast.Identifier.t
method interface : 'loc318 -> ('loc319, 'loc319) Ast.Statement.Interface.t -> ('loc125, 'loc126) Ast.Statement.Interface.t
method interface_declaration : 'loc320 -> ('loc321, 'loc322) Ast.Statement.Interface.t -> ('loc321, 'loc322) Ast.Statement.Interface.t
method private_name : 'loc323 Js_parser__Flow_ast.PrivateName.t -> 'loc323 Js_parser__Flow_ast.PrivateName.t
method computed_key : ('loc324, 'loc324) Ast.ComputedKey.t -> ('loc324, 'loc324) Ast.ComputedKey.t
method import : 'loc325 -> ('loc326, 'loc327) Ast.Expression.Import.t -> ('loc326, 'loc327) Ast.Expression.Import.t
method if_consequent_statement : has_else:bool -> ('loc328, 'loc328) Ast.Statement.t -> ('loc1, 'loc1) Ast.Statement.t
method if_alternate_statement : 'loc329 -> ('loc330, 'loc330) Ast.Statement.If.Alternate.t' -> ('loc330, 'loc330) Ast.Statement.If.Alternate.t'
method if_statement : 'loc331 -> ('loc332, 'loc333) Ast.Statement.If.t -> ('loc332, 'loc333) Ast.Statement.If.t
method import_declaration : 'loc334 -> ('loc335, 'loc336) Ast.Statement.ImportDeclaration.t -> ('loc335, 'loc336) Ast.Statement.ImportDeclaration.t
method import_source : 'loc337 -> 'loc338 Ast.StringLiteral.t -> 'loc338 Ast.StringLiteral.t
method import_specifier : import_kind: Ast.Statement.ImportDeclaration.import_kind -> ('loc339, 'loc340) Ast.Statement.ImportDeclaration.specifier -> ('loc339, 'loc340) Ast.Statement.ImportDeclaration.specifier
method remote_identifier : ('loc265, 'loc266) Js_parser__Flow_ast.Identifier.t -> ('loc265, 'loc266) Js_parser__Flow_ast.Identifier.t
method import_default_specifier : import_kind: Ast.Statement.ImportDeclaration.import_kind -> ('loc343, 'loc344) Js_parser__Flow_ast.Identifier.t -> ('loc343, 'loc344) Js_parser__Flow_ast.Identifier.t
method import_namespace_specifier : import_kind: Ast.Statement.ImportDeclaration.import_kind -> 'loc345 -> ('loc346, 'loc347) Js_parser__Flow_ast.Identifier.t -> ('loc346, 'loc347) Js_parser__Flow_ast.Identifier.t
method jsx_element : 'loc348 -> ('loc349, 'loc349) Ast.JSX.element -> ('loc349, 'loc349) Ast.JSX.element
method jsx_fragment : 'loc350 -> ('loc351, 'loc351) Ast.JSX.fragment -> ('loc351, 'loc351) Ast.JSX.fragment
method jsx_opening_element : ('loc352, 'loc353) Ast.JSX.Opening.t -> ('loc352, 'loc353) Ast.JSX.Opening.t
method jsx_closing_element : ('loc354, 'loc355) Ast.JSX.Closing.t -> ('loc354, 'loc355) Ast.JSX.Closing.t
method jsx_opening_attribute : ('loc356, 'loc357) Ast.JSX.Opening.attribute -> ('loc356, 'loc357) Ast.JSX.Opening.attribute
method jsx_spread_attribute : 'loc358 -> ('loc359, 'loc359) Ast.JSX.SpreadAttribute.t' -> ('loc359, 'loc359) Ast.JSX.SpreadAttribute.t'
method jsx_attribute : ('loc360, 'loc361) Js_parser__Flow_ast.JSX.Attribute.t -> ('loc360, 'loc361) Js_parser__Flow_ast.JSX.Attribute.t
method jsx_attribute_name : ('loc362, 'loc363) Ast.JSX.Attribute.name -> ('loc362, 'loc363) Ast.JSX.Attribute.name
method jsx_attribute_name_identifier : ('loc364, 'loc365) Js_parser__Flow_ast.JSX.Identifier.t -> ('loc364, 'loc365) Js_parser__Flow_ast.JSX.Identifier.t
method jsx_attribute_name_namespaced : ('loc366, 'loc367) Js_parser__Flow_ast.JSX.NamespacedName.t -> ('loc366, 'loc367) Js_parser__Flow_ast.JSX.NamespacedName.t
method jsx_attribute_value : ('loc368, 'loc369) Ast.JSX.Attribute.value -> ('loc368, 'loc369) Ast.JSX.Attribute.value
method jsx_attribute_value_expression : 'loc370 -> ('loc371, 'loc371) Ast.JSX.ExpressionContainer.t -> ('loc371, 'loc371) Ast.JSX.ExpressionContainer.t
method jsx_attribute_value_literal : 'loc372 -> 'loc373 Ast.StringLiteral.t -> 'loc373 Ast.StringLiteral.t
method jsx_children : ('loc374 * ('loc374, 'loc375) Ast.JSX.child list) -> 'loc376 * ('loc376, 'loc377) Ast.JSX.child list
method jsx_child : ('loc378, 'loc378) Ast.JSX.child -> ('loc378, 'loc378) Ast.JSX.child
method jsx_expression : 'loc379 -> ('loc371, 'loc371) Ast.JSX.ExpressionContainer.t -> ('loc371, 'loc371) Ast.JSX.ExpressionContainer.t
method jsx_spread_child : ('loc380, 'loc381) Ast.JSX.SpreadChild.t -> ('loc380, 'loc381) Ast.JSX.SpreadChild.t
method jsx_element_name : ('loc382, 'loc382) Ast.JSX.name -> ('loc382, 'loc382) Ast.JSX.name
method jsx_element_name_identifier : ('loc383, 'loc384) Ast.JSX.Identifier.t -> ('loc383, 'loc384) Ast.JSX.Identifier.t
method jsx_element_name_namespaced : ('loc385, 'loc386) Ast.JSX.NamespacedName.t -> ('loc385, 'loc386) Ast.JSX.NamespacedName.t
method jsx_element_name_member_expression : ('loc387, 'loc388) Ast.JSX.MemberExpression.t -> ('loc387, 'loc388) Ast.JSX.MemberExpression.t
method jsx_namespaced_name : ('loc366, 'loc367) Js_parser__Flow_ast.JSX.NamespacedName.t -> ('loc366, 'loc367) Js_parser__Flow_ast.JSX.NamespacedName.t
method jsx_member_expression : ('loc387, 'loc388) Ast.JSX.MemberExpression.t -> ('loc387, 'loc388) Ast.JSX.MemberExpression.t
method jsx_member_expression_object : ('loc389, 'loc390) Ast.JSX.MemberExpression._object -> ('loc389, 'loc390) Ast.JSX.MemberExpression._object
method jsx_member_expression_identifier : ('loc391, 'loc392) Js_parser__Flow_ast.JSX.Identifier.t -> ('loc391, 'loc392) Js_parser__Flow_ast.JSX.Identifier.t
method jsx_identifier : ('loc364, 'loc365) Js_parser__Flow_ast.JSX.Identifier.t -> ('loc364, 'loc365) Js_parser__Flow_ast.JSX.Identifier.t
method labeled_statement : 'loc393 -> ('loc394, 'loc395) Ast.Statement.Labeled.t -> ('loc394, 'loc395) Ast.Statement.Labeled.t
method logical : 'loc396 -> ('loc397, 'loc398) Ast.Expression.Logical.t -> ('loc397, 'loc398) Ast.Expression.Logical.t
method member : 'loc399 -> ('loc400, 'loc401) Ast.Expression.Member.t -> ('loc400, 'loc401) Ast.Expression.Member.t
method optional_member : 'loc402 -> ('loc403, 'loc404) Ast.Expression.OptionalMember.t -> ('loc403, 'loc404) Ast.Expression.OptionalMember.t
method member_property : ('loc405, 'loc406) Ast.Expression.Member.property -> ('loc405, 'loc406) Ast.Expression.Member.property
method member_property_identifier : ('loc407, 'loc408) Js_parser__Flow_ast.Identifier.t -> ('loc407, 'loc408) Js_parser__Flow_ast.Identifier.t
method member_private_name : 'loc409 Js_parser__Flow_ast.PrivateName.t -> 'loc409 Js_parser__Flow_ast.PrivateName.t
method member_property_expression : ('loc410, 'loc411) Js_parser__Flow_ast.Expression.t -> ('loc410, 'loc411) Js_parser__Flow_ast.Expression.t
method meta_property : 'loc412 -> 'loc413 Ast.Expression.MetaProperty.t -> 'loc413 Ast.Expression.MetaProperty.t
method new_ : 'loc414 -> ('loc415, 'loc416) Ast.Expression.New.t -> ('loc415, 'loc416) Ast.Expression.New.t
method object_ : 'loc417 -> ('loc418, 'loc419) Ast.Expression.Object.t -> ('loc418, 'loc419) Ast.Expression.Object.t
method object_property : ('loc420, 'loc421) Ast.Expression.Object.Property.t -> ('loc420, 'loc421) Ast.Expression.Object.Property.t
method object_key : ('loc422, 'loc423) Ast.Expression.Object.Property.key -> ('loc422, 'loc423) Ast.Expression.Object.Property.key
method object_key_string_literal : ('loc424 * 'loc425 Ast.StringLiteral.t) -> 'loc424 * 'loc425 Ast.StringLiteral.t
method object_key_number_literal : ('loc426 * 'loc427 Ast.NumberLiteral.t) -> 'loc426 * 'loc427 Ast.NumberLiteral.t
method object_key_bigint_literal : ('loc428 * 'loc429 Ast.BigIntLiteral.t) -> 'loc428 * 'loc429 Ast.BigIntLiteral.t
method object_key_identifier : ('loc430, 'loc431) Js_parser__Flow_ast.Identifier.t -> ('loc430, 'loc431) Js_parser__Flow_ast.Identifier.t
method object_key_computed : ('loc432, 'loc433) Js_parser__Flow_ast.ComputedKey.t -> ('loc432, 'loc433) Js_parser__Flow_ast.ComputedKey.t
method opaque_type : 'loc434 -> ('loc435, 'loc436) Ast.Statement.OpaqueType.t -> ('loc435, 'loc436) Ast.Statement.OpaqueType.t
method function_param_pattern : ('loc437, 'loc438) Js_parser__Flow_ast.Pattern.t -> ('loc437, 'loc438) Js_parser__Flow_ast.Pattern.t
method variable_declarator_pattern : kind:Ast.Variable.kind -> ('loc439, 'loc439) Ast.Pattern.t -> ('loc85, 'loc86) Js_parser__Flow_ast.Pattern.t
method catch_clause_pattern : ('loc440, 'loc441) Js_parser__Flow_ast.Pattern.t -> ('loc440, 'loc441) Js_parser__Flow_ast.Pattern.t
method for_in_assignment_pattern : ('loc442, 'loc443) Js_parser__Flow_ast.Pattern.t -> ('loc442, 'loc443) Js_parser__Flow_ast.Pattern.t
method for_of_assignment_pattern : ('loc444, 'loc445) Js_parser__Flow_ast.Pattern.t -> ('loc444, 'loc445) Js_parser__Flow_ast.Pattern.t
method binding_pattern : ?kind:Ast.Variable.kind -> ('loc446, 'loc446) Ast.Pattern.t -> ('loc85, 'loc86) Js_parser__Flow_ast.Pattern.t
method assignment_pattern : ('loc447, 'loc448) Js_parser__Flow_ast.Pattern.t -> ('loc447, 'loc448) Js_parser__Flow_ast.Pattern.t
method pattern : ?kind:Ast.Variable.kind -> ('loc449, 'loc449) Ast.Pattern.t -> ('loc85, 'loc86) Js_parser__Flow_ast.Pattern.t
method pattern_identifier : ?kind:Ast.Variable.kind -> ('loc450, 'loc450) Ast.Identifier.t -> ('loc51, 'loc52) Js_parser__Flow_ast.Identifier.t
method pattern_string_literal : ?kind:Ast.Variable.kind -> 'loc451 -> 'loc452 Ast.StringLiteral.t -> 'loc245 Ast.StringLiteral.t
method pattern_number_literal : ?kind:Ast.Variable.kind -> 'loc453 -> 'loc454 Ast.NumberLiteral.t -> 'loc247 Ast.NumberLiteral.t
method pattern_bigint_literal : ?kind:Ast.Variable.kind -> 'loc455 -> 'loc456 Ast.BigIntLiteral.t -> 'loc249 Ast.BigIntLiteral.t
method pattern_object_p : ?kind:Ast.Variable.kind -> ('loc457, 'loc458) Ast.Pattern.Object.property -> ('loc457, 'loc458) Ast.Pattern.Object.property
method pattern_object_property : ?kind:Ast.Variable.kind -> ('loc459, 'loc460) Ast.Pattern.Object.Property.t -> ('loc459, 'loc460) Ast.Pattern.Object.Property.t
method pattern_object_property_key : ?kind:Ast.Variable.kind -> ('loc461, 'loc462) Ast.Pattern.Object.Property.key -> ('loc463, 'loc464) Ast.Pattern.Object.Property.key
method pattern_object_property_string_literal_key : ?kind:Ast.Variable.kind -> ('loc465 * 'loc466 Ast.StringLiteral.t) -> 'loc465 * 'loc466 Ast.StringLiteral.t
method pattern_object_property_number_literal_key : ?kind:Ast.Variable.kind -> ('loc467 * 'loc468 Ast.NumberLiteral.t) -> 'loc467 * 'loc468 Ast.NumberLiteral.t
method pattern_object_property_bigint_literal_key : ?kind:Ast.Variable.kind -> ('loc469 * 'loc470 Ast.BigIntLiteral.t) -> 'loc469 * 'loc470 Ast.BigIntLiteral.t
method pattern_object_property_identifier_key : ?kind:Ast.Variable.kind -> ('loc471, 'loc472) Js_parser__Flow_ast.Identifier.t -> ('loc471, 'loc472) Js_parser__Flow_ast.Identifier.t
method pattern_object_property_computed_key : ?kind:Ast.Variable.kind -> ('loc473, 'loc474) Js_parser__Flow_ast.ComputedKey.t -> ('loc473, 'loc474) Js_parser__Flow_ast.ComputedKey.t
method pattern_object_rest_property : ?kind:Ast.Variable.kind -> ('loc475, 'loc476) Js_parser__Flow_ast.Pattern.RestElement.t -> ('loc475, 'loc476) Js_parser__Flow_ast.Pattern.RestElement.t
method pattern_object_property_pattern : ?kind:Ast.Variable.kind -> ('loc477, 'loc478) Js_parser__Flow_ast.Pattern.t -> ('loc477, 'loc478) Js_parser__Flow_ast.Pattern.t
method pattern_object_rest_property_pattern : ?kind:Ast.Variable.kind -> ('loc479, 'loc480) Js_parser__Flow_ast.Pattern.t -> ('loc479, 'loc480) Js_parser__Flow_ast.Pattern.t
method pattern_array_e : ?kind:Ast.Variable.kind -> ('loc481, 'loc482) Ast.Pattern.Array.element -> ('loc481, 'loc482) Ast.Pattern.Array.element
method pattern_array_element : ?kind:Ast.Variable.kind -> ('loc483, 'loc484) Ast.Pattern.Array.Element.t -> ('loc483, 'loc484) Ast.Pattern.Array.Element.t
method pattern_array_element_pattern : ?kind:Ast.Variable.kind -> ('loc485, 'loc486) Js_parser__Flow_ast.Pattern.t -> ('loc485, 'loc486) Js_parser__Flow_ast.Pattern.t
method pattern_array_rest_element : ?kind:Ast.Variable.kind -> ('loc487, 'loc488) Js_parser__Flow_ast.Pattern.RestElement.t -> ('loc487, 'loc488) Js_parser__Flow_ast.Pattern.RestElement.t
method pattern_array_rest_element_pattern : ?kind:Ast.Variable.kind -> ('loc489, 'loc490) Js_parser__Flow_ast.Pattern.t -> ('loc489, 'loc490) Js_parser__Flow_ast.Pattern.t
method pattern_expression : ('loc491, 'loc492) Js_parser__Flow_ast.Expression.t -> ('loc491, 'loc492) Js_parser__Flow_ast.Expression.t
method predicate : ('loc493, 'loc494) Js_parser__Flow_ast.Type.Predicate.t -> ('loc493, 'loc494) Js_parser__Flow_ast.Type.Predicate.t
method predicate_expression : ('loc495, 'loc496) Js_parser__Flow_ast.Expression.t -> ('loc495, 'loc496) Js_parser__Flow_ast.Expression.t
method type_guard_annotation : ('loc497, 'loc498) Js_parser__Flow_ast.Type.type_guard_annotation -> ('loc497, 'loc498) Js_parser__Flow_ast.Type.type_guard_annotation
method type_guard : ('loc499, 'loc500) Js_parser__Flow_ast.Type.TypeGuard.t -> ('loc499, 'loc500) Js_parser__Flow_ast.Type.TypeGuard.t
method function_rest_param : ('loc501, 'loc502) Js_parser__Flow_ast.Function.RestParam.t -> ('loc501, 'loc502) Js_parser__Flow_ast.Function.RestParam.t
method return : 'loc503 -> ('loc504, 'loc505) Ast.Statement.Return.t -> ('loc504, 'loc505) Ast.Statement.Return.t
method sequence : 'loc506 -> ('loc507, 'loc508) Ast.Expression.Sequence.t -> ('loc507, 'loc508) Ast.Expression.Sequence.t
method toplevel_statement_list : ('loc509, 'loc510) Js_parser__Flow_ast.Statement.t list -> ('loc511, 'loc512) Js_parser__Flow_ast.Statement.t list
method statement_list : ('loc513, 'loc514) Js_parser__Flow_ast.Statement.t list -> ('loc511, 'loc512) Js_parser__Flow_ast.Statement.t list
method statement_fork_point : ('loc515, 'loc515) Ast.Statement.t -> ('loc515, 'loc515) Ast.Statement.t list
method spread_element : ('loc516, 'loc517) Js_parser__Flow_ast.Expression.SpreadElement.t -> ('loc516, 'loc517) Js_parser__Flow_ast.Expression.SpreadElement.t
method spread_property : ('loc518, 'loc519) Ast.Expression.Object.SpreadProperty.t -> ('loc518, 'loc519) Ast.Expression.Object.SpreadProperty.t
method super_expression : 'loc520 -> 'loc521 Ast.Expression.Super.t -> 'loc521 Ast.Expression.Super.t
method switch : 'loc522 -> ('loc523, 'loc524) Ast.Statement.Switch.t -> ('loc523, 'loc524) Ast.Statement.Switch.t
method switch_case : ('loc525, 'loc526) Ast.Statement.Switch.Case.t -> ('loc525, 'loc526) Ast.Statement.Switch.Case.t
method tagged_template : 'loc527 -> ('loc528, 'loc529) Ast.Expression.TaggedTemplate.t -> ('loc528, 'loc529) Ast.Expression.TaggedTemplate.t
method template_literal : 'loc530 -> ('loc531, 'loc532) Ast.Expression.TemplateLiteral.t -> ('loc531, 'loc532) Ast.Expression.TemplateLiteral.t
method template_literal_element : 'loc533 Ast.Expression.TemplateLiteral.Element.t -> 'loc533 Ast.Expression.TemplateLiteral.Element.t
method this_expression : 'loc534 -> 'loc535 Ast.Expression.This.t -> 'loc535 Ast.Expression.This.t
method throw : 'loc536 -> ('loc537, 'loc538) Ast.Statement.Throw.t -> ('loc537, 'loc538) Ast.Statement.Throw.t
method try_catch : 'loc539 -> ('loc540, 'loc541) Ast.Statement.Try.t -> ('loc540, 'loc541) Ast.Statement.Try.t
method type_cast : 'loc542 -> ('loc543, 'loc544) Ast.Expression.TypeCast.t -> ('loc543, 'loc544) Ast.Expression.TypeCast.t
method ts_type_cast : 'loc545 -> ('loc546, 'loc547) Ast.Expression.TSTypeCast.t -> ('loc546, 'loc547) Ast.Expression.TSTypeCast.t
method unary_expression : 'loc548 -> ('loc549, 'loc550) Ast.Expression.Unary.t -> ('loc549, 'loc550) Ast.Expression.Unary.t
method update_expression : 'loc551 -> ('loc552, 'loc553) Ast.Expression.Update.t -> ('loc552, 'loc553) Ast.Expression.Update.t
method variable_declaration : 'loc554 -> ('loc188, 'loc189) Ast.Statement.VariableDeclaration.t -> ('loc188, 'loc189) Ast.Statement.VariableDeclaration.t
method variable_declarator : kind:Ast.Variable.kind -> ('loc555, 'loc556) Ast.Statement.VariableDeclaration.Declarator.t -> ('loc555, 'loc556) Ast.Statement.VariableDeclaration.Declarator.t
method while_ : 'loc557 -> ('loc558, 'loc559) Ast.Statement.While.t -> ('loc558, 'loc559) Ast.Statement.While.t
method with_ : 'loc560 -> ('loc561, 'loc562) Ast.Statement.With.t -> ('loc561, 'loc562) Ast.Statement.With.t
method type_alias : 'loc563 -> ('loc564, 'loc565) Ast.Statement.TypeAlias.t -> ('loc564, 'loc565) Ast.Statement.TypeAlias.t
method yield : 'loc566 -> ('loc567, 'loc568) Ast.Expression.Yield.t -> ('loc567, 'loc568) Ast.Expression.Yield.t
OCaml

Innovation. Community. Security.