aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def
Commit message (Collapse)AuthorAgeFilesLines
...
* Move lang_items to hir_defAleksey Kladov2019-11-233-3/+134
|
* Use attrs rather than syntax for lang itemsAleksey Kladov2019-11-232-8/+20
|
* Move attrs query to hir_defAleksey Kladov2019-11-234-7/+129
|
* More principled sources for enums and fieldsAleksey Kladov2019-11-223-40/+167
|
* Uniformalize namingAleksey Kladov2019-11-221-15/+10
|
* Move const&static date to hir_defAleksey Kladov2019-11-222-5/+36
|
* Make ImplData's fields publicAleksey Kladov2019-11-221-22/+8
|
* Move data to a single fileAleksey Kladov2019-11-227-248/+208
|
* Move FunctionData to hir_defAleksey Kladov2019-11-223-1/+68
|
*-. Merge #2348 #2352bors[bot]2019-11-223-1/+33
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2348: Add support for stringify! builtin macro r=matklad a=piotr-szpetkowski Refs #2212 First time ever contributing here, hopefully it's ok. 2352: Move TypeAlias to hir_def r=matklad a=matklad Co-authored-by: Piotr Szpetkowski <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| | * Move TypeAlias to hir_defAleksey Kladov2019-11-223-1/+33
| |/
* / Encapsulate AttrsAleksey Kladov2019-11-223-29/+45
|/
* Fix test mark placementAleksey Kladov2019-11-212-2/+2
|
* Reduce visibilityAleksey Kladov2019-11-211-41/+37
|
* ResimplifyAleksey Kladov2019-11-211-23/+6
|
* Restore a markAleksey Kladov2019-11-213-1/+20
|
* Move resolver to hir_defAleksey Kladov2019-11-212-0/+609
|
* Decouple ResolverAleksey Kladov2019-11-211-1/+8
|
* Simplify generic paramsAleksey Kladov2019-11-201-2/+1
|
* Move generic_params query to HIRAleksey Kladov2019-11-202-4/+31
|
* Move constants to new IDAleksey Kladov2019-11-206-54/+65
| | | | This allows us to get rid of trait item index
* Don't duplicate ContainerId typeAleksey Kladov2019-11-204-34/+27
|
* Switch type aliases to new sourcesAleksey Kladov2019-11-206-19/+74
|
* Next gen IDs for functionsAleksey Kladov2019-11-207-22/+105
| | | | | | | | | | | | | | | | | 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-205-3/+86
|
* Move Generics to hir_defAleksey Kladov2019-11-202-0/+187
|
* Rename Source::ast -> Source::valueAleksey Kladov2019-11-208-24/+25
|
* Disable doctestsAleksey Kladov2019-11-172-1/+4
|
* Remove wrong cloneAleksey Kladov2019-11-151-2/+2
|
* 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-153-1/+89
|
* Store impls in CrateDefMapAleksey Kladov2019-11-153-4/+39
|
* Add ImplIdAleksey Kladov2019-11-152-9/+22
|
* Reduce visibilityAleksey Kladov2019-11-151-1/+1
|
* Move scope tests to hir_defAleksey Kladov2019-11-153-3/+228
|
* Add convenience method for testingAleksey Kladov2019-11-153-5/+5
|
* Privatize modulesAleksey Kladov2019-11-151-1/+5
|
* Refactor Module::from_source to properly descend from root fileAleksey Kladov2019-11-151-0/+7
|
* Move body queries to hir_defAleksey Kladov2019-11-144-4/+62
|
* Move scopes to hir_defAleksey Kladov2019-11-142-0/+158
|
* Slightly better namingAleksey Kladov2019-11-142-10/+7
|
* Handle macro-generated expressions slightly less wrongAleksey Kladov2019-11-142-32/+20
|
* Move expansion to ExpanderAleksey Kladov2019-11-142-27/+41
|
* Move parse_path to ExpanderAleksey Kladov2019-11-142-10/+10
|
* Expansion stack scaffoldAleksey Kladov2019-11-142-8/+38
|
* Add Expader::to_sourceAleksey Kladov2019-11-142-10/+8
|
* Move original_file to ExpanderAleksey Kladov2019-11-142-9/+11
|
* Rename MacroResolver -> ExpanderAleksey Kladov2019-11-142-27/+23
|
* Move current file to MacroResolverAleksey Kladov2019-11-142-19/+25
|
* Reduce visibilityAleksey Kladov2019-11-141-5/+1
|