package ocaml-base-compiler
Official 4.06.0 release
Install
Dune Dependency
Authors
Maintainers
Sources
4.06.0.tar.gz
sha256=011879c913e8f988ecdac020b205e2baa4023052efed25013bdb9a6b0d5c6a80
md5=4f3906e581181c5435078ffe3e485e3f
doc/odoc_info/Odoc_info/Value/index.html
Module Odoc_info.Value
Representation and manipulation of values, class attributes and class methods.
type t_value = Odoc_value.t_value = {
val_name : Name.t;
(*Complete name of the value.
*)mutable val_info : info option;
(*Information found in the optional associated comment.
*)val_type : Types.type_expr;
(*Type of the value.
*)val_recursive : bool;
(*
*)true
if the value is recursive.mutable val_parameters : Odoc_parameter.parameter list;
(*The parameters, if any.
*)mutable val_code : string option;
(*The code of the value, if we had the only the implementation file.
*)mutable val_loc : location;
}
Representation of a value.
type t_attribute = Odoc_value.t_attribute = {
att_value : t_value;
(*an attribute has almost all the same information as a value
*)att_mutable : bool;
(*
*)true
if the attribute is mutable.att_virtual : bool;
(*
*)true
if the attribute is virtual.
}
Representation of a class attribute.
type t_method = Odoc_value.t_method = {
met_value : t_value;
(*a method has almost all the same information as a value
*)met_private : bool;
(*
*)true
if the method is private.met_virtual : bool;
(*
*)true
if the method is virtual.
}
Representation of a class method.
val is_function : t_value -> bool
Return true
if the value is a function, i.e. it has a functional type.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>