package b0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0
doc/b0.file/B0_def/index.html
Module B0_def
Source
b0 definitions.
b0 definitions are uniquely named OCaml values of different types used for describing software construction. The value names are used for end-user interaction.
b0 definitions occur in various b0 files and libraries during the module initialisation phase of the program consuming the definitions. After the module initialisation phase no new definition is allowed.
This module handle the management of these named values in B0 files and libraries. It provides the infrastructure to track the location of their definition, properly scope the names, check their unicity in the scope, index them and make sure they cannot be defined after the module initialisation phase of the program.
Definitions
The type for definition names and their scoping information.
scope d
is the scope in which d
is defined.
file d
is the absolute file path in which d
is defined, if defined in a file.
scope_dir
is the parent of file d
.