ocaml-base-compiler
Official release 4.14.0
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package ocaml-base-compiler
-
dynlink
-
ocamlbytecomp
-
ocamlcommon
-
ocamlmiddleend
-
ocamloptcomp
-
odoc_info
-
stdlib
-
str
-
unix
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
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; | (*
|
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; | (*
|
att_virtual : bool; | (*
|
}
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; | (*
|
met_virtual : bool; | (*
|
}
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.
ON THIS PAGE
No table of contents