Module runtime

Module runtime 

Source
Expand description

This module contains the Environment struct, which is used to store and lookup SAP variables and functions. It also contains a type alias for a shared Environment reference.

Structs§

Environment
An Environment is a hashmap in which SAP variables and functions are stored. It also contains an optional reference to the outer environment. This creates a tree of environments, where each environment can lookup all the variables and functions of it’s parent enviornment.

Type Aliases§

EnvRef
The EnvRef type is a reference-counted, mutable reference to an Environment.