aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* SimplifyAleksey Kladov2019-11-241-15/+0
|
* Switch to StaticLoc for staticsAleksey Kladov2019-11-241-5/+32
|
* Pull macro upAleksey Kladov2019-11-241-14/+1
|
* Move ModuleSource back to hirAleksey Kladov2019-11-231-60/+2
|
* Privatise nameresAleksey Kladov2019-11-231-3/+2
|
* Rename CrateModuleIdAleksey Kladov2019-11-231-3/+3
|
* Move ImportIdAleksey Kladov2019-11-231-0/+4
|
* Get rid of DefDatabase2Aleksey Kladov2019-11-231-24/+21
|
* Move docs to hir_defAleksey Kladov2019-11-231-0/+1
|
* Move lang_items to hir_defAleksey Kladov2019-11-231-0/+1
|
* Use attrs rather than syntax for lang itemsAleksey Kladov2019-11-231-1/+3
|
* Move attrs query to hir_defAleksey Kladov2019-11-231-3/+30
|
* More principled sources for enums and fieldsAleksey Kladov2019-11-221-1/+12
|
* Move data to a single fileAleksey Kladov2019-11-221-4/+1
|
* Move FunctionData to hir_defAleksey Kladov2019-11-221-0/+1
|
* Move TypeAlias to hir_defAleksey Kladov2019-11-221-0/+1
|
* Move resolver to hir_defAleksey Kladov2019-11-211-0/+1
|
* Move constants to new IDAleksey Kladov2019-11-201-5/+35
| | | | This allows us to get rid of trait item index
* Don't duplicate ContainerId typeAleksey Kladov2019-11-201-22/+15
|
* Switch type aliases to new sourcesAleksey Kladov2019-11-201-5/+43
|
* Next gen IDs for functionsAleksey Kladov2019-11-201-5/+61
| | | | | | | | | | | | | | | | | 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
* Move traits to hir_defAleksey Kladov2019-11-201-1/+2
|
* Move Generics to hir_defAleksey Kladov2019-11-201-0/+24
|
* Rename Source::ast -> Source::valueAleksey Kladov2019-11-201-3/+3
|
* Sourcify some thingsAleksey Kladov2019-11-151-6/+5
| | | | | If we want to support macros properly, we need to get rid of those FileIds everywhere...
* Remove old impls infrastructureAleksey Kladov2019-11-151-0/+13
|
* Add ImplIdAleksey Kladov2019-11-151-0/+12
|
* Move body queries to hir_defAleksey Kladov2019-11-141-0/+10
|
* Move definition of exprs to hir_defAleksey Kladov2019-11-121-0/+2
|
* Unfork struct and union idsAleksey Kladov2019-11-091-12/+16
|
* Restore crate_def_map marksAleksey Kladov2019-11-031-0/+2
|
* Introduce ra_db::fixture fixture moduleAleksey Kladov2019-11-031-0/+3
| | | | The goal here is to share more testing infrastructure between crates.
* Move CrateDefMap to hir_defAleksey Kladov2019-11-031-2/+3
|
* Move Source to hir_expandAleksey Kladov2019-11-021-16/+1
|
* move struct & enum data to hir_defAleksey Kladov2019-10-311-0/+17
|
* add ModuleDefId to hir_defAleksey Kladov2019-10-311-2/+56
|
* move builtin types to hir_defAleksey Kladov2019-10-311-0/+1
|
* move hygiene to hir_expandAleksey Kladov2019-10-301-1/+0
|
* push name down to hir_expandAleksey Kladov2019-10-301-1/+0
|
* push either to hir_expandAleksey Kladov2019-10-301-1/+0
|
* refactor $crate handlingAleksey Kladov2019-10-301-0/+1
| | | | | Introduce proper hygiene module, which should grow quite a bit eventually.
* move raw_items to hir_defAleksey Kladov2019-10-301-1/+94
|
* Move ids to hir_def crateAleksey Kladov2019-10-301-1/+203
|
* introduce ra_hir_defAleksey Kladov2019-10-301-0/+14
|
* rename hir_def -> hir_expandAleksey Kladov2019-10-291-11/+0
|
* move expansion-related code to a separate crateAleksey Kladov2019-10-291-0/+4
|
* start ra_hir_def crateAleksey Kladov2019-10-291-0/+7