Module Tast_mapper
A generic Typedtree mapper
type mapper = {attribute : Tast_mapper.mapper -> Typedtree.attribute -> Typedtree.attribute;attributes : Tast_mapper.mapper -> Typedtree.attributes -> Typedtree.attributes;binding_op : Tast_mapper.mapper -> Typedtree.binding_op -> Typedtree.binding_op;case : 'k. Tast_mapper.mapper -> 'k Typedtree.case -> 'k Typedtree.case;class_declaration : Tast_mapper.mapper -> Typedtree.class_declaration -> Typedtree.class_declaration;class_description : Tast_mapper.mapper -> Typedtree.class_description -> Typedtree.class_description;class_expr : Tast_mapper.mapper -> Typedtree.class_expr -> Typedtree.class_expr;class_field : Tast_mapper.mapper -> Typedtree.class_field -> Typedtree.class_field;class_signature : Tast_mapper.mapper -> Typedtree.class_signature -> Typedtree.class_signature;class_structure : Tast_mapper.mapper -> Typedtree.class_structure -> Typedtree.class_structure;class_type : Tast_mapper.mapper -> Typedtree.class_type -> Typedtree.class_type;class_type_declaration : Tast_mapper.mapper -> Typedtree.class_type_declaration -> Typedtree.class_type_declaration;class_type_field : Tast_mapper.mapper -> Typedtree.class_type_field -> Typedtree.class_type_field;env : Tast_mapper.mapper -> Env.t -> Env.t;expr : Tast_mapper.mapper -> Typedtree.expression -> Typedtree.expression;extension_constructor : Tast_mapper.mapper -> Typedtree.extension_constructor -> Typedtree.extension_constructor;jkind_annotation : Tast_mapper.mapper -> Parsetree.jkind_annotation -> Parsetree.jkind_annotation;location : Tast_mapper.mapper -> Location.t -> Location.t;module_binding : Tast_mapper.mapper -> Typedtree.module_binding -> Typedtree.module_binding;module_coercion : Tast_mapper.mapper -> Typedtree.module_coercion -> Typedtree.module_coercion;module_declaration : Tast_mapper.mapper -> Typedtree.module_declaration -> Typedtree.module_declaration;module_substitution : Tast_mapper.mapper -> Typedtree.module_substitution -> Typedtree.module_substitution;module_expr : Tast_mapper.mapper -> Typedtree.module_expr -> Typedtree.module_expr;module_type : Tast_mapper.mapper -> Typedtree.module_type -> Typedtree.module_type;module_type_declaration : Tast_mapper.mapper -> Typedtree.module_type_declaration -> Typedtree.module_type_declaration;package_type : Tast_mapper.mapper -> Typedtree.package_type -> Typedtree.package_type;pat : 'k. Tast_mapper.mapper -> 'k Typedtree.general_pattern -> 'k Typedtree.general_pattern;row_field : Tast_mapper.mapper -> Typedtree.row_field -> Typedtree.row_field;object_field : Tast_mapper.mapper -> Typedtree.object_field -> Typedtree.object_field;open_declaration : Tast_mapper.mapper -> Typedtree.open_declaration -> Typedtree.open_declaration;open_description : Tast_mapper.mapper -> Typedtree.open_description -> Typedtree.open_description;signature : Tast_mapper.mapper -> Typedtree.signature -> Typedtree.signature;signature_item : Tast_mapper.mapper -> Typedtree.signature_item -> Typedtree.signature_item;structure : Tast_mapper.mapper -> Typedtree.structure -> Typedtree.structure;structure_item : Tast_mapper.mapper -> Typedtree.structure_item -> Typedtree.structure_item;typ : Tast_mapper.mapper -> Typedtree.core_type -> Typedtree.core_type;type_declaration : Tast_mapper.mapper -> Typedtree.type_declaration -> Typedtree.type_declaration;type_declarations : Tast_mapper.mapper -> (Asttypes.rec_flag * Typedtree.type_declaration list) -> Asttypes.rec_flag * Typedtree.type_declaration list;type_extension : Tast_mapper.mapper -> Typedtree.type_extension -> Typedtree.type_extension;type_exception : Tast_mapper.mapper -> Typedtree.type_exception -> Typedtree.type_exception;type_kind : Tast_mapper.mapper -> Typedtree.type_kind -> Typedtree.type_kind;value_binding : Tast_mapper.mapper -> Typedtree.value_binding -> Typedtree.value_binding;value_bindings : Tast_mapper.mapper -> (Asttypes.rec_flag * Typedtree.value_binding list) -> Asttypes.rec_flag * Typedtree.value_binding list;value_description : Tast_mapper.mapper -> Typedtree.value_description -> Typedtree.value_description;with_constraint : Tast_mapper.mapper -> Typedtree.with_constraint -> Typedtree.with_constraint;
}val default : Tast_mapper.mapper