aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use attr location for builtin macro goto-impEdwin Cheng2020-01-121-0/+15
|
* Some more refactoringFlorian Diebold2020-01-111-0/+10
|
* Rename range to by_kindEdwin Cheng2019-12-181-2/+2
|
* Add TokenTextRangeEdwin Cheng2019-12-181-2/+2
|
* Re-export Origin to replace ExpansionOriginEdwin Cheng2019-12-141-13/+7
|
* Fix original_source find orderEdwin Cheng2019-12-141-7/+22
|
* Remove MacroFileKindEdwin Cheng2019-12-081-11/+2
|
* Implement ancestors_with_macros in a better wayFlorian Diebold2019-12-061-0/+21
|
* Try to make go to definition work in format!Florian Diebold2019-12-061-0/+18
| | | | | | | SourceAnalyzer didn't work properly within expression macro expansions because it didn't find the enclosing function. Fix this by going up the expansion chain to find ancestors. This makes the test work, but apparently in real usage it's still not working.
* Add expansion infrastructure for derive macrosFlorian Diebold2019-12-051-24/+52
|
* Replace `ra_hir_expand::either` with crateice10002019-12-031-1/+0
|
* Use InFile for AstIdAleksey Kladov2019-11-281-35/+4
|
* Rename Source -> InFileAleksey Kladov2019-11-281-21/+21
|
* Hide MacroCallLocEdwin Cheng2019-11-261-2/+12
|
* Rename BuiltinExpander to BuiltinFnLikeExpanderEdwin Cheng2019-11-231-2/+2
|
* Add TestDBEdwin Cheng2019-11-221-0/+3
|
* Add MacroFileKind::StatementsEdwin Cheng2019-11-211-0/+1
|
* Rename with_ast -> with_valueAleksey Kladov2019-11-201-4/+4
|
* Rename Source::ast -> Source::valueAleksey Kladov2019-11-201-15/+19
|
* Collapse TokenMap and RevTokenMapAleksey Kladov2019-11-181-2/+2
|
* Token-based reverse-mappingAleksey Kladov2019-11-181-29/+22
|
* More correct expansion mappingAleksey Kladov2019-11-171-14/+30
| | | | We can't really map arbitrary ranges, we only can map tokens
* Make shift an implementation detail of mbeAleksey Kladov2019-11-171-6/+6
|
* Don't store shift redundantlyAleksey Kladov2019-11-171-6/+5
|
* Goto definition works inside macrosAleksey Kladov2019-11-161-0/+9
|
* Prepare SourceAnalyzer for macrosAleksey Kladov2019-11-151-2/+8
|
* Sourcify some moreAleksey Kladov2019-11-151-0/+2
|
* Sourcify some thingsAleksey Kladov2019-11-151-0/+4
| | | | | If we want to support macros properly, we need to get rid of those FileIds everywhere...
* Handle macro-generated expressions slightly less wrongAleksey Kladov2019-11-141-1/+4
|
* Add MacroDefKindEdwin Cheng2019-11-111-19/+7
|
* Add quote macroEdwin Cheng2019-11-111-0/+1
|
* Add basic bultin macro infrastructureEdwin Cheng2019-11-111-4/+25
|
* Minor cleanupAleksey Kladov2019-11-091-6/+8
|
* Remove map_ranges in RevTokenMapEdwin Cheng2019-11-091-28/+27
|
* Refactor and simpfilyEdwin Cheng2019-11-081-16/+24
|
* Rename and fix typosEdwin Cheng2019-11-041-1/+1
|
* Remove dbg!Edwin Cheng2019-11-041-4/+0
|
* Add parent_expansion to HirFileIdEdwin Cheng2019-11-041-0/+19
|
* Add macro_expansion_info in hir_expandEdwin Cheng2019-11-041-1/+34
|
* Move diagnostics to hir_expandAleksey Kladov2019-11-021-0/+1
|
* Move Source to hir_expandAleksey Kladov2019-11-021-1/+19
|
* move hygiene to hir_expandAleksey Kladov2019-10-301-11/+1
|
* push name down to hir_expandAleksey Kladov2019-10-301-0/+1
|
* push either to hir_expandAleksey Kladov2019-10-301-0/+1
|
* move raw_items to hir_defAleksey Kladov2019-10-301-4/+4
|
* cleanupAleksey Kladov2019-10-291-14/+8
|
* switch expand to dyn TraitAleksey Kladov2019-10-291-3/+3
|
* remove not that useful indirectionAleksey Kladov2019-10-291-14/+4
|
* reduce visibilityAleksey Kladov2019-10-291-2/+1
|
* remove unused queryAleksey Kladov2019-10-291-2/+3
|