Crate ra_ap_base_db[−][src]
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
| AnchoredPath | Path relative to a file. |
| AnchoredPathBuf | Path relative to a file. |
| Canceled | An “error” signifying that the operation was canceled. |
| Change | Encapsulate a bunch of raw |
| CrateData | |
| CrateDisplayName | |
| CrateGraph |
|
| CrateGraphQuery | |
| CrateId | |
| CrateName | |
| Dependency | |
| Env | |
| FileId | Handle to a file in |
| FileLoaderDelegate | Silly workaround for cyclic deps between the traits |
| FilePosition | |
| FileRange | |
| FileSet | |
| FileSourceRootQuery | |
| FileTextQuery | |
| ParseQuery | |
| ProcMacro | |
| 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 | Path in |
Enums
| Edition | |
| ProcMacroKind |
Constants
| DEFAULT_LRU_CAP |
Traits
| CheckCanceled | |
| FileLoader | |
| ProcMacroExpander | |
| 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 |