[−][src]Crate ra_ap_base_db
base_db defines basic database traits. The concrete DB is defined by ide.
Re-exports
pub use salsa; |
Modules
fixture | Fixtures are strings containing rust source code with optional metadata. A fixture without metadata is parsed into a single source file. Use this to test functionality local to one file. |
Macros
impl_intern_key |
Structs
Canceled | An "error" signifying that the operation was canceled. |
CrateData | |
CrateGraph |
|
CrateGraphQuery | |
CrateId | |
CrateName | |
Dependency | |
Env | |
FileId | |
FileLoaderDelegate | Silly workaround for cyclic deps between the traits |
FilePosition | |
FileRange | |
FileSet | |
FileSourceRootQuery | |
FileTextQuery | |
ParseQuery | |
ProcMacroId | |
SourceDatabaseExtGroupStorage__ | |
SourceDatabaseExtStorage | Representative struct for the query group. |
SourceDatabaseGroupStorage__ | |
SourceDatabaseStorage | Representative struct for the query group. |
SourceRoot | |
SourceRootCratesQuery | |
SourceRootId | Files are grouped into source roots. A source root is a directory on the file systems which is watched for changes. Typically it corresponds to a Rust crate. Source roots might be nested: in this case, a file belongs to the nearest enclosing source root. Paths to files are always relative to a source root, and the analyzer does not know the root path of the source root at all. So, a file from one source root can't refer to a file in another source root by path. |
SourceRootQuery | |
VfsPath | Long-term, we want to support files which do not reside in the file-system, so we treat VfsPaths as opaque identifiers. |
Enums
Edition |
Constants
DEFAULT_LRU_CAP |
Traits
CheckCanceled | |
FileLoader | |
SourceDatabase | Database which stores all significant input facts: source code and project model. Everything else in rust-analyzer is derived from these queries. |
SourceDatabaseExt | We don't want to give HIR knowledge of source roots, hence we extract these methods into a separate DB. |
Upcast |