aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/descriptors/module
Commit message (Collapse)AuthorAgeFilesLines
* Add inline sourceAleksey Kladov2018-11-013-35/+80
|
* Introduce ModuleSourceAleksey Kladov2018-11-012-7/+32
|
* Reformat allAleksey Kladov2018-10-313-33/+35
|
* 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 FnDescriptors to analyzerAleksey Kladov2018-10-313-38/+15
|
* 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.
* 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-232-0/+322
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.