package dolmen
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Paths
Paths are used to identify constants and variables after typechecking. They are meant to identify the abstract location of where constants and variables come from. Variables are always local, whereas constants are identified by a full absolute path including all module names leading to the module defining the constant.
Type definition
A path of module names. A path
identifies a module, or the toplevel/implicitly global module if empty.
type t = private
| Local of {
}
(*A local path, mainly used for variables.
*)| Absolute of {
path : path;
name : string;
}
(*An absolute path, containing a path to a module, and a basename.
*)
Paths used for variables and constants.
Std functions
val print : Stdlib.Format.formatter -> t -> unit
Printing function.
Creation function
val local : string -> t
Create a local path.
val global : string -> t
Create a global path.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page