package ppxlib

  1. Overview
  2. Docs
Standard library for ppx rewriters

Install

Dune Dependency

Authors

Maintainers

Sources

ppxlib-0.23.0.tbz
sha256=1b5836c186b9d5a16acf47da94f3968f4f08b519b7729cd86a8fd39971fe12e5
sha512=00352fe61756f5aad5fd89b3cc596b619e5a5cf6808dcb0c197369bfff9f1ba182b4c6e5ea0e67269c9441b7b9b28f2a70d63fb972dfda64fc1a8404f7924753

doc/ppxlib_traverse/Ppxlib_traverse/index.html

Module Ppxlib_traverse

val alphabet : string array
val vars_of_list : get_loc:('a -> Ppxlib.location) -> 'a Stdppx.List.t -> string Ppxlib.loc list
val pvar_of_var : string Ppxlib.loc -> Astlib.Ast_412.Parsetree.pattern
val evars_of_vars : string Ppxlib.loc list -> Astlib.Ast_412.Parsetree.expression list
val pvars_of_vars : string Ppxlib.loc list -> Astlib.Ast_412.Parsetree.pattern list
val tvars_of_vars : string Ppxlib.loc list -> Astlib.Ast_412.Parsetree.core_type list
module Backends : sig ... end
type what = Backends.what
val constrained_mapper : what:what -> ?is_gadt:bool -> Ppxlib.expression -> Ppxlib.type_declaration -> Astlib.Ast_412.Parsetree.expression
val mangle_type_name : Ppxlib.longident -> string
val map_variables : what:what -> string Ppxlib.loc list -> Ppxlib.core_type list -> (string Ppxlib.loc * Ppxlib.expression) list
val gen_record : what:what -> loc:Astlib.Location.t -> Ppxlib.label_declaration list -> Ppxlib.expression
val is_constant_constructor : Ppxlib.constructor_declaration -> bool
val erase_type_variables : Ppxlib.Ast_traverse.map
val gen_mapper : what:what -> Ppxlib.type_declaration -> Ppxlib.expression
val type_deps : Ppxlib.type_declaration list -> (Ppxlib.Longident.Map.key * int) list
val lift_virtual_methods : loc:Ppxlib.location -> Ppxlib_ast.Ast.class_field list -> Ppxlib.class_field list
OCaml

Innovation. Community. Security.