package ocaml-base-compiler

  1. Overview
  2. Docs
module Name = Odoc_name
type private_flag = Asttypes.private_flag =
  1. | Private
  2. | Public
type extension_alias = {
  1. xa_name : Name.t;
  2. mutable xa_xt : t_extension_constructor option;
}
and t_extension_constructor = {
  1. xt_name : Name.t;
  2. xt_args : Odoc_type.constructor_args;
  3. xt_ret : Types.type_expr option;
  4. xt_type_extension : t_type_extension;
  5. xt_alias : extension_alias option;
  6. mutable xt_loc : Odoc_types.location;
  7. mutable xt_text : Odoc_types.info option;
}
and t_type_extension = {
  1. mutable te_info : Odoc_types.info option;
  2. te_type_name : Name.t;
  3. te_type_parameters : Types.type_expr list;
  4. te_private : private_flag;
  5. mutable te_constructors : t_extension_constructor list;
  6. mutable te_loc : Odoc_types.location;
  7. mutable te_code : string option;
}
val extension_constructors : t_type_extension -> t_extension_constructor list