mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
rename source_file -> parse
This commit is contained in:
parent
ac757e114e
commit
9457b1f0e6
19 changed files with 41 additions and 47 deletions
|
@ -6,7 +6,7 @@ use std::{
|
|||
|
||||
use ra_syntax::{AstNode, TreeArc, SourceFile};
|
||||
use ra_db::{
|
||||
SourceFileQuery, FileTextQuery, SourceRootId,
|
||||
ParseQuery, FileTextQuery, SourceRootId,
|
||||
salsa::{Database, debug::{DebugQueryTable, TableEntry}},
|
||||
};
|
||||
|
||||
|
@ -17,7 +17,7 @@ use crate::{
|
|||
|
||||
pub(crate) fn status(db: &RootDatabase) -> String {
|
||||
let files_stats = db.query(FileTextQuery).entries::<FilesStats>();
|
||||
let syntax_tree_stats = db.query(SourceFileQuery).entries::<SyntaxTreeStats>();
|
||||
let syntax_tree_stats = db.query(ParseQuery).entries::<SyntaxTreeStats>();
|
||||
let symbols_stats = db
|
||||
.query(LibrarySymbolsQuery)
|
||||
.entries::<LibrarySymbolsStats>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue