aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/descriptors
Commit message (Collapse)AuthorAgeFilesLines
* Use OO API in crate_forAleksey Kladov2018-11-201-2/+35
|
* Make LikdId privateAleksey Kladov2018-11-201-9/+5
|
* Use more OO API for parent moduleAleksey Kladov2018-11-201-1/+78
|
* Make some queries privateAleksey Kladov2018-11-203-10/+11
| | | | | Convention: we prefix private queries with `_` until salsa support real visibility.
* use loc2id for FnIdsAleksey Kladov2018-11-183-9/+11
|
* Add Loc2IdMapAleksey Kladov2018-11-181-0/+9
|
* Use cached module scopes for completionAleksey Kladov2018-11-072-2/+12
|
* rename module sourceAleksey Kladov2018-11-072-24/+23
|
* rename ROOT -> SOURCE_FILEAleksey Kladov2018-11-071-1/+1
|
* Rename File -> SourceFileNodeAleksey Kladov2018-11-072-5/+5
|
* Generalize Owned nodesAleksey Kladov2018-11-063-11/+11
|
* Fully add inline modules to module treeAleksey Kladov2018-11-052-19/+42
|
* Submodule is enumAleksey Kladov2018-11-052-21/+63
|
* collect all submodulesAleksey Kladov2018-11-052-20/+30
|
* submodules works with module sourcesAleksey Kladov2018-11-052-13/+20
|
* use module_for_sourceAleksey Kladov2018-11-051-6/+2
|
* Introduce modules_from_source fnAleksey Kladov2018-11-051-6/+6
|
* Add inline sourceAleksey Kladov2018-11-013-35/+80
|
* Introduce ModuleSourceAleksey Kladov2018-11-012-7/+32
|
* Use From to get an owned ASTAleksey Kladov2018-11-011-2/+1
|
* remove SyntaxPtrDatabaseAleksey Kladov2018-11-011-2/+2
|
* Reformat allAleksey Kladov2018-10-317-83/+72
|
* Add DeclarationDescriptor and ReferenceDescriptorJeremy A. Kolb2018-10-311-3/+54
| | | | | Fixes #142 Fixes #146
* Useful comments from function signaturesJeremy A. Kolb2018-10-311-3/+57
|
* Move completion to ra_analysisAleksey Kladov2018-10-311-1/+5
| | | | | | While we should handle completion for isolated file, it's better achieved by using empty Analysis, rather than working only with &File: we need memoization for type inference even inside a single file.
* move resolve local nameAleksey Kladov2018-10-312-4/+2
|
* Move FnDescriptors to analyzerAleksey Kladov2018-10-317-90/+595
|
* Add ModuleScope as a queryAleksey Kladov2018-10-303-1/+149
| | | | | | | 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.
* switch to TextRange::subrangeAleksey Kladov2018-10-301-2/+1
|
* Move input to top-levelAleksey Kladov2018-10-252-3/+4
|
* Store all the data in the Salsa DatabaseAleksey Kladov2018-10-252-17/+15
|
* Introduce ModuleIdAleksey Kladov2018-10-233-0/+385
Previously, module was synonym with a file, and so a module could have had several parents. This commit introduces a separate module concept, such that each module has only one parent, but a single file can correspond to different modules.