Home
last modified time | relevance | path

Searched defs:DefMap (Results 1 – 15 of 15) sorted by relevance

/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/
Dnameres.rs94 pub struct DefMap { struct
105 /// The prelude is empty for non-block DefMaps (unless `#[prelude_import]` was used, argument
121 data: Arc<DefMapCrateData>, argument
192 fn def_map(self, db: &dyn DefDatabase, krate: CrateId) -> Arc<DefMap> { in def_map()
201 impl std::ops::Index<LocalModuleId> for DefMap { implementation
287 impl DefMap { impl
291 pub(crate) fn crate_def_map_query(db: &dyn DefDatabase, krate: CrateId) -> Arc<DefMap> { in crate_def_map_query()
310 pub(crate) fn block_def_map_query(db: &dyn DefDatabase, block_id: BlockId) -> Arc<DefMap> { in block_def_map_query()
339 fn empty(krate: CrateId, edition: Edition, module_data: ModuleData) -> DefMap { in empty()
490 f: &mut dyn FnMut(&DefMap, LocalModuleId) -> Option<T>, in with_ancestor_maps()
[all …]
Dfind_path.rs150 def_map: &DefMap, in find_path_for_module()
229 def_map: &DefMap, in find_in_scope()
242 root_def_map: &DefMap, in find_in_prelude()
243 local_def_map: &DefMap, in find_in_prelude()
275 fn find_self_super(def_map: &DefMap, item: ModuleId, from: ModuleId) -> Option<ModPath> { in find_self_super()
294 def_map: &DefMap, in calculate_best_path()
Dtest_db.rs120 fn mod_at_position(&self, def_map: &DefMap, position: FilePosition) -> LocalModuleId { in mod_at_position()
160 fn block_at_position(&self, def_map: &DefMap, position: FilePosition) -> Option<Arc<DefMap>> { in block_at_position()
Ddb.rs83 fn crate_def_map(&self, krate: CrateId) -> Arc<DefMap>; in crate_def_map()
86 fn crate_def_map_query(&self, krate: CrateId) -> Arc<DefMap>; in crate_def_map_query()
104 fn block_def_map(&self, block: BlockId) -> Arc<DefMap>; in block_def_map()
238 fn crate_def_map_wait(db: &dyn DefDatabase, krate: CrateId) -> Arc<DefMap> { in crate_def_map_wait()
Dgenerics.rs334 exp: &mut Lazy<(Arc<DefMap>, Expander), impl FnOnce() -> (Arc<DefMap>, Expander)>, in fill_implicit_impl_trait_args()
Dvisibility.rs123 def_map: &DefMap, in is_visible_from_def_map()
Dresolver.rs531 pub fn def_map(&self) -> &DefMap { in def_map()
651 fn item_scope(&self) -> (&DefMap, LocalModuleId) { in item_scope()
783 fn push_block_scope(self, def_map: Arc<DefMap>, module_id: LocalModuleId) -> Resolver { in push_block_scope()
Dlib.rs103 pub fn def_map(&self, db: &dyn db::DefDatabase) -> Arc<DefMap> { in def_map()
148 pub fn def_map(&self, db: &dyn db::DefDatabase) -> Arc<DefMap> { in def_map()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/nameres/
Dattr_resolution.rs26 impl DefMap { impl
Dpath_resolution.rs76 impl DefMap { impl
Dtests.rs15 fn compute_crate_def_map(ra_fixture: &str) -> Arc<DefMap> { in compute_crate_def_map()
Dcollector.rs65 pub(super) fn collect_defs(db: &dyn DefDatabase, def_map: DefMap, tree_id: TreeId) -> DefMap { in collect_defs()
1409 fn finish(mut self) -> DefMap { in finish()
2295 fn do_collect_defs(db: &dyn DefDatabase, def_map: DefMap) -> DefMap { in do_collect_defs()
2317 fn do_resolve(not_ra_fixture: &str) -> DefMap { in do_resolve()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/
Dtests.rs409 crate_def_map: &DefMap, in visit_module()
437 crate_def_map: &DefMap, in visit_module()
Dmethod_resolution.rs187 fn collect_def_map(&mut self, db: &dyn HirDatabase, def_map: &DefMap) { in collect_def_map()
302 fn collect_def_map(&mut self, db: &dyn HirDatabase, def_map: &DefMap) { in collect_def_map()
794 def_map: &DefMap, in is_inherent_impl_coherent()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DSyncDependenceAnalysis.cpp147 DefiningBlockMap DefMap; member