package ppxlib

  1. Overview
  2. Docs
Standard infrastructure for ppx rewriters

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ppxlib-0.39.0.tbz
sha256=441a2814dbac3f5dc0c8dcefca263548e9b4d6dda1ef2990ce6a4999e108be3c
sha512=55ace8f9c8ddb6b495ace105c1b594b983fc37946bd3d9531c1c45160341d2b06e679785e2db76d885eaf481dbf11806e7d9674281c1599f28c38f39ba6b7ae6

doc/ppxlib.astlib/Astlib/Migrate_505_504/index.html

Module Astlib.Migrate_505_504Source

Sourcemodule From = Ast_505
Sourcemodule To = Ast_504
Sourcemodule External_type : sig ... end
Sourceval copy_location : 'a -> 'a
Sourceval copy_loc : 'f0 'g0. ('f0 -> 'g0) -> 'f0 Ast_505.Asttypes.loc -> 'g0 Ast_504.Asttypes.loc
Sourceval copy_class_infos : 'f0 'g0. ('f0 -> 'g0) -> 'f0 Ast_505.Parsetree.class_infos -> 'g0 Ast_504.Parsetree.class_infos
Sourceval copy_open_infos : 'f0 'g0. ('f0 -> 'g0) -> 'f0 Ast_505.Parsetree.open_infos -> 'g0 Ast_504.Parsetree.open_infos
Sourceval 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.