Prepare SourceDatabase API for lazy file loading

This commit is contained in:
Aleksey Kladov 2019-10-14 16:20:55 +03:00
parent 1555a1aa0d
commit abf2179c0b
14 changed files with 123 additions and 90 deletions

View file

@ -1,7 +1,7 @@
//! FIXME: write short doc here
use hir::{Either, ModuleSource};
use ra_db::SourceDatabase;
use ra_db::{SourceDatabase, SourceDatabaseExt};
use ra_syntax::{algo::find_node_at_offset, ast, AstNode, SourceFile, SyntaxNode};
use relative_path::{RelativePath, RelativePathBuf};