Ocaml_typing.Btype
Sourceval merge_fixed_explanation :
Types.fixed_explanation option ->
Types.fixed_explanation option ->
Types.fixed_explanation option
val iter_type_expr_cstr_args :
(Types.type_expr -> unit) ->
Types.constructor_arguments ->
unit
val map_type_expr_cstr_args :
(Types.type_expr -> Types.type_expr) ->
Types.constructor_arguments ->
Types.constructor_arguments
type type_iterators = {
it_signature : type_iterators -> Types.signature -> unit;
it_signature_item : type_iterators -> Types.signature_item -> unit;
it_value_description : type_iterators -> Types.value_description -> unit;
it_type_declaration : type_iterators -> Types.type_declaration -> unit;
it_extension_constructor : type_iterators ->
Types.extension_constructor ->
unit;
it_module_declaration : type_iterators -> Types.module_declaration -> unit;
it_modtype_declaration : type_iterators -> Types.modtype_declaration -> unit;
it_class_declaration : type_iterators -> Types.class_declaration -> unit;
it_class_type_declaration : type_iterators ->
Types.class_type_declaration ->
unit;
it_functor_param : type_iterators -> Types.functor_parameter -> unit;
it_module_type : type_iterators -> Types.module_type -> unit;
it_class_type : type_iterators -> Types.class_type -> unit;
it_type_kind : type_iterators -> Types.type_decl_kind -> unit;
it_do_type_expr : type_iterators -> Types.type_expr -> unit;
it_type_expr : type_iterators -> Types.type_expr -> unit;
it_path : Path.t -> unit;
}
val copy_type_desc :
?keep_names:bool ->
(Types.type_expr -> Types.type_expr) ->
Types.type_desc ->
Types.type_desc
val copy_row :
(Types.type_expr -> Types.type_expr) ->
bool ->
Types.row_desc ->
bool ->
Types.type_expr ->
Types.row_desc
val find_expans :
Ocaml_parsing.Asttypes.private_flag ->
Path.t ->
Types.abbrev_memo ->
Types.type_expr option
val memorize_abbrev :
Types.abbrev_memo ref ->
Ocaml_parsing.Asttypes.private_flag ->
Path.t ->
Types.type_expr ->
Types.type_expr ->
unit
val extract_label :
Ocaml_parsing.Asttypes.label ->
(Ocaml_parsing.Asttypes.arg_label * 'a) list ->
(Ocaml_parsing.Asttypes.arg_label
* 'a
* bool
* (Ocaml_parsing.Asttypes.arg_label * 'a) list)
option
val abbreviate_class_type :
Path.t ->
Types.type_expr list ->
Types.class_type ->
Types.class_type
val instance_variable_type :
Ocaml_parsing.Asttypes.label ->
Types.class_signature ->
Types.type_expr