Module Astlib.Migrate_505_504

module From = Ast_505
module To = Ast_504
module External_type : sig ... end
val copy_location : 'a -> 'a
val copy_loc : 'f0 'g0. ('f0 -> 'g0) -> 'f0 Ast_505.Asttypes.loc -> 'g0 Ast_504.Asttypes.loc
val copy_class_infos : 'f0 'g0. ('f0 -> 'g0) -> 'f0 Ast_505.Parsetree.class_infos -> 'g0 Ast_504.Parsetree.class_infos
val copy_open_infos : 'f0 'g0. ('f0 -> 'g0) -> 'f0 Ast_505.Parsetree.open_infos -> 'g0 Ast_504.Parsetree.open_infos
val copy_include_infos : 'f0 'g0. ('f0 -> 'g0) -> 'f0 Ast_505.Parsetree.include_infos -> 'g0 Ast_504.Parsetree.include_infos

The functions below are provided to keep a coherent and stable API with other migrate_X_Y modules while allowing us to locally define variations of those functions used to encode 5.5 features into the 5.4 AST.