package flow_parser

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
constraint 'a = Loc.t
method arrow_function : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Function.t -> ('a, 'a) Flow_ast_mapper.Ast.Function.t
method assignment_pattern : ('a, 'a) Flow_ast.Pattern.t -> ('a, 'a) Flow_ast.Pattern.t
method call_arguments : ('a, 'a) Flow_ast.Expression.ArgList.t -> ('a, 'a) Flow_ast.Expression.ArgList.t
method call_type_args : ('a, 'a) Flow_ast.Expression.CallTypeArgs.t -> ('a, 'a) Flow_ast.Expression.CallTypeArgs.t
method catch_body : ('a * ('a, 'a) Flow_ast_mapper.Ast.Statement.Block.t) -> 'a * ('a, 'a) Flow_ast_mapper.Ast.Statement.Block.t
method catch_clause_pattern : ('a, 'a) Flow_ast.Pattern.t -> ('a, 'a) Flow_ast.Pattern.t
method class_ : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Class.t -> ('a, 'a) Flow_ast_mapper.Ast.Class.t
method class_body : ('a, 'a) Flow_ast.Class.Body.t -> ('a, 'a) Flow_ast.Class.Body.t
method class_extends : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Class.Extends.t' -> ('a, 'a) Flow_ast_mapper.Ast.Class.Extends.t'
method class_identifier : ('a, 'a) Flow_ast.Identifier.t -> ('a, 'a) Flow_ast.Identifier.t
method class_method : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Class.Method.t' -> ('a, 'a) Flow_ast_mapper.Ast.Class.Method.t'
method class_private_field : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Class.PrivateField.t' -> ('a, 'a) Flow_ast_mapper.Ast.Class.PrivateField.t'
method class_property : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Class.Property.t' -> ('a, 'a) Flow_ast_mapper.Ast.Class.Property.t'
method comment : 'a Flow_ast.Comment.t -> 'a Flow_ast.Comment.t
method computed_key : ('a, 'a) Flow_ast_mapper.Ast.ComputedKey.t -> ('a, 'a) Flow_ast_mapper.Ast.ComputedKey.t
method declare_interface : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Statement.Interface.t -> ('a, 'a) Flow_ast_mapper.Ast.Statement.Interface.t
method declare_type_alias : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Statement.TypeAlias.t -> ('a, 'a) Flow_ast_mapper.Ast.Statement.TypeAlias.t
method expression_statement : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Statement.Expression.t -> ('a, 'a) Flow_ast_mapper.Ast.Statement.Expression.t
method for_in_assignment_pattern : ('a, 'a) Flow_ast.Pattern.t -> ('a, 'a) Flow_ast.Pattern.t
method for_in_statement : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Statement.ForIn.t -> ('a, 'a) Flow_ast_mapper.Ast.Statement.ForIn.t
method for_of_assignment_pattern : ('a, 'a) Flow_ast.Pattern.t -> ('a, 'a) Flow_ast.Pattern.t
method for_of_statement : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Statement.ForOf.t -> ('a, 'a) Flow_ast_mapper.Ast.Statement.ForOf.t
method for_statement : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Statement.For.t -> ('a, 'a) Flow_ast_mapper.Ast.Statement.For.t
method function_ : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Function.t -> ('a, 'a) Flow_ast_mapper.Ast.Function.t
method function_body : ('a * ('a, 'a) Flow_ast_mapper.Ast.Statement.Block.t) -> 'a * ('a, 'a) Flow_ast_mapper.Ast.Statement.Block.t
method function_body_any : ('a, 'a) Flow_ast_mapper.Ast.Function.body -> ('a, 'a) Flow_ast_mapper.Ast.Function.body
method function_declaration : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Function.t -> ('a, 'a) Flow_ast_mapper.Ast.Function.t
method function_expression : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Function.t -> ('a, 'a) Flow_ast_mapper.Ast.Function.t
method function_identifier : ('a, 'a) Flow_ast.Identifier.t -> ('a, 'a) Flow_ast.Identifier.t
method function_param : ('a, 'a) Flow_ast.Function.Param.t -> ('a, 'a) Flow_ast.Function.Param.t
method function_param_pattern : ('a, 'a) Flow_ast.Pattern.t -> ('a, 'a) Flow_ast.Pattern.t
method function_rest_param : ('a, 'a) Flow_ast.Function.RestParam.t -> ('a, 'a) Flow_ast.Function.RestParam.t
method function_this_param : ('a, 'a) Flow_ast.Function.ThisParam.t -> ('a, 'a) Flow_ast.Function.ThisParam.t
method function_type : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Type.Function.t -> ('a, 'a) Flow_ast_mapper.Ast.Type.Function.t
method generic_type : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Type.Generic.t -> ('a, 'a) Flow_ast_mapper.Ast.Type.Generic.t
method identifier : ('a, 'a) Flow_ast.Identifier.t -> ('a, 'a) Flow_ast.Identifier.t
method if_alternate_statement : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Statement.If.Alternate.t' -> ('a, 'a) Flow_ast_mapper.Ast.Statement.If.Alternate.t'
method if_consequent_statement : has_else:bool -> ('a, 'a) Flow_ast_mapper.Ast.Statement.t -> ('a, 'a) Flow_ast_mapper.Ast.Statement.t
method if_statement : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Statement.If.t -> ('a, 'a) Flow_ast_mapper.Ast.Statement.If.t
method import_default_specifier : ('a, 'a) Flow_ast.Identifier.t -> ('a, 'a) Flow_ast.Identifier.t
method import_namespace_specifier : 'a -> ('a, 'a) Flow_ast.Identifier.t -> ('a, 'a) Flow_ast.Identifier.t
method interface_declaration : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Statement.Interface.t -> ('a, 'a) Flow_ast_mapper.Ast.Statement.Interface.t
method interface_type : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Type.Interface.t -> ('a, 'a) Flow_ast_mapper.Ast.Type.Interface.t
method intersection_type : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Type.Intersection.t -> ('a, 'a) Flow_ast_mapper.Ast.Type.Intersection.t
method jsx_attribute : ('a, 'a) Flow_ast.JSX.Attribute.t -> ('a, 'a) Flow_ast.JSX.Attribute.t
method jsx_attribute_name_identifier : ('a, 'a) Flow_ast.JSX.Identifier.t -> ('a, 'a) Flow_ast.JSX.Identifier.t
method jsx_attribute_name_namespaced : ('a, 'a) Flow_ast.JSX.NamespacedName.t -> ('a, 'a) Flow_ast.JSX.NamespacedName.t
method jsx_attribute_value_expression : 'a -> ('a, 'a) Flow_ast_mapper.Ast.JSX.ExpressionContainer.t -> ('a, 'a) Flow_ast_mapper.Ast.JSX.ExpressionContainer.t
method jsx_attribute_value_literal : 'a -> 'a Flow_ast_mapper.Ast.Literal.t -> 'a Flow_ast_mapper.Ast.Literal.t
method jsx_child : ('a, 'a) Flow_ast_mapper.Ast.JSX.child -> ('a, 'a) Flow_ast_mapper.Ast.JSX.child
method jsx_children : ('a * ('a, 'a) Flow_ast_mapper.Ast.JSX.child list) -> 'a * ('a, 'a) Flow_ast_mapper.Ast.JSX.child list
method jsx_closing_element : ('a, 'a) Flow_ast_mapper.Ast.JSX.Closing.t -> ('a, 'a) Flow_ast_mapper.Ast.JSX.Closing.t
method jsx_element : 'a -> ('a, 'a) Flow_ast_mapper.Ast.JSX.element -> ('a, 'a) Flow_ast_mapper.Ast.JSX.element
method jsx_element_name : ('a, 'a) Flow_ast_mapper.Ast.JSX.name -> ('a, 'a) Flow_ast_mapper.Ast.JSX.name
method jsx_element_name_identifier : ('a, 'a) Flow_ast_mapper.Ast.JSX.Identifier.t -> ('a, 'a) Flow_ast_mapper.Ast.JSX.Identifier.t
method jsx_element_name_member_expression : ('a, 'a) Flow_ast_mapper.Ast.JSX.MemberExpression.t -> ('a, 'a) Flow_ast_mapper.Ast.JSX.MemberExpression.t
method jsx_element_name_namespaced : ('a, 'a) Flow_ast_mapper.Ast.JSX.NamespacedName.t -> ('a, 'a) Flow_ast_mapper.Ast.JSX.NamespacedName.t
method jsx_fragment : 'a -> ('a, 'a) Flow_ast_mapper.Ast.JSX.fragment -> ('a, 'a) Flow_ast_mapper.Ast.JSX.fragment
method jsx_identifier : ('a, 'a) Flow_ast.JSX.Identifier.t -> ('a, 'a) Flow_ast.JSX.Identifier.t
method jsx_member_expression_identifier : ('a, 'a) Flow_ast.JSX.Identifier.t -> ('a, 'a) Flow_ast.JSX.Identifier.t
method jsx_namespaced_name : ('a, 'a) Flow_ast.JSX.NamespacedName.t -> ('a, 'a) Flow_ast.JSX.NamespacedName.t
method jsx_opening_element : ('a, 'a) Flow_ast_mapper.Ast.JSX.Opening.t -> ('a, 'a) Flow_ast_mapper.Ast.JSX.Opening.t
method jsx_spread_attribute : 'a -> ('a, 'a) Flow_ast_mapper.Ast.JSX.SpreadAttribute.t' -> ('a, 'a) Flow_ast_mapper.Ast.JSX.SpreadAttribute.t'
method label_identifier : ('a, 'a) Flow_ast.Identifier.t -> ('a, 'a) Flow_ast.Identifier.t
method labeled_statement : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Statement.Labeled.t -> ('a, 'a) Flow_ast_mapper.Ast.Statement.Labeled.t
method member_private_name : 'a Flow_ast.PrivateName.t -> 'a Flow_ast.PrivateName.t
method member_property_expression : ('a, 'a) Flow_ast.Expression.t -> ('a, 'a) Flow_ast.Expression.t
method member_property_identifier : ('a, 'a) Flow_ast.Identifier.t -> ('a, 'a) Flow_ast.Identifier.t
method object_indexer_property_type : ('a, 'a) Flow_ast_mapper.Ast.Type.Object.Indexer.t -> ('a, 'a) Flow_ast_mapper.Ast.Type.Object.Indexer.t
method object_internal_slot_property_type : ('a, 'a) Flow_ast_mapper.Ast.Type.Object.InternalSlot.t -> ('a, 'a) Flow_ast_mapper.Ast.Type.Object.InternalSlot.t
method object_key_computed : ('a, 'a) Flow_ast.ComputedKey.t -> ('a, 'a) Flow_ast.ComputedKey.t
method object_key_identifier : ('a, 'a) Flow_ast.Identifier.t -> ('a, 'a) Flow_ast.Identifier.t
method object_key_literal : ('a * 'a Flow_ast_mapper.Ast.Literal.t) -> 'a * 'a Flow_ast_mapper.Ast.Literal.t
method object_type : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Type.Object.t -> ('a, 'a) Flow_ast_mapper.Ast.Type.Object.t
method object_type_property_getter : ('a * ('a, 'a) Flow_ast_mapper.Ast.Type.Function.t) -> 'a * ('a, 'a) Flow_ast_mapper.Ast.Type.Function.t
method object_type_property_setter : ('a * ('a, 'a) Flow_ast_mapper.Ast.Type.Function.t) -> 'a * ('a, 'a) Flow_ast_mapper.Ast.Type.Function.t
method pattern_array_element_pattern : ?kind: Flow_ast_mapper.Ast.Statement.VariableDeclaration.kind -> ('a, 'a) Flow_ast.Pattern.t -> ('a, 'a) Flow_ast.Pattern.t
method pattern_array_rest_element_pattern : ?kind: Flow_ast_mapper.Ast.Statement.VariableDeclaration.kind -> ('a, 'a) Flow_ast.Pattern.t -> ('a, 'a) Flow_ast.Pattern.t
method pattern_assignment_pattern : ?kind: Flow_ast_mapper.Ast.Statement.VariableDeclaration.kind -> ('a, 'a) Flow_ast_mapper.Ast.Pattern.t -> ('a, 'a) Flow_ast.Pattern.t
method pattern_expression : ('a, 'a) Flow_ast.Expression.t -> ('a, 'a) Flow_ast.Expression.t
method pattern_object_property_computed_key : ?kind: Flow_ast_mapper.Ast.Statement.VariableDeclaration.kind -> ('a, 'a) Flow_ast.ComputedKey.t -> ('a, 'a) Flow_ast.ComputedKey.t
method pattern_object_property_identifier_key : ?kind: Flow_ast_mapper.Ast.Statement.VariableDeclaration.kind -> ('a, 'a) Flow_ast.Identifier.t -> ('a, 'a) Flow_ast.Identifier.t
method pattern_object_property_literal_key : ?kind: Flow_ast_mapper.Ast.Statement.VariableDeclaration.kind -> ('a * 'a Flow_ast_mapper.Ast.Literal.t) -> 'a * 'a Flow_ast_mapper.Ast.Literal.t
method pattern_object_property_pattern : ?kind: Flow_ast_mapper.Ast.Statement.VariableDeclaration.kind -> ('a, 'a) Flow_ast.Pattern.t -> ('a, 'a) Flow_ast.Pattern.t
method pattern_object_rest_property_pattern : ?kind: Flow_ast_mapper.Ast.Statement.VariableDeclaration.kind -> ('a, 'a) Flow_ast.Pattern.t -> ('a, 'a) Flow_ast.Pattern.t
method predicate : ('a, 'a) Flow_ast.Type.Predicate.t -> ('a, 'a) Flow_ast.Type.Predicate.t
method predicate_expression : ('a, 'a) Flow_ast.Expression.t -> ('a, 'a) Flow_ast.Expression.t
method private_name : 'a Flow_ast.PrivateName.t -> 'a Flow_ast.PrivateName.t
method program : ('a, 'a) Flow_ast_mapper.Ast.Program.t -> ('a, 'a) Flow_ast_mapper.Ast.Program.t
method statement_fork_point : ('a, 'a) Flow_ast_mapper.Ast.Statement.t -> ('a, 'a) Flow_ast_mapper.Ast.Statement.t list
method statement_list : ('a, 'a) Flow_ast.Statement.t list -> ('a, 'a) Flow_ast.Statement.t list
method syntax : 'internal. ('a, 'internal) Flow_ast_mapper.Ast.Syntax.t -> ('a, 'internal) Flow_ast_mapper.Ast.Syntax.t
method syntax_opt : 'internal. ('a, 'internal) Flow_ast_mapper.Ast.Syntax.t option -> ('a, 'internal) Flow_ast_mapper.Ast.Syntax.t option
method toplevel_statement_list : ('a, 'a) Flow_ast.Statement.t list -> ('a, 'a) Flow_ast.Statement.t list
method try_catch : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Statement.Try.t -> ('a, 'a) Flow_ast_mapper.Ast.Statement.Try.t
method type_ : ('a, 'a) Flow_ast.Type.t -> ('a, 'a) Flow_ast.Type.t
method type_annotation : ('a, 'a) Flow_ast.Type.annotation -> ('a, 'a) Flow_ast.Type.annotation
method type_args : ('a, 'a) Flow_ast.Type.TypeArgs.t -> ('a, 'a) Flow_ast.Type.TypeArgs.t
method type_identifier : ('a, 'a) Flow_ast.Identifier.t -> ('a, 'a) Flow_ast.Identifier.t
method type_param : ('a, 'a) Flow_ast.Type.TypeParam.t -> ('a, 'a) Flow_ast.Type.TypeParam.t
method type_params : ('a, 'a) Flow_ast.Type.TypeParams.t -> ('a, 'a) Flow_ast.Type.TypeParams.t
method unary_expression : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Expression.Unary.t -> ('a, 'a) Flow_ast_mapper.Ast.Expression.Unary.t
method union_type : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Type.Union.t -> ('a, 'a) Flow_ast_mapper.Ast.Type.Union.t
method update_expression : 'a -> ('a, 'a) Flow_ast_mapper.Ast.Expression.Update.t -> ('a, 'a) Flow_ast_mapper.Ast.Expression.Update.t
method variable_declarator_pattern : kind: Flow_ast_mapper.Ast.Statement.VariableDeclaration.kind -> ('a, 'a) Flow_ast_mapper.Ast.Pattern.t -> ('a, 'a) Flow_ast.Pattern.t
method variance_opt : 'a Flow_ast.Variance.t option -> 'a Flow_ast.Variance.t option
OCaml

Innovation. Community. Security.