| /third_party/rust/rust/src/tools/rust-analyzer/crates/ide-db/src/ |
| D | lib.rs | 47 use base_db::{ 59 /// `base_db` is normally also needed in places where `ide_db` is used, so this re-export is for co… 60 pub use base_db; 67 base_db::SourceDatabaseExtStorage, 68 base_db::SourceDatabaseStorage, 151 let lru_capacity = lru_capacity.unwrap_or(base_db::DEFAULT_PARSE_LRU_CAP); in update_parse_query_lru_capacity() 152 base_db::ParseQuery.in_db_mut(self).set_lru_capacity(lru_capacity); in update_parse_query_lru_capacity() 161 base_db::ParseQuery.in_db_mut(self).set_lru_capacity( in update_lru_capacities() 165 .unwrap_or(base_db::DEFAULT_PARSE_LRU_CAP), in update_lru_capacities() 171 .unwrap_or(4 * base_db::DEFAULT_PARSE_LRU_CAP), in update_lru_capacities() [all …]
|
| D | apply_change.rs | 3 use base_db::{ 88 base_db::ParseQuery in per_query_memory_usage() 89 base_db::CrateGraphQuery in per_query_memory_usage() 90 base_db::ProcMacrosQuery in per_query_memory_usage() 93 base_db::FileTextQuery in per_query_memory_usage() 94 base_db::FileSourceRootQuery in per_query_memory_usage() 95 base_db::SourceRootQuery in per_query_memory_usage() 96 base_db::SourceRootCratesQuery in per_query_memory_usage()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/nameres/ |
| D | proc_macro.rs | 22 pub(super) fn to_basedb_kind(&self) -> base_db::ProcMacroKind { in to_basedb_kind() 24 ProcMacroKind::CustomDerive { .. } => base_db::ProcMacroKind::CustomDerive, in to_basedb_kind() 25 ProcMacroKind::FnLike => base_db::ProcMacroKind::FuncLike, in to_basedb_kind() 26 ProcMacroKind::Attr => base_db::ProcMacroKind::Attr, in to_basedb_kind()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/ide/src/ |
| D | fetch_crates.rs | 2 base_db::{CrateOrigin, FileId, SourceDatabase}, 34 fn crate_info(data: &ide_db::base_db::CrateData) -> CrateInfo { in crate_info() 40 fn crate_name(data: &ide_db::base_db::CrateData) -> Option<String> { in crate_name()
|
| D | interpret_function.rs | 2 use ide_db::base_db::SourceDatabaseExt; 4 use ide_db::{base_db::FilePosition, LineIndexDatabase};
|
| D | ssr.rs | 6 use ide_db::{base_db::FileRange, label::Label, source_change::SourceChange, RootDatabase}; 62 base_db::{fixture::WithFixture, salsa::Durability, FileRange}, 73 local_roots.insert(ide_db::base_db::fixture::WORKSPACE); in get_assists()
|
| D | parent_module.rs | 3 base_db::{CrateId, FileId, FileLoader, FilePosition}, 69 use ide_db::base_db::FileRange;
|
| D | view_item_tree.rs | 2 use ide_db::base_db::FileId;
|
| D | view_mir.rs | 2 use ide_db::base_db::FilePosition;
|
| D | view_hir.rs | 2 use ide_db::base_db::FilePosition;
|
| D | goto_type_definition.rs | 1 use ide_db::{base_db::Upcast, defs::Definition, helpers::pick_best_token, RootDatabase}; 98 use ide_db::base_db::FileRange;
|
| D | shuffle_crate_graph.rs | 2 base_db::{salsa::Durability, CrateGraph, ProcMacros, SourceDatabase},
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/ |
| D | test_db.rs | 5 use base_db::{ 18 base_db::SourceDatabaseExtStorage, 19 base_db::SourceDatabaseStorage,
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/rust-analyzer/src/cli/ |
| D | ssr.rs | 14 use ide_db::base_db::SourceDatabaseExt; in run() 50 use ide_db::base_db::SourceDatabaseExt; in run()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/ |
| D | test_db.rs | 5 use base_db::{ 23 base_db::SourceDatabaseExtStorage, 24 base_db::SourceDatabaseStorage,
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/macro_expansion_tests/ |
| D | mod.rs | 20 use base_db::{fixture::WithFixture, ProcMacro, SourceDatabase}; 57 kind: base_db::ProcMacroKind::Attr, in check() 342 impl base_db::ProcMacroExpander for IdentityWhenValidProcMacroExpander { 347 _: &base_db::Env, in expand() 348 ) -> Result<Subtree, base_db::ProcMacroExpansionError> { in expand()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/ide-ssr/src/ |
| D | lib.rs | 89 use ide_db::base_db::{FileId, FilePosition, FileRange}; 141 use ide_db::base_db::SourceDatabaseExt; in at_first_file() 172 use ide_db::base_db::SourceDatabaseExt; in edits() 224 use ide_db::base_db::SourceDatabaseExt; in debug_where_text_equal()
|
| D | from_comment.rs | 5 base_db::{FilePosition, FileRange, SourceDatabase},
|
| /third_party/rust/rust/src/tools/rust-analyzer/docs/dev/ |
| D | architecture.md | 137 ### `crates/base_db` 141 The `base_db` crate provides basic infrastructure for interacting with salsa. 143 Reading the docs of the `base_db::input` module should be useful: everything else is strictly deriv… 146 In particular, `base_db` knows nothing about cargo. 147 For example, `cfg` flags are a part of `base_db`, but `feature`s are not. 151 **Architecture Invariant:** `base_db` doesn't know about file system and file paths. 494 For this reason, the types in `ide`, `base_db` and below are not serializable by design.
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/layout/ |
| D | target.rs | 3 use base_db::CrateId;
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/project-model/src/ |
| D | lib.rs | 4 //! Pure model is represented by the [`base_db::CrateGraph`] from another crate. 16 //! * Lowering of concrete model to a [`base_db::CrateGraph`]
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/tests/ |
| D | incremental.rs | 1 use base_db::{fixture::WithFixture, SourceDatabaseExt};
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/nameres/tests/ |
| D | incremental.rs | 1 use base_db::SourceDatabaseExt; 201 base_db::ParseQuery.in_db(&db).purge(); in item_tree_prevents_reparsing()
|
| /third_party/rust/rust/src/tools/rust-analyzer/.github/workflows/ |
| D | autopublish.yaml | 38 cargo workspaces rename --from base-db base_db
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-expand/src/ |
| D | proc_macro.rs | 3 use base_db::{CrateId, ProcMacroExpansionError, ProcMacroId, ProcMacroKind};
|