package ocaml-base-compiler
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Official release 5.1.1
Install
dune-project
Dependency
Authors
Maintainers
Sources
5.1.1.tar.gz
sha256=57f7b382b3d71198413ede405d95ef3506f1cdc480cda1dca1e26b37cb090e17
doc/odoc_info/Odoc_parameter/index.html
Module Odoc_parameter
Representation and manipulation of method / function / class parameters.
Types
type simple_name = {sn_name : string;sn_type : Types.type_expr;mutable sn_text : Odoc_types.text option;
}Representation of a simple parameter name
type param_info = | Simple_name of simple_name| Tuple of param_info list * Types.type_expr(*Representation of parameter names. We need it to represent parameter names in tuples. The value
*)Tuple ([], t)stands for an anonymous parameter.
type parameter = param_infoA parameter is just a param_info.
Functions
val complete_name : parameter -> stringaccess to the name as a string. For tuples, parentheses and commas are added.
val typ : parameter -> Types.type_expraccess to the complete type
val update_parameter_text :
(string -> Odoc_types.text option) ->
parameter ->
unitUpdate the text of a parameter using a function returning the optional text associated to a parameter name.
val desc_by_name : parameter -> string -> Odoc_types.text optionaccess to the description of a specific name.
val names : parameter -> string listaccess to the list of names ; only one for a simple parameter, or a list for tuples.
val type_by_name : parameter -> string -> Types.type_expraccess to the type of a specific name.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>