package ocaml-base-compiler

  1. Overview
  2. Docs
module Name = Odoc_name
type t_value = {
  1. val_name : Name.t;
  2. mutable val_info : Odoc_types.info option;
  3. val_type : Types.type_expr;
  4. val_recursive : bool;
  5. mutable val_parameters : Odoc_parameter.parameter list;
  6. mutable val_code : string option;
  7. mutable val_loc : Odoc_types.location;
}
type t_attribute = {
  1. att_value : t_value;
  2. att_mutable : bool;
  3. att_virtual : bool;
}
type t_method = {
  1. met_value : t_value;
  2. met_private : bool;
  3. met_virtual : bool;
}
val value_parameter_text_by_name : t_value -> string -> Odoc_types.text option
val update_value_parameters_text : t_value -> unit
val parameter_list_from_arrows : Types.type_expr -> (Asttypes.arg_label * Types.type_expr) list
val dummy_parameter_list : Types.type_expr -> Odoc_parameter.param_info list
val is_function : t_value -> bool