package ocaml-base-compiler
Official release 5.2.1
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-5.2.1.tar.gz
sha256=2d0f8090951a97a2c0e5b8a11e90096c0e1791d2e471e4a67f87e3b974044cd0
doc/odoc_info/Odoc_value/index.html
Module Odoc_value
Representation and manipulation of values, class attributes and class methods.
Types
type t_value = {
val_name : Name.t;
mutable val_info : Odoc_types.info option;
val_type : Types.type_expr;
val_recursive : bool;
mutable val_parameters : Odoc_parameter.parameter list;
mutable val_code : string option;
mutable val_loc : Odoc_types.location;
}
Representation of a value.
Representation of a class attribute.
Representation of a class method.
Functions
val value_parameter_text_by_name : t_value -> string -> Odoc_types.text option
Returns the text associated to the given parameter name in the given value, or None.
val update_value_parameters_text : t_value -> unit
Update the parameters text of a t_value, according to the val_info field.
val dummy_parameter_list : Types.type_expr -> Odoc_parameter.param_info list
Create a list of parameters with dummy names "??" from a type list. Used when we want to merge the parameters of a value, from the .ml and the .mli file. In the .mli file we don't have parameter names so there is nothing to merge. With this dummy list we can merge the parameter names from the .ml and the type from the .mli file.
val is_function : t_value -> bool
Return true if the value is a function, i.e. has a functional type.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>