aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/body.rs
Commit message (Collapse)AuthorAgeFilesLines
* Switch to StaticLoc for staticsAleksey Kladov2019-11-241-1/+2
|
* Get rid of DefDatabase2Aleksey Kladov2019-11-231-8/+8
|
* Move constants to new IDAleksey Kladov2019-11-201-0/+1
| | | | This allows us to get rid of trait item index
* Next gen IDs for functionsAleksey Kladov2019-11-201-1/+2
| | | | | | | | | | | | | | | | | The current system with AstIds has two primaraly drawbacks: * It is possible to manufacture IDs out of thin air. For example, it's possible to create IDs for items which are not considered in CrateDefMap due to cfg. Or it is possible to mixup structs and unions, because they share ID space. * Getting the ID of a parent requires a secondary index. Instead, the plan is to pursue the more traditional approach, where each items stores the id of the parent declaration. This makes `FromSource` more awkward, but also more correct: now, to get from an AST to HIR, we first do this recursively for the parent item, and the just search the children of the parent for the matching def
* Rename Source::ast -> Source::valueAleksey Kladov2019-11-201-6/+6
|
* Move body queries to hir_defAleksey Kladov2019-11-141-2/+32
|
* Move scopes to hir_defAleksey Kladov2019-11-141-0/+1
|
* Slightly better namingAleksey Kladov2019-11-141-9/+6
|
* Handle macro-generated expressions slightly less wrongAleksey Kladov2019-11-141-19/+9
|
* Move expansion to ExpanderAleksey Kladov2019-11-141-2/+34
|
* Move parse_path to ExpanderAleksey Kladov2019-11-141-0/+4
|
* Expansion stack scaffoldAleksey Kladov2019-11-141-2/+35
|
* Add Expader::to_sourceAleksey Kladov2019-11-141-0/+4
|
* Move original_file to ExpanderAleksey Kladov2019-11-141-1/+7
|
* Rename MacroResolver -> ExpanderAleksey Kladov2019-11-141-10/+6
|
* Move current file to MacroResolverAleksey Kladov2019-11-141-4/+9
|
* Reduce visibilityAleksey Kladov2019-11-141-5/+1
|
* Move expression lowering to hir_defAleksey Kladov2019-11-121-0/+142
|
* Move definition of exprs to hir_defAleksey Kladov2019-11-121-0/+2