The prior commit begins to explain the end goal of being able to index identifiers outside of the global environment. This change continues to index things as before, but introduces a new key based on the pair of the symbol id together with a node that is _part of_ its target environment. The only environment utilized at the moment (in this commit) is that of the root node (which is the global scope), in both indexing and lookup. Future commits will extend this, and contain more information about and rationale for the implementation. The new general index methods are restricted to `pub(super)` until an abstraction can be put in place that is responsible for environment indexing; that's a responsibility that is currently handled by `AirAggregateCtx` for tamec, and the linker has no scoping requirements since all of that has already been dealt with. DEV-13708 |
||
---|---|---|
.. | ||
air | ||
graph | ||
.gitignore | ||
air.rs | ||
error.rs | ||
graph.rs | ||
mod.rs |