rename source_file -> parse
This commit is contained in:
@@ -22,7 +22,7 @@ pub enum RunnableKind {
|
||||
}
|
||||
|
||||
pub(crate) fn runnables(db: &RootDatabase, file_id: FileId) -> Vec<Runnable> {
|
||||
let source_file = db.source_file(file_id);
|
||||
let source_file = db.parse(file_id);
|
||||
source_file
|
||||
.syntax()
|
||||
.descendants()
|
||||
|
||||
Reference in New Issue
Block a user