Module starlark::environment
source · [−]Expand description
Types representing Starlark modules (Module
and FrozenModule
) and global variables (Globals
).
Global functions and values are stored in Globals
, which are typically
built using GlobalsBuilder
.
User executions store their values in a Module
, which have to be converted to a
FrozenModule
using freeze
before they can be load()
’d as a dependency.
Structs
The result of freezing a Module
, making it and its contained values immutable.
The global values available during execution.
Used to build a Globals
value.
Used to create methods for a StarlarkValue
.
Methods of an object.
Used to build a Methods
value.
Similar to GlobalsStatic
, but for methods.
A container for user values, used during execution.
Container for the documentation for a module
Enums
The extra library definitions available in this Starlark implementation, but not in the standard.