123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990moduleFrom=Ast_414moduleTo=Ast_500(*$ open Astlib_cinaps_helpers $*)(*$ foreach_type (fun _ s ->
Printf.printf
"let copy_%s\n\
\ : Ast_414.Parsetree.%s -> Ast_500.Parsetree.%s\n\
\ = fun x -> x\n\n"
s s s
)
*)letcopy_structure:Ast_414.Parsetree.structure->Ast_500.Parsetree.structure=funx->xletcopy_signature:Ast_414.Parsetree.signature->Ast_500.Parsetree.signature=funx->xletcopy_toplevel_phrase:Ast_414.Parsetree.toplevel_phrase->Ast_500.Parsetree.toplevel_phrase=funx->xletcopy_core_type:Ast_414.Parsetree.core_type->Ast_500.Parsetree.core_type=funx->xletcopy_expression:Ast_414.Parsetree.expression->Ast_500.Parsetree.expression=funx->xletcopy_pattern:Ast_414.Parsetree.pattern->Ast_500.Parsetree.pattern=funx->xletcopy_case:Ast_414.Parsetree.case->Ast_500.Parsetree.case=funx->xletcopy_type_declaration:Ast_414.Parsetree.type_declaration->Ast_500.Parsetree.type_declaration=funx->xletcopy_type_extension:Ast_414.Parsetree.type_extension->Ast_500.Parsetree.type_extension=funx->xletcopy_extension_constructor:Ast_414.Parsetree.extension_constructor->Ast_500.Parsetree.extension_constructor=funx->xletcopy_class_expr:Ast_414.Parsetree.class_expr->Ast_500.Parsetree.class_expr=funx->xletcopy_class_field:Ast_414.Parsetree.class_field->Ast_500.Parsetree.class_field=funx->xletcopy_class_type:Ast_414.Parsetree.class_type->Ast_500.Parsetree.class_type=funx->xletcopy_class_signature:Ast_414.Parsetree.class_signature->Ast_500.Parsetree.class_signature=funx->xletcopy_class_type_field:Ast_414.Parsetree.class_type_field->Ast_500.Parsetree.class_type_field=funx->xletcopy_module_expr:Ast_414.Parsetree.module_expr->Ast_500.Parsetree.module_expr=funx->xletcopy_module_type:Ast_414.Parsetree.module_type->Ast_500.Parsetree.module_type=funx->xletcopy_signature_item:Ast_414.Parsetree.signature_item->Ast_500.Parsetree.signature_item=funx->xletcopy_structure_item:Ast_414.Parsetree.structure_item->Ast_500.Parsetree.structure_item=funx->x(*$*)