aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/goto_definition.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-05-04 15:38:09 +0100
committerAleksey Kladov <[email protected]>2019-05-04 15:38:09 +0100
commit5dc384132f7fe6f610ec21e62830ab83f45274a9 (patch)
treef9b89014aff6dab0353b2134dc5e8cf502f7fc4f /crates/ra_ide_api/src/goto_definition.rs
parent8876f44054f57c1f4ee305eb47340609683bd566 (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_ide_api/src/goto_definition.rs')
0 files changed, 0 insertions, 0 deletions