Structs§
- The set of items that exist within some lexical scope via declaration or importing.
- A
LexicalScope
contains a set of all items that exist within the lexical scope via declaration or importing, along with all its associated hierarchical scopes. - A single
Module
within a Sway project. - The set of items that represent the namespace context passed throughout type checking.
- The root module, from which all other modules can be accessed.
Enums§
- Enum used to pass a value asking for insertion of type into trait map when an implementation of the trait cannot be found.
Functions§
contract_id_value
is injected here via forc-pkg when producing thedependency_namespace
for a contract which has tests enabled. This allows us to provide a contract’sCONTRACT_ID
constant to its own unit tests.
Type Aliases§
- Represents a lexical scope integer-based identifier, which can be used to reference specific a lexical scope.
- Represents a lexical scope path, a vector of lexical scope identifiers, which specifies the path from root to a specific lexical scope in the hierarchy.