package ocaml-base-compiler
Official release 4.09.0
Install
Dune Dependency
Authors
Maintainers
Sources
4.09.0.tar.gz
sha256=a7bc044167e7d09f8e3ea84b88ec9d81392908ecdac861d3d5015e5f0fc496a3
md5=76ac39570fc88b16fda2a94db7cd5cf3
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)"
>