c3a4c4429d
This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax. |
||
---|---|---|
.. | ||
change.rs | ||
defs.rs | ||
feature_flags.rs | ||
imports_locator.rs | ||
lib.rs | ||
line_index_utils.rs | ||
line_index.rs | ||
symbol_index.rs | ||
wasm_shims.rs |