rust-analyzer/crates/ra_hir
Aleksey Kladov 5dc384132f introduce macro_arg intermediate query
Currently, when expanding macros, we look at the source code
directly (we invoke ast_id_to_node query via to_node method).

This is less then ideal, because it make us re-expand macros after
every source change.

This commit establishes a salsa-firewall: a query to get macro call's
token tree. Unlike the syntax tree, token tree changes only if we
actually modify the macro itself.
2019-05-04 17:38:09 +03:00
..
src introduce macro_arg intermediate query 2019-05-04 17:38:09 +03:00
Cargo.toml PR issuse resolved 2019-04-02 17:52:04 +03:00