package ppxlib

  1. Overview
  2. Docs
Standard library for ppx rewriters

Install

Dune Dependency

Authors

Maintainers

Sources

ppxlib-0.24.0.tbz
sha256=7766027c2ecd0f5b3b460e9212a70709c6744278113eb91f317c56c41e7a90c8
sha512=726e48899c43f8bee1935618827e68b2953753a62868e424a2dadf2e156cc60794abacea658686a8a160eccde0f75b95b98daacf2b9242b4f86a92798d47b597

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

Module Ppxlib_ast.Select_ast

Parameters

module Ocaml : sig ... end

Signature

module Ast = Astlib.Ast_412

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 >

Shortcut for talking about Ast types

type Ppxlib_ast__.Versions.witnesses +=
  1. | Version : types Ppxlib_ast__.Versions.witnesses

A construtor for recovering type equalities between two arbitrary versions.

val migration_info : types Ppxlib_ast__.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 -> ('c -> 'b -> 'b) -> 'c -> 'a -> 'a
val to_ocaml_mapper : ('a, 'b) Type.t -> ('c -> 'a -> 'a) -> 'c -> 'b -> 'b
OCaml

Innovation. Community. Security.