introduce hir::Name

This commit is contained in:
Aleksey Kladov 2018-12-27 20:07:21 +03:00
parent 3b820bcca3
commit d963042ca9
11 changed files with 121 additions and 51 deletions

View file

@ -22,6 +22,7 @@ mod path;
mod arena;
pub mod source_binder;
mod name;
mod krate;
mod module;
mod function;
@ -37,10 +38,12 @@ use ra_db::{LocationIntener, SourceRootId, FileId, Cancelable};
use crate::{
db::HirDatabase,
arena::{Arena, Id},
name::AsName,
};
pub use self::{
path::{Path, PathKind},
name::Name,
krate::Crate,
module::{Module, ModuleId, Problem, nameres::{ItemMap, PerNs, Namespace}, ModuleScope, Resolution},
function::{Function, FnScopes},