package ocaml-base-compiler
Representation and manipulation of extensions.
type extension_alias = Odoc_extension.extension_alias = {
xa_name : Name.t;
(*The complete name of the target extension.
*)mutable xa_xt : t_extension_constructor option;
(*The target extension, if we found it.
*)
}
Used when the extension is a rebind of another extension, when we have extension Xt = Target_xt
.
and t_extension_constructor = Odoc_extension.t_extension_constructor = {
xt_name : Name.t;
xt_args : Odoc_type.constructor_args;
xt_ret : Types.type_expr option;
(*the optional return type of the extension
*)xt_type_extension : t_type_extension;
(*the type extension containing this constructor
*)xt_alias : extension_alias option;
(*
*)None
when the extension is not a rebind.mutable xt_loc : Odoc_types.location;
mutable xt_text : Odoc_types.info option;
(*optional user description
*)
}
and t_type_extension = Odoc_extension.t_type_extension = {
mutable te_info : info option;
(*Information found in the optional associated comment.
*)te_type_name : Name.t;
(*The type of the extension
*)te_type_parameters : Types.type_expr list;
te_private : private_flag;
mutable te_constructors : t_extension_constructor list;
mutable te_loc : location;
mutable te_code : string option;
}
val extension_constructors : t_type_extension -> t_extension_constructor list
Access to the extensions in a group.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>