package ppxlib

  1. Overview
  2. Docs
Standard library for ppx rewriters

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ppxlib-0.25.1.tbz
sha256=a51b3868029e62ff14a0f2bd8d278dacfc0c3fc5b22d484a296be90c53e4ffd7
sha512=6a6d9af49344e901cc9e6da7bcf38c2973705c8cee4cff1c64c0393e9ccc55a6abec1f58d5b56d0807939a3741bec722ee7bfc244f94619167a30438f182488a

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