module Filename = Caml.Filename
val rewrite : drop_item:('a -> Base.unit) -> eval_item:(Env.t -> 'a -> 'a) -> of_item:('a -> 'a Ppx_optcomp__.Token.t) -> env:Env.t -> 'a Base.list -> Env.t * 'a Base.list
val map : < arg_label : Env.t -> Ppxlib__.Import.Ast.arg_label -> Ppxlib__.Import.Ast.arg_label; array : a. (Env.t, 'a) Ppxlib_traverse_builtins.T.map_with_context -> (Env.t, 'a array) Ppxlib_traverse_builtins.T.map_with_context; attribute : Env.t -> Ppxlib__.Import.Ast.attribute -> Ppxlib__.Import.Ast.attribute; attributes : Env.t -> Ppxlib__.Import.Ast.attributes -> Ppxlib__.Import.Ast.attributes; bool : (Env.t, bool) Ppxlib_traverse_builtins.T.map_with_context; case : Env.t -> Ppxlib__.Import.Ast.case -> Ppxlib__.Import.Ast.case; char : (Env.t, char) Ppxlib_traverse_builtins.T.map_with_context; class_declaration : Env.t -> Ppxlib__.Import.Ast.class_declaration -> Ppxlib__.Import.Ast.class_declaration; class_description : Env.t -> Ppxlib__.Import.Ast.class_description -> Ppxlib__.Import.Ast.class_description; class_expr : Env.t -> Ppxlib__.Import.Ast.class_expr -> Ppxlib__.Import.Ast.class_expr; class_expr_desc : Env.t -> Ppxlib__.Import.Ast.class_expr_desc -> Ppxlib__.Import.Ast.class_expr_desc; class_field : Env.t -> Ppxlib__.Import.Ast.class_field -> Ppxlib__.Import.Ast.class_field; class_field_desc : Env.t -> Ppxlib__.Import.Ast.class_field_desc -> Ppxlib__.Import.Ast.class_field_desc; class_field_kind : Env.t -> Ppxlib__.Import.Ast.class_field_kind -> Ppxlib__.Import.Ast.class_field_kind; class_infos : a. (Env.t -> 'a -> 'a) -> Env.t -> 'a Ppxlib__.Import.Ast.class_infos -> 'a Ppxlib__.Import.Ast.class_infos; class_signature : Env.t -> Ppxlib__.Import.Ast.class_signature -> Ppxlib__.Import.Ast.class_signature; class_structure : Env.t -> Ppxlib__.Import.Ast.class_structure -> Ppxlib__.Import.Ast.class_structure; class_type : Env.t -> Ppxlib__.Import.Ast.class_type -> Ppxlib__.Import.Ast.class_type; class_type_declaration : Env.t -> Ppxlib__.Import.Ast.class_type_declaration -> Ppxlib__.Import.Ast.class_type_declaration; class_type_desc : Env.t -> Ppxlib__.Import.Ast.class_type_desc -> Ppxlib__.Import.Ast.class_type_desc; class_type_field : Env.t -> Ppxlib__.Import.Ast.class_type_field -> Ppxlib__.Import.Ast.class_type_field; class_type_field_desc : Env.t -> Ppxlib__.Import.Ast.class_type_field_desc -> Ppxlib__.Import.Ast.class_type_field_desc; closed_flag : Env.t -> Ppxlib__.Import.Ast.closed_flag -> Ppxlib__.Import.Ast.closed_flag; constant : Env.t -> Ppxlib__.Import.Ast.constant -> Ppxlib__.Import.Ast.constant; constructor_arguments : Env.t -> Ppxlib__.Import.Ast.constructor_arguments -> Ppxlib__.Import.Ast.constructor_arguments; constructor_declaration : Env.t -> Ppxlib__.Import.Ast.constructor_declaration -> Ppxlib__.Import.Ast.constructor_declaration; core_type : Env.t -> Ppxlib__.Import.Ast.core_type -> Ppxlib__.Import.Ast.core_type; core_type_desc : Env.t -> Ppxlib__.Import.Ast.core_type_desc -> Ppxlib__.Import.Ast.core_type_desc; direction_flag : Env.t -> Ppxlib__.Import.Ast.direction_flag -> Ppxlib__.Import.Ast.direction_flag; directive_argument : Env.t -> Ppxlib__.Import.Ast.directive_argument -> Ppxlib__.Import.Ast.directive_argument; expression : Env.t -> Ppxlib__.Import.Ast.expression -> Ppxlib__.Import.Ast.expression; expression_desc : Env.t -> Ppxlib__.Import.Ast.expression_desc -> Ppxlib__.Import.Ast.expression_desc; extension : Env.t -> Ppxlib__.Import.Ast.extension -> Ppxlib__.Import.Ast.extension; extension_constructor : Env.t -> Ppxlib__.Import.Ast.extension_constructor -> Ppxlib__.Import.Ast.extension_constructor; extension_constructor_kind : Env.t -> Ppxlib__.Import.Ast.extension_constructor_kind -> Ppxlib__.Import.Ast.extension_constructor_kind; include_declaration : Env.t -> Ppxlib__.Import.Ast.include_declaration -> Ppxlib__.Import.Ast.include_declaration; include_description : Env.t -> Ppxlib__.Import.Ast.include_description -> Ppxlib__.Import.Ast.include_description; include_infos : a. (Env.t -> 'a -> 'a) -> Env.t -> 'a Ppxlib__.Import.Ast.include_infos -> 'a Ppxlib__.Import.Ast.include_infos; int : (Env.t, int) Ppxlib_traverse_builtins.T.map_with_context; label : Env.t -> Ppxlib__.Import.Ast.label -> Ppxlib__.Import.Ast.label; label_declaration : Env.t -> Ppxlib__.Import.Ast.label_declaration -> Ppxlib__.Import.Ast.label_declaration; list : a. (Env.t, 'a) Ppxlib_traverse_builtins.T.map_with_context -> (Env.t, 'a list) Ppxlib_traverse_builtins.T.map_with_context; loc : a. (Env.t -> 'a -> 'a) -> Env.t -> 'a Ppxlib__.Import.Ast.loc -> 'a Ppxlib__.Import.Ast.loc; location : Env.t -> Ppxlib__.Import.Ast.location -> Ppxlib__.Import.Ast.location; longident : Env.t -> Ppxlib__.Import.Ast.longident -> Ppxlib__.Import.Ast.longident; longident_loc : Env.t -> Ppxlib__.Import.Ast.longident_loc -> Ppxlib__.Import.Ast.longident_loc; module_binding : Env.t -> Ppxlib__.Import.Ast.module_binding -> Ppxlib__.Import.Ast.module_binding; module_declaration : Env.t -> Ppxlib__.Import.Ast.module_declaration -> Ppxlib__.Import.Ast.module_declaration; module_expr : Env.t -> Ppxlib__.Import.Ast.module_expr -> Ppxlib__.Import.Ast.module_expr; module_expr_desc : Env.t -> Ppxlib__.Import.Ast.module_expr_desc -> Ppxlib__.Import.Ast.module_expr_desc; module_type : Env.t -> Ppxlib__.Import.Ast.module_type -> Ppxlib__.Import.Ast.module_type; module_type_declaration : Env.t -> Ppxlib__.Import.Ast.module_type_declaration -> Ppxlib__.Import.Ast.module_type_declaration; module_type_desc : Env.t -> Ppxlib__.Import.Ast.module_type_desc -> Ppxlib__.Import.Ast.module_type_desc; mutable_flag : Env.t -> Ppxlib__.Import.Ast.mutable_flag -> Ppxlib__.Import.Ast.mutable_flag; object_field : Env.t -> Ppxlib__.Import.Ast.object_field -> Ppxlib__.Import.Ast.object_field; open_description : Env.t -> Ppxlib__.Import.Ast.open_description -> Ppxlib__.Import.Ast.open_description; option : a. (Env.t, 'a) Ppxlib_traverse_builtins.T.map_with_context -> (Env.t, 'a option) Ppxlib_traverse_builtins.T.map_with_context; override_flag : Env.t -> Ppxlib__.Import.Ast.override_flag -> Ppxlib__.Import.Ast.override_flag; package_type : Env.t -> Ppxlib__.Import.Ast.package_type -> Ppxlib__.Import.Ast.package_type; pattern : Env.t -> Ppxlib__.Import.Ast.pattern -> Ppxlib__.Import.Ast.pattern; pattern_desc : Env.t -> Ppxlib__.Import.Ast.pattern_desc -> Ppxlib__.Import.Ast.pattern_desc; payload : Env.t -> Ppxlib__.Import.Ast.payload -> Ppxlib__.Import.Ast.payload; position : Env.t -> Ppxlib__.Import.Ast.position -> Ppxlib__.Import.Ast.position; private_flag : Env.t -> Ppxlib__.Import.Ast.private_flag -> Ppxlib__.Import.Ast.private_flag; rec_flag : Env.t -> Ppxlib__.Import.Ast.rec_flag -> Ppxlib__.Import.Ast.rec_flag; row_field : Env.t -> Ppxlib__.Import.Ast.row_field -> Ppxlib__.Import.Ast.row_field; signature : Env.t -> Ppxlib__.Import.Ast.signature -> Ppxlib__.Import.Ast.signature; signature_gen : Env.t -> Ppxlib__.Import.Ast.signature_item Base.list -> Env.t * Ppxlib__.Import.Ast.signature_item Base.list; signature_item : Env.t -> Ppxlib__.Import.Ast.signature_item -> Ppxlib__.Import.Ast.signature_item; signature_item_desc : Env.t -> Ppxlib__.Import.Ast.signature_item_desc -> Ppxlib__.Import.Ast.signature_item_desc; string : (Env.t, string) Ppxlib_traverse_builtins.T.map_with_context; structure : Env.t -> Ppxlib__.Import.Ast.structure -> Ppxlib__.Import.Ast.structure; structure_gen : Env.t -> Ppxlib__.Import.Ast.structure_item Base.list -> Env.t * Ppxlib__.Import.Ast.structure_item Base.list; structure_item : Env.t -> Ppxlib__.Import.Ast.structure_item -> Ppxlib__.Import.Ast.structure_item; structure_item_desc : Env.t -> Ppxlib__.Import.Ast.structure_item_desc -> Ppxlib__.Import.Ast.structure_item_desc; toplevel_phrase : Env.t -> Ppxlib__.Import.Ast.toplevel_phrase -> Ppxlib__.Import.Ast.toplevel_phrase; type_declaration : Env.t -> Ppxlib__.Import.Ast.type_declaration -> Ppxlib__.Import.Ast.type_declaration; type_extension : Env.t -> Ppxlib__.Import.Ast.type_extension -> Ppxlib__.Import.Ast.type_extension; type_kind : Env.t -> Ppxlib__.Import.Ast.type_kind -> Ppxlib__.Import.Ast.type_kind; value_binding : Env.t -> Ppxlib__.Import.Ast.value_binding -> Ppxlib__.Import.Ast.value_binding; value_description : Env.t -> Ppxlib__.Import.Ast.value_description -> Ppxlib__.Import.Ast.value_description; variance : Env.t -> Ppxlib__.Import.Ast.variance -> Ppxlib__.Import.Ast.variance; virtual_flag : Env.t -> Ppxlib__.Import.Ast.virtual_flag -> Ppxlib__.Import.Ast.virtual_flag; with_constraint : Env.t -> Ppxlib__.Import.Ast.with_constraint -> Ppxlib__.Import.Ast.with_constraint; >
val state : Env.t Base.ref
val preprocess : f:(Env.t -> 'a -> Env.t * 'b) -> 'a -> 'b