package ppxlib

  1. Overview
  2. Docs
Standard infrastructure for ppx rewriters

Install

Dune Dependency

Authors

Maintainers

Sources

ppxlib-0.33.0.tbz
sha256=ffa44ef551f23b75e21dbd698a30310431381aaf140b9fe4b81c2e70a2d2c63a
sha512=cd865efc78e85d662fab3d05de7675a46252a241db44cbf13a930017c6890da5f161fbf8511b97abd9d61bffca0cb84b3adf580b55a3820afdb4a2337e9a4a63

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

Module Ppxlib_ast.Select_astSource

Parameters

module Ocaml : sig ... end

Signature

Ast definition for this version

Sourceval version : int
Sourceval string_version : string
Sourcetype 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 ; class_expr : Ast.Parsetree.class_expr ; class_field : Ast.Parsetree.class_field ; class_type : Ast.Parsetree.class_type ; class_signature : Ast.Parsetree.class_signature ; class_type_field : Ast.Parsetree.class_type_field ; module_expr : Ast.Parsetree.module_expr ; module_type : Ast.Parsetree.module_type ; signature_item : Ast.Parsetree.signature_item ; structure_item : Ast.Parsetree.structure_item >

Shortcut for talking about Ast types

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

A construtor for recovering type equalities between two arbitrary versions.

Sourceval migration_info : types Ppxlib_ast__.Versions.migration_info

Information used to derive migration functions, see below

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

Innovation. Community. Security.