package ppxlib
Standard library for ppx rewriters
Install
Dune Dependency
Authors
Maintainers
Sources
ppxlib-0.20.0.tbz
sha256=1cb5903ef257de9c93e154cbb53df5979d4ad0f041d01967ea5984dd6d2cad37
sha512=fa4179e821a88b70cf874488f2f8fcc7d0d52a2df50069dd8822d57c61a88c92c40e782267dbca0a8efc2f35976eaed73f85fcbec4299585dcf7b748ccd1c19f
doc/ppxlib_traverse/Ppxlib_traverse/index.html
Module Ppxlib_traverse
val vars_of_list :
get_loc:('a -> Ppxlib.location) ->
'a Stdppx.List.t ->
string Ppxlib.loc list
val evar_of_var :
string Ppxlib.loc ->
Migrate_parsetree.Ast_411.Parsetree.expression
val pvar_of_var :
string Ppxlib.loc ->
Migrate_parsetree.Ast_411.Parsetree.pattern
val tvar_of_var :
string Ppxlib.loc ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val evars_of_vars :
string Ppxlib.loc list ->
Migrate_parsetree.Ast_411.Parsetree.expression list
val pvars_of_vars :
string Ppxlib.loc list ->
Migrate_parsetree.Ast_411.Parsetree.pattern list
val tvars_of_vars :
string Ppxlib.loc list ->
Migrate_parsetree.Ast_411.Parsetree.core_type list
module Backends : sig ... end
type what = Backends.what
val mapper_type :
what:what ->
loc:Warnings.loc ->
Ppxlib_ast__.Import.Longident.t Location.loc ->
Ppxlib.core_type Stdppx.List.t ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val constrained_mapper :
what:what ->
?is_gadt:bool ->
Ppxlib.expression ->
Ppxlib.type_declaration ->
Migrate_parsetree.Ast_411.Parsetree.expression
val mangle_type_name : Ppxlib.longident -> string
val type_expr_mapper :
what:what ->
Ppxlib.core_type ->
Migrate_parsetree.Ast_411.Parsetree.expression
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:Warnings.loc ->
Ppxlib.label_declaration list ->
Migrate_parsetree.Ast_411.Parsetree.pattern
* Migrate_parsetree.Ast_411.Parsetree.expression
* (string Ppxlib.loc * Ppxlib.expression) list
val gen_record :
what:what ->
loc:Warnings.loc ->
Ppxlib.label_declaration list ->
Ppxlib.expression
val is_constant_constructor : Ppxlib.constructor_declaration -> bool
val erase_type_variables : Ppxlib.Ast_traverse.map
val gen_variant :
what:what ->
loc:Ppxlib.Location.t ->
Ppxlib.constructor_declaration list ->
Ppxlib.expression
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
val gen_class :
what:what ->
loc:Ppxlib.Location.t ->
Ppxlib.type_declaration list ->
Migrate_parsetree.Ast_411.Parsetree.class_expr
Migrate_parsetree.Ast_411.Parsetree.class_infos
val gen_str :
what:what ->
loc:Ppxlib.Location.t ->
path:'a ->
(Ppxlib.rec_flag * Ppxlib.type_declaration list) ->
Migrate_parsetree.Ast_411.Parsetree.structure_item list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>