diff options
author | Aleksey Kladov <[email protected]> | 2019-05-04 15:38:09 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-05-04 15:38:09 +0100 |
commit | 5dc384132f7fe6f610ec21e62830ab83f45274a9 (patch) | |
tree | f9b89014aff6dab0353b2134dc5e8cf502f7fc4f /crates/ra_lsp_server/tests | |
parent | 8876f44054f57c1f4ee305eb47340609683bd566 (diff) |
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.
Diffstat (limited to 'crates/ra_lsp_server/tests')
0 files changed, 0 insertions, 0 deletions