diff options
author | Aleksey Kladov <[email protected]> | 2018-10-30 23:08:54 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-10-30 23:08:54 +0000 |
commit | fbbee537228538f448a335bb0b2dabec2b3d443e (patch) | |
tree | db676e2c84585c13179e0116b018a3e67b550190 /crates/ra_editor/src/scope | |
parent | d10214581e18a3c98760ecf8ebbd27aaf48ec9ae (diff) |
Add ModuleScope as a query
This is a first step towards queryifing completion and resolve.
Some code currently duplicates ra_editor: the plan is to move all
completion from ra_editor, but it'll take more than one commit.
Diffstat (limited to 'crates/ra_editor/src/scope')
-rw-r--r-- | crates/ra_editor/src/scope/mod_scope.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/ra_editor/src/scope/mod_scope.rs b/crates/ra_editor/src/scope/mod_scope.rs index 956ee0e2f..818749a12 100644 --- a/crates/ra_editor/src/scope/mod_scope.rs +++ b/crates/ra_editor/src/scope/mod_scope.rs | |||
@@ -1,3 +1,9 @@ | |||
1 | /// FIXME: this is now moved to ra_analysis::descriptors::module::scope. | ||
2 | /// | ||
3 | /// Current copy will be deleted as soon as we move the rest of the completion | ||
4 | /// to the analyezer. | ||
5 | |||
6 | |||
1 | use ra_syntax::{ | 7 | use ra_syntax::{ |
2 | ast::{self, AstChildren}, | 8 | ast::{self, AstChildren}, |
3 | AstNode, SmolStr, SyntaxNode, SyntaxNodeRef, | 9 | AstNode, SmolStr, SyntaxNode, SyntaxNodeRef, |