aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/db.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add HIR for impl blocksFlorian Diebold2019-01-041-0/+1
| | | | | | | | | Since we need to be able to go from def to containing impl block, as well as the other direction, and to find all impls for a certain type, a design similar to the one for modules, where we collect all impls for the whole crate and keep them in an arena, seemed fitting. The ImplBlock type, which provides the public interface, then consists only of an Arc to the arena containing all impls, and the index into it.
* rename MFileId -> HirFileIdAleksey Kladov2019-01-011-1/+1
|
* add items from macros to modulesAleksey Kladov2019-01-011-0/+1
|
* renameAleksey Kladov2019-01-011-4/+4
|
* move more macros to hirAleksey Kladov2019-01-011-7/+11
|
* use macros database in analysisAleksey Kladov2019-01-011-0/+3
|
* remove FnIdAleksey Kladov2018-12-271-1/+0
|
* Resolve field types lazilyFlorian Diebold2018-12-251-0/+1
| | | | I.e. not already when getting the HIR for the struct.
* Do name resolution by namespace (types/values)Florian Diebold2018-12-251-2/+2
|
* Add basic HIR and types for structs/enumsFlorian Diebold2018-12-251-0/+2
|
* Resolve paths to defs (functions currently) during type inferenceFlorian Diebold2018-12-231-0/+1
|
* Add beginnings of type infrastructureFlorian Diebold2018-12-231-0/+1
|
* better debug implsAleksey Kladov2018-12-211-2/+10
|
* index all local cratesAleksey Kladov2018-12-201-4/+5
|
* switch analysis to vfsAleksey Kladov2018-12-201-2/+0
|
* make it compileAleksey Kladov2018-12-201-0/+3
|
* Add functions to DefIdAleksey Kladov2018-12-041-8/+1
|
* remove useless test hooksAleksey Kladov2018-11-281-43/+0
|
* Move hir to a separate crateAleksey Kladov2018-11-281-1/+1
|
* move ids to HIRAleksey Kladov2018-11-281-2/+7
|
* move db basics to ra_dbAleksey Kladov2018-11-281-53/+16
| | | | This should allow to move hir to a separate crate
* generalize location internerAleksey Kladov2018-11-271-3/+15
|
* rename file_syntax -> source_fileAleksey Kladov2018-11-271-4/+4
|
* introduce SymbolsDatabaseAleksey Kladov2018-11-271-17/+11
|
* remove syntax ptrAleksey Kladov2018-11-271-9/+1
|
* renameAleksey Kladov2018-11-271-1/+1
|
* check_canceled is a methodAleksey Kladov2018-11-271-11/+6
|
* move query definitionsAleksey Kladov2018-11-271-3/+10
|
* move hir dbAleksey Kladov2018-11-271-9/+9
|
* rename descriptorsdb -> hirdbAleksey Kladov2018-11-271-1/+1
|
* start descriptors -> hir renameAleksey Kladov2018-11-271-10/+10
|
* don't use volatile queriesAleksey Kladov2018-11-271-1/+1
| | | | | | "volatile" means "changes every time". That is, all transitive rev-deps of volatile queries will be executed every time. We actually need "dependencies".
* add file items queryAleksey Kladov2018-11-271-11/+10
|
* Codify Arena patternAleksey Kladov2018-11-251-1/+2
|
* add test loggin API to dbAleksey Kladov2018-11-211-0/+41
|
* switch completion to new scopeAleksey Kladov2018-11-211-2/+1
|
* simple test for item mapAleksey Kladov2018-11-211-1/+2
|
* add item map queryAleksey Kladov2018-11-201-2/+3
|
* Make some queries privateAleksey Kladov2018-11-201-2/+2
| | | | | Convention: we prefix private queries with `_` until salsa support real visibility.
* use loc2id for FnIdsAleksey Kladov2018-11-181-9/+11
|
* Add Loc2IdMapAleksey Kladov2018-11-181-0/+8
|
* Rename File -> SourceFileNodeAleksey Kladov2018-11-071-4/+4
|
* Use Default everywhereAleksey Kladov2018-11-041-2/+17
|
* update salsaAleksey Kladov2018-11-011-10/+4
|
* remove SyntaxPtrDatabaseAleksey Kladov2018-11-011-5/+9
|
* Reformat allAleksey Kladov2018-10-311-8/+5
|
* Merge #177bors[bot]2018-10-311-1/+1
|\ | | | | | | | | | | | | | | 177: Librariese -> Libraries r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Fix typoJeremy A. Kolb2018-10-311-1/+1
| |
* | Move FnDescriptors to analyzerAleksey Kladov2018-10-311-2/+7
|/
* Add ModuleScope as a queryAleksey Kladov2018-10-301-1/+6
| | | | | | | This is a first step towards queryifing completion and resolve. Some code currently duplicates ra_editor: the plan is to move all completion from ra_editor, but it'll take more than one commit.