67: Salsa r=matklad a=matklad

The aim of this PR is to transition from rather ad-hock FileData and ModuleMap caching strategy to something resembling a general-purpose red-green engine. 

Ideally, we shouldn't recompute ModuleMap at all, unless the set of mod decls or files changes.



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2018-09-15 21:11:25 +00:00
commit 3993bb4de9
18 changed files with 1305 additions and 473 deletions

View file

@ -61,7 +61,7 @@ use {
yellow::{GreenNode, SyntaxRoot},
};
#[derive(Clone, Debug)]
#[derive(Clone, Debug, Hash)]
pub struct File {
root: SyntaxNode
}