Module sway_core::semantic_analysis::namespace
source · 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.
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.