package rotor
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  An automatic refactoring tool for OCaml
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      rotor-0.1.zip
    
    
        
    
  
  
  
    
  
  
    
  
        md5=372ca9b6a7af2fdd99d5117d376870b4
    
    
  sha512=6f5473951437a48bf9ae7a5d22a4283c02bed6a6e5c7bc02fc5f28dc5c28720f3e2c69f32a2a0c5b9447c2bc8c83746bb4de5b67909a98cc8921527582727063
    
    
  doc/rotor/Parsetree_visitors/index.html
Module Parsetree_visitors
and pt_attribute = Parsetree.attribute = {attr_name : string Asttypes.loc;attr_payload : pt_payload;attr_loc : Location_visitors.location_t;
}and pt_extension = string Asttypes.loc * pt_payloadand pt_attributes = pt_attribute listand pt_payload = Parsetree.payload = | PStr of pt_structure| PSig of pt_signature| PTyp of pt_core_type| PPat of pt_pattern * pt_expression option
and pt_core_type = Parsetree.core_type = {ptyp_desc : pt_core_type_desc;ptyp_loc : Location_visitors.location_t;ptyp_loc_stack : Location_visitors.location_t list;ptyp_attributes : pt_attributes;
}and pt_core_type_desc = Parsetree.core_type_desc = | Ptyp_any| Ptyp_var of string| Ptyp_arrow of Asttypes.arg_label * pt_core_type * pt_core_type| Ptyp_tuple of pt_core_type list| Ptyp_constr of Longident_visitors.longident_t Asttypes.loc * pt_core_type list| Ptyp_object of pt_object_field list * Asttypes.closed_flag| Ptyp_class of Longident_visitors.longident_t Asttypes.loc * pt_core_type list| Ptyp_alias of pt_core_type * string| Ptyp_variant of pt_row_field list * Asttypes.closed_flag * Asttypes.label list option| Ptyp_poly of string Asttypes.loc list * pt_core_type| Ptyp_package of pt_package_type| Ptyp_extension of pt_extension
and pt_package_type =
  Longident_visitors.longident_t Asttypes.loc
  * (Longident_visitors.longident_t Asttypes.loc * pt_core_type) listand pt_row_field = Parsetree.row_field = {prf_desc : pt_row_field_desc;prf_loc : Location_visitors.location_t;prf_attributes : pt_attributes;
}and pt_row_field_desc = Parsetree.row_field_desc = | Rtag of Asttypes.label Asttypes.loc * bool * pt_core_type list| Rinherit of pt_core_type
and pt_object_field = Parsetree.object_field = {pof_desc : pt_object_field_desc;pof_loc : Location_visitors.location_t;pof_attributes : pt_attributes;
}and pt_object_field_desc = Parsetree.object_field_desc = | Otag of Asttypes.label Asttypes.loc * pt_core_type| Oinherit of pt_core_type
and pt_pattern = Parsetree.pattern = {ppat_desc : pt_pattern_desc;ppat_loc : Location_visitors.location_t;ppat_loc_stack : Location_visitors.location_t list;ppat_attributes : pt_attributes;
}and pt_pattern_desc = Parsetree.pattern_desc = | Ppat_any| Ppat_var of string Asttypes.loc| Ppat_alias of pt_pattern * string Asttypes.loc| Ppat_constant of pt_constant| Ppat_interval of pt_constant * pt_constant| Ppat_tuple of pt_pattern list| Ppat_construct of Longident_visitors.longident_t Asttypes.loc * pt_pattern option| Ppat_variant of Asttypes.label * pt_pattern option| Ppat_record of (Longident_visitors.longident_t Asttypes.loc * pt_pattern) list * Asttypes.closed_flag| Ppat_array of pt_pattern list| Ppat_or of pt_pattern * pt_pattern| Ppat_constraint of pt_pattern * pt_core_type| Ppat_type of Longident_visitors.longident_t Asttypes.loc| Ppat_lazy of pt_pattern| Ppat_unpack of string Asttypes.loc| Ppat_exception of pt_pattern| Ppat_extension of pt_extension| Ppat_open of Longident_visitors.longident_t Asttypes.loc * pt_pattern
and pt_expression = Parsetree.expression = {pexp_desc : pt_expression_desc;pexp_loc : Location_visitors.location_t;pexp_loc_stack : Location_visitors.location_t list;pexp_attributes : pt_attributes;
}and pt_expression_desc = Parsetree.expression_desc = | Pexp_ident of Longident_visitors.longident_t Asttypes.loc| Pexp_constant of pt_constant| Pexp_let of Asttypes.rec_flag * pt_value_binding list * pt_expression| Pexp_function of pt_case list| Pexp_fun of Asttypes.arg_label * pt_expression option * pt_pattern * pt_expression| Pexp_apply of pt_expression * (Asttypes.arg_label * pt_expression) list| Pexp_match of pt_expression * pt_case list| Pexp_try of pt_expression * pt_case list| Pexp_tuple of pt_expression list| Pexp_construct of Longident_visitors.longident_t Asttypes.loc * pt_expression option| Pexp_variant of Asttypes.label * pt_expression option| Pexp_record of (Longident_visitors.longident_t Asttypes.loc * pt_expression) list * pt_expression option| Pexp_field of pt_expression * Longident_visitors.longident_t Asttypes.loc| Pexp_setfield of pt_expression * Longident_visitors.longident_t Asttypes.loc * pt_expression| Pexp_array of pt_expression list| Pexp_ifthenelse of pt_expression * pt_expression * pt_expression option| Pexp_sequence of pt_expression * pt_expression| Pexp_while of pt_expression * pt_expression| Pexp_for of pt_pattern * pt_expression * pt_expression * Asttypes.direction_flag * pt_expression| Pexp_constraint of pt_expression * pt_core_type| Pexp_coerce of pt_expression * pt_core_type option * pt_core_type| Pexp_send of pt_expression * Asttypes.label Asttypes.loc| Pexp_new of Longident_visitors.longident_t Asttypes.loc| Pexp_setinstvar of Asttypes.label Asttypes.loc * pt_expression| Pexp_override of (Asttypes.label Asttypes.loc * pt_expression) list| Pexp_letmodule of string Asttypes.loc * pt_module_expr * pt_expression| Pexp_letexception of pt_extension_constructor * pt_expression| Pexp_assert of pt_expression| Pexp_lazy of pt_expression| Pexp_poly of pt_expression * pt_core_type option| Pexp_object of pt_class_structure| Pexp_newtype of string Asttypes.loc * pt_expression| Pexp_pack of pt_module_expr| Pexp_open of pt_open_declaration * pt_expression| Pexp_letop of pt_letop| Pexp_extension of pt_extension| Pexp_unreachable
and pt_case = Parsetree.case = {pc_lhs : pt_pattern;pc_guard : pt_expression option;pc_rhs : pt_expression;
}and pt_letop = Parsetree.letop = {let_ : pt_binding_op;ands : pt_binding_op list;body : pt_expression;
}and pt_binding_op = Parsetree.binding_op = {pbop_op : string Asttypes.loc;pbop_pat : pt_pattern;pbop_exp : pt_expression;pbop_loc : Location_visitors.location_t;
}and pt_value_description = Parsetree.value_description = {pval_name : string Asttypes.loc;pval_type : pt_core_type;pval_prim : string list;pval_attributes : pt_attributes;pval_loc : Location_visitors.location_t;
}and pt_type_declaration = Parsetree.type_declaration = {ptype_name : string Asttypes.loc;ptype_params : (pt_core_type * Asttypes.variance) list;ptype_cstrs : (pt_core_type * pt_core_type * Location_visitors.location_t) list;ptype_kind : pt_type_kind;ptype_private : Asttypes.private_flag;ptype_manifest : pt_core_type option;ptype_attributes : pt_attributes;ptype_loc : Location_visitors.location_t;
}and pt_type_kind = Parsetree.type_kind = | Ptype_abstract| Ptype_variant of pt_constructor_declaration list| Ptype_record of pt_label_declaration list| Ptype_open
and pt_label_declaration = Parsetree.label_declaration = {pld_name : string Asttypes.loc;pld_mutable : Asttypes.mutable_flag;pld_type : pt_core_type;pld_loc : Location_visitors.location_t;pld_attributes : pt_attributes;
}and pt_constructor_declaration = Parsetree.constructor_declaration = {pcd_name : string Asttypes.loc;pcd_args : pt_constructor_arguments;pcd_res : pt_core_type option;pcd_loc : Location_visitors.location_t;pcd_attributes : pt_attributes;
}and pt_constructor_arguments = Parsetree.constructor_arguments = | Pcstr_tuple of pt_core_type list| Pcstr_record of pt_label_declaration list
and pt_type_extension = Parsetree.type_extension = {ptyext_path : Longident_visitors.longident_t Asttypes.loc;ptyext_params : (pt_core_type * Asttypes.variance) list;ptyext_constructors : pt_extension_constructor list;ptyext_private : Asttypes.private_flag;ptyext_loc : Location_visitors.location_t;ptyext_attributes : pt_attributes;
}and pt_extension_constructor = Parsetree.extension_constructor = {pext_name : string Asttypes.loc;pext_kind : pt_extension_constructor_kind;pext_loc : Location_visitors.location_t;pext_attributes : pt_attributes;
}and pt_type_exception = Parsetree.type_exception = {ptyexn_constructor : pt_extension_constructor;ptyexn_loc : Location_visitors.location_t;ptyexn_attributes : pt_attributes;
}and pt_extension_constructor_kind = Parsetree.extension_constructor_kind = | Pext_decl of pt_constructor_arguments * pt_core_type option| Pext_rebind of Longident_visitors.longident_t Asttypes.loc
and pt_class_type = Parsetree.class_type = {pcty_desc : pt_class_type_desc;pcty_loc : Location_visitors.location_t;pcty_attributes : pt_attributes;
}and pt_class_type_desc = Parsetree.class_type_desc = | Pcty_constr of Longident_visitors.longident_t Asttypes.loc * pt_core_type list| Pcty_signature of pt_class_signature| Pcty_arrow of Asttypes.arg_label * pt_core_type * pt_class_type| Pcty_extension of pt_extension| Pcty_open of pt_open_description * pt_class_type
and pt_class_signature = Parsetree.class_signature = {pcsig_self : pt_core_type;pcsig_fields : pt_class_type_field list;
}and pt_class_type_field = Parsetree.class_type_field = {pctf_desc : pt_class_type_field_desc;pctf_loc : Location_visitors.location_t;pctf_attributes : pt_attributes;
}and pt_class_type_field_desc = Parsetree.class_type_field_desc = | Pctf_inherit of pt_class_type| Pctf_val of Asttypes.label Asttypes.loc * Asttypes.mutable_flag * Asttypes.virtual_flag * pt_core_type| Pctf_method of Asttypes.label Asttypes.loc * Asttypes.private_flag * Asttypes.virtual_flag * pt_core_type| Pctf_constraint of pt_core_type * pt_core_type| Pctf_attribute of pt_attribute| Pctf_extension of pt_extension
and 'a pt_class_infos = 'a Parsetree.class_infos = {pci_virt : Asttypes.virtual_flag;pci_params : (pt_core_type * Asttypes.variance) list;pci_name : string Asttypes.loc;pci_expr : 'a;pci_loc : Location_visitors.location_t;pci_attributes : pt_attributes;
}and pt_class_description = pt_class_type pt_class_infosand pt_class_type_declaration = pt_class_type pt_class_infosand pt_class_expr = Parsetree.class_expr = {pcl_desc : pt_class_expr_desc;pcl_loc : Location_visitors.location_t;pcl_attributes : pt_attributes;
}and pt_class_expr_desc = Parsetree.class_expr_desc = | Pcl_constr of Longident_visitors.longident_t Asttypes.loc * pt_core_type list| Pcl_structure of pt_class_structure| Pcl_fun of Asttypes.arg_label * pt_expression option * pt_pattern * pt_class_expr| Pcl_apply of pt_class_expr * (Asttypes.arg_label * pt_expression) list| Pcl_let of Asttypes.rec_flag * pt_value_binding list * pt_class_expr| Pcl_constraint of pt_class_expr * pt_class_type| Pcl_extension of pt_extension| Pcl_open of pt_open_description * pt_class_expr
and pt_class_structure = Parsetree.class_structure = {pcstr_self : pt_pattern;pcstr_fields : pt_class_field list;
}and pt_class_field = Parsetree.class_field = {pcf_desc : pt_class_field_desc;pcf_loc : Location_visitors.location_t;pcf_attributes : pt_attributes;
}and pt_class_field_desc = Parsetree.class_field_desc = | Pcf_inherit of Asttypes.override_flag * pt_class_expr * string Asttypes.loc option| Pcf_val of Asttypes.label Asttypes.loc * Asttypes.mutable_flag * pt_class_field_kind| Pcf_method of Asttypes.label Asttypes.loc * Asttypes.private_flag * pt_class_field_kind| Pcf_constraint of pt_core_type * pt_core_type| Pcf_initializer of pt_expression| Pcf_attribute of pt_attribute| Pcf_extension of pt_extension
and pt_class_field_kind = Parsetree.class_field_kind = | Cfk_virtual of pt_core_type| Cfk_concrete of Asttypes.override_flag * pt_expression
and pt_class_declaration = pt_class_expr pt_class_infosand pt_module_type = Parsetree.module_type = {pmty_desc : pt_module_type_desc;pmty_loc : Location_visitors.location_t;pmty_attributes : pt_attributes;
}and pt_module_type_desc = Parsetree.module_type_desc = | Pmty_ident of Longident_visitors.longident_t Asttypes.loc| Pmty_signature of pt_signature| Pmty_functor of string Asttypes.loc * pt_module_type option * pt_module_type| Pmty_with of pt_module_type * pt_with_constraint list| Pmty_typeof of pt_module_expr| Pmty_extension of pt_extension| Pmty_alias of Longident_visitors.longident_t Asttypes.loc
and pt_signature = pt_signature_item listand pt_signature_item = Parsetree.signature_item = {psig_desc : pt_signature_item_desc;psig_loc : Location_visitors.location_t;
}and pt_signature_item_desc = Parsetree.signature_item_desc = | Psig_value of pt_value_description| Psig_type of Asttypes.rec_flag * pt_type_declaration list| Psig_typesubst of pt_type_declaration list| Psig_typext of pt_type_extension| Psig_exception of pt_type_exception| Psig_module of pt_module_declaration| Psig_modsubst of pt_module_substitution| Psig_recmodule of pt_module_declaration list| Psig_modtype of pt_module_type_declaration| Psig_open of pt_open_description| Psig_include of pt_include_description| Psig_class of pt_class_description list| Psig_class_type of pt_class_type_declaration list| Psig_attribute of pt_attribute| Psig_extension of pt_extension * pt_attributes
and pt_module_declaration = Parsetree.module_declaration = {pmd_name : string Asttypes.loc;pmd_type : pt_module_type;pmd_attributes : pt_attributes;pmd_loc : Location_visitors.location_t;
}and pt_module_substitution = Parsetree.module_substitution = {pms_name : string Asttypes.loc;pms_manifest : Longident_visitors.longident_t Asttypes.loc;pms_attributes : pt_attributes;pms_loc : Location_visitors.location_t;
}and pt_module_type_declaration = Parsetree.module_type_declaration = {pmtd_name : string Asttypes.loc;pmtd_type : pt_module_type option;pmtd_attributes : pt_attributes;pmtd_loc : Location_visitors.location_t;
}and 'a pt_open_infos = 'a Parsetree.open_infos = {popen_expr : 'a;popen_override : Asttypes.override_flag;popen_loc : Location_visitors.location_t;popen_attributes : pt_attributes;
}and pt_open_description =
  Longident_visitors.longident_t Asttypes.loc pt_open_infosand pt_open_declaration = pt_module_expr pt_open_infosand 'a pt_include_infos = 'a Parsetree.include_infos = {pincl_mod : 'a;pincl_loc : Location_visitors.location_t;pincl_attributes : pt_attributes;
}and pt_include_description = pt_module_type pt_include_infosand pt_include_declaration = pt_module_expr pt_include_infosand pt_with_constraint = Parsetree.with_constraint = | Pwith_type of Longident_visitors.longident_t Asttypes.loc * pt_type_declaration| Pwith_module of Longident_visitors.longident_t Asttypes.loc * Longident_visitors.longident_t Asttypes.loc| Pwith_typesubst of Longident_visitors.longident_t Asttypes.loc * pt_type_declaration| Pwith_modsubst of Longident_visitors.longident_t Asttypes.loc * Longident_visitors.longident_t Asttypes.loc
and pt_module_expr = Parsetree.module_expr = {pmod_desc : pt_module_expr_desc;pmod_loc : Location_visitors.location_t;pmod_attributes : pt_attributes;
}and pt_module_expr_desc = Parsetree.module_expr_desc = | Pmod_ident of Longident_visitors.longident_t Asttypes.loc| Pmod_structure of pt_structure| Pmod_functor of string Asttypes.loc * pt_module_type option * pt_module_expr| Pmod_apply of pt_module_expr * pt_module_expr| Pmod_constraint of pt_module_expr * pt_module_type| Pmod_unpack of pt_expression| Pmod_extension of pt_extension
and pt_structure = pt_structure_item listand pt_structure_item = Parsetree.structure_item = {pstr_desc : pt_structure_item_desc;pstr_loc : Location_visitors.location_t;
}and pt_structure_item_desc = Parsetree.structure_item_desc = | Pstr_eval of pt_expression * pt_attributes| Pstr_value of Asttypes.rec_flag * pt_value_binding list| Pstr_primitive of pt_value_description| Pstr_type of Asttypes.rec_flag * pt_type_declaration list| Pstr_typext of pt_type_extension| Pstr_exception of pt_type_exception| Pstr_module of pt_module_binding| Pstr_recmodule of pt_module_binding list| Pstr_modtype of pt_module_type_declaration| Pstr_open of pt_open_declaration| Pstr_class of pt_class_declaration list| Pstr_class_type of pt_class_type_declaration list| Pstr_include of pt_include_declaration| Pstr_attribute of pt_attribute| Pstr_extension of pt_extension * pt_attributes
and pt_value_binding = Parsetree.value_binding = {pvb_pat : pt_pattern;pvb_expr : pt_expression;pvb_attributes : pt_attributes;pvb_loc : Location_visitors.location_t;
}and pt_module_binding = Parsetree.module_binding = {pmb_name : string Asttypes.loc;pmb_expr : pt_module_expr;pmb_attributes : pt_attributes;pmb_loc : Location_visitors.location_t;
}include sig ... end
class virtual +'b iter : object ... endinclude sig ... end
class virtual +'c map : object ... endinclude sig ... end
class virtual +'b reduce : object ... endinclude sig ... end
class +'c iter2 : object ... end sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >