aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/code_model.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use TraitId in TraitRefAleksey Kladov2019-11-261-1/+1
|
* Remove another helperAleksey Kladov2019-11-261-13/+2
|
* Remove assoc_type_by_name helperAleksey Kladov2019-11-261-6/+2
|
* Store names in TraitDataAleksey Kladov2019-11-261-5/+2
|
* Detangle ty from traits a bitAleksey Kladov2019-11-261-46/+7
|
* id-ify impls_in_crate_queryAleksey Kladov2019-11-261-0/+9
|
* Id-ify Ty::AdtAleksey Kladov2019-11-261-11/+43
|
* Introduce hir::TypeAleksey Kladov2019-11-261-7/+159
| | | | It should provide a convenient API over more low-level Ty
* More ids in TyAleksey Kladov2019-11-251-8/+0
|
* Fix hir for ast::UnionDefAleksey Kladov2019-11-251-3/+3
|
* Use GenericDefIdMoreAleksey Kladov2019-11-251-14/+4
|
* Switch to variant-granularity field type inferenceAleksey Kladov2019-11-241-1/+1
|
* Simplify ADT fieldsAleksey Kladov2019-11-241-9/+5
|
* Remove impl_block moduleAleksey Kladov2019-11-241-0/+35
|
* SimplifyAleksey Kladov2019-11-241-52/+5
|
* Don't redo field resolution in the IDEAleksey Kladov2019-11-241-1/+1
|
* Cleanup nameresAleksey Kladov2019-11-241-2/+2
|
* CleanupAleksey Kladov2019-11-241-1/+1
|
* Switch to StaticLoc for staticsAleksey Kladov2019-11-241-1/+1
|
* Cleanup importsAleksey Kladov2019-11-241-7/+4
|
* Move ModuleSource back to hirAleksey Kladov2019-11-231-3/+62
|
* Privatise nameresAleksey Kladov2019-11-231-1/+1
|
* Rename CrateModuleIdAleksey Kladov2019-11-231-3/+3
|
* Move ImportIdAleksey Kladov2019-11-231-4/+4
|
* Hide ImportIdAleksey Kladov2019-11-231-15/+11
|
* Move docs to hir_defAleksey Kladov2019-11-231-16/+15
|
* Move attrs query to hir_defAleksey Kladov2019-11-231-4/+52
|
* Remove TraitData from APIAleksey Kladov2019-11-221-9/+4
|
* Hide data from public APIAleksey Kladov2019-11-221-10/+2
|
* Move const&static date to hir_defAleksey Kladov2019-11-221-45/+6
|
* Make ImplData's fields publicAleksey Kladov2019-11-221-1/+1
|
* Move FunctionData to hir_defAleksey Kladov2019-11-221-77/+10
|
* Move TypeAlias to hir_defAleksey Kladov2019-11-221-2/+2
|
* Remove old hir::generics moduleAleksey Kladov2019-11-211-12/+34
|
* Move resolver to hir_defAleksey Kladov2019-11-211-1/+1
|
* Use GenericParam in ScopeDefAleksey Kladov2019-11-211-1/+1
|
* Move ScopeDefAleksey Kladov2019-11-211-1/+25
|
* DecoupleAleksey Kladov2019-11-211-1/+1
|
* Decouple ResolverAleksey Kladov2019-11-211-11/+7
|
* SimplifyAleksey Kladov2019-11-201-8/+9
|
* Add HasResolver traitAleksey Kladov2019-11-201-104/+2
|
* Remove hir/adt.rsAleksey Kladov2019-11-201-1/+41
|
* Simplify generic paramsAleksey Kladov2019-11-201-17/+6
|
* Move constants to new IDAleksey Kladov2019-11-201-10/+15
| | | | This allows us to get rid of trait item index
* Don't duplicate ContainerId typeAleksey Kladov2019-11-201-8/+8
|
* Switch type aliases to new sourcesAleksey Kladov2019-11-201-12/+16
|
* Next gen IDs for functionsAleksey Kladov2019-11-201-10/+15
| | | | | | | | | | | | | | | | | 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-20/+12
|
* Rename Source::ast -> Source::valueAleksey Kladov2019-11-201-7/+7
|
* Remove old impls infrastructureAleksey Kladov2019-11-151-14/+11
|