package ppxlib

  1. Overview
  2. Docs
Base library and tools for ppx rewriters

Install

Dune Dependency

Authors

Maintainers

Sources

ppxlib-0.13.0.tbz
sha256=81e1f3d308500e0e7f6108d5b0dda2b879640a5c21ef3dc4a9bd90381cee39d9
sha512=c94bab35affdbdd2562de7ad30eb97282568c2c7fe48229fab5d12d1fc73312a9ee398758d598d969318cc01e8f88df9958e91820785e39d8faf3dbd7bc2e606

doc/ppxlib.ast/Ppxlib_ast/Select_ast/index.html

Module Ppxlib_ast.Select_ast

Parameters

Signature

include module type of struct include Migrate_parsetree.OCaml_408 end

Ast definition for this version

val version : int
val string_version : string
type types = < structure : Ast.Parsetree.structure ; signature : Ast.Parsetree.signature ; toplevel_phrase : Ast.Parsetree.toplevel_phrase ; core_type : Ast.Parsetree.core_type ; expression : Ast.Parsetree.expression ; pattern : Ast.Parsetree.pattern ; case : Ast.Parsetree.case ; type_declaration : Ast.Parsetree.type_declaration ; type_extension : Ast.Parsetree.type_extension ; extension_constructor : Ast.Parsetree.extension_constructor ; out_value : Ast.Outcometree.out_value ; out_type : Ast.Outcometree.out_type ; out_class_type : Ast.Outcometree.out_class_type ; out_module_type : Ast.Outcometree.out_module_type ; out_sig_item : Ast.Outcometree.out_sig_item ; out_type_extension : Ast.Outcometree.out_type_extension ; out_phrase : Ast.Outcometree.out_phrase ; mapper : Ast.Ast_mapper.mapper >

Shortcut for talking about Ast types

type Migrate_parsetree__.Migrate_parsetree_versions.witnesses +=
  1. | Version : types Migrate_parsetree__.Migrate_parsetree_versions.witnesses

A construtor for recovering type equalities between two arbitrary versions.

val migration_info : types Migrate_parsetree__.Migrate_parsetree_versions.migration_info

Information used to derive migration functions, see below

module Type : sig ... end
module Of_ocaml : sig ... end
module To_ocaml : sig ... end
val of_ocaml : 'ocaml 'js. ('js, 'ocaml) Type.t -> 'ocaml -> 'js
val to_ocaml : 'ocaml 'js. ('js, 'ocaml) Type.t -> 'js -> 'ocaml
val of_ocaml_mapper : ('a, 'b) Type.t -> ('b -> 'b) -> 'a -> 'a
val to_ocaml_mapper : ('a, 'b) Type.t -> ('a -> 'a) -> 'b -> 'b
OCaml

Innovation. Community. Security.