tame/tamer/src/asg
Mike Gerwitz 02dba0d63a tamer: asg::graph::Asg: Index by (SymbolId, NodeIndex) pair
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
2023-04-03 16:14:30 -04:00
..
air tamer: asg::air: InvalidExpansionContext in place of TODO 2023-03-31 14:23:26 -04:00
graph tamer: asg::air::AirAggregate: Remove Pkg context from child parser states 2023-03-29 12:58:35 -04:00
.gitignore tamer: Embed ASG ontology visualization in rustdoc-generated docs 2023-03-10 14:28:00 -05:00
air.rs tamer: asg::air: Errors for rooting_ci() TODOs 2023-03-31 13:57:11 -04:00
error.rs tamer: asg::air: InvalidExpansionContext in place of TODO 2023-03-31 14:23:26 -04:00
graph.rs tamer: asg::graph::Asg: Index by (SymbolId, NodeIndex) pair 2023-04-03 16:14:30 -04:00
mod.rs tamer: asg::graph: *lookup{=>_global}* 2023-03-29 12:58:35 -04:00