aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Revert some FIXMEsJmPotato2020-08-111-1/+2
| | | | Signed-off-by: JmPotato <[email protected]>
* Typo fixJmPotato2020-08-111-1/+1
| | | | Signed-off-by: JmPotato <[email protected]>
* Rename ModuleItem -> ItemAleksey Kladov2020-07-291-3/+3
|
* Reduce visibilityAleksey Kladov2020-07-231-3/+3
|
* Cap macro expansion depth for IDE featuresAleksey Kladov2020-07-151-0/+19
| | | | closes #4453
* Don't guess macro expansion crateAleksey Kladov2020-06-111-7/+9
|
* Make relevant_crates return a SetAleksey Kladov2020-06-111-0/+5
|
* Support local_inner_macrosEdwin Cheng2020-05-011-0/+2
|
* Convert code to text-sizeAleksey Kladov2020-04-251-2/+2
|
* Rename to CustomDeriveEdwin Cheng2020-03-251-1/+1
|
* Add basic custom derive loweringEdwin Cheng2020-03-251-4/+9
|
* Use `dyn Trait` for working with databseAleksey Kladov2020-03-161-3/+3
| | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate).
* ra_hir_expand: change the ordering of imports as per the formatterVeetaha2020-03-151-1/+1
|
* ra_hir_expand: migrate to impl_intern_key!()Veetaha2020-03-151-17/+3
|
* Implement concat macroEdwin Cheng2020-03-031-7/+52
|
* Add LazyMacroIdEdwin Cheng2020-03-031-8/+31
|
* Add couple of utility methodsAleksey Kladov2020-02-121-3/+19
|
* 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
|