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