aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't wrap most syntax trees in invisible delimiters when converting to ↵Florian Diebold2019-12-051-2/+8
| | | | | | token tree Otherwise parsing them again doesn't work.
* Add expansion infrastructure for derive macrosFlorian Diebold2019-12-051-12/+22
|
* Fixed mbe trival subtreeEdwin Cheng2019-11-211-0/+68
|
* Collapse TokenMap and RevTokenMapAleksey Kladov2019-11-182-112/+100
|
* Token-based reverse-mappingAleksey Kladov2019-11-181-1/+5
|
* More correct expansion mappingAleksey Kladov2019-11-171-4/+9
| | | | We can't really map arbitrary ranges, we only can map tokens
* Make shift an implementation detail of mbeAleksey Kladov2019-11-171-38/+68
|
* Goto definition works inside macrosAleksey Kladov2019-11-161-0/+6
|
* Remove typed macro parsing APIAleksey Kladov2019-11-093-64/+75
| | | | | We do type-erasure on every path anyway, so it doesn't make much sense to duplicate this function for every type
* Remove map_ranges in RevTokenMapEdwin Cheng2019-11-091-31/+1
|
* Refactor and simpfilyEdwin Cheng2019-11-081-1/+1
|
* Refactor and add more commentsEdwin Cheng2019-11-081-50/+46
|
* Fix formattingEdwin Cheng2019-11-051-1/+1
|
* Refactor a bitEdwin Cheng2019-11-041-9/+6
|
* Use macro_rules shift to map text rangesEdwin Cheng2019-11-042-30/+15
|
* Rename and fix typosEdwin Cheng2019-11-041-9/+15
|
* Remove dbg!Edwin Cheng2019-11-041-1/+0
|
* Fixed bug in ExpandedRangeMapEdwin Cheng2019-11-041-34/+16
|
* Add macro_expansion_info in hir_expandEdwin Cheng2019-11-043-28/+103
|
* Add map_id to TokenIdEdwin Cheng2019-11-041-3/+20
|
* Change to add 1 if non zero shiftEdwin Cheng2019-11-041-1/+1
|
* Refactor and renameEdwin Cheng2019-11-041-21/+20
|
* Change Option<u32> to u32 for shift valueEdwin Cheng2019-11-041-8/+5
|
* Change to better namingEdwin Cheng2019-11-041-3/+3
|
* Add TokenId Shif in macro_rulesEdwin Cheng2019-11-042-2/+74
|
* Some clippy fixeskjeremy2019-10-302-3/+2
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-305-4/+12
| | | | #1856
* Support `$crate` in item and expr place.uHOOCCOOHu2019-09-261-1/+1
|
* simplifyAleksey Kladov2019-09-241-9/+1
|
* remove obsolete TOODAleksey Kladov2019-09-221-1/+0
| | | | I have no idea what I've meant to fix here :-(
* minor cleanupAleksey Kladov2019-09-221-1/+8
|
* slightly cleanup macro testsAleksey Kladov2019-09-191-185/+159
|
* use usual token tree for macro expansionAleksey Kladov2019-09-1710-933/+753
|
* split mbe expander code into two modulesAleksey Kladov2019-09-173-418/+448
|
* cleanup expansion to item listAleksey Kladov2019-09-103-32/+7
|
* simiplifyAleksey Kladov2019-09-101-25/+2
|
* add fragmets to expansionAleksey Kladov2019-09-102-36/+42
|
* "Fix" mbe to work with decomposed tokensAleksey Kladov2019-09-103-27/+41
| | | | We regressed $i * 2 where $i = 1 + 1, need to fix that!
* fix assistsAleksey Kladov2019-09-021-15/+16
|
* remove needless cloneAleksey Kladov2019-09-021-1/+1
|
* simplifyAleksey Kladov2019-09-024-158/+82
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-4/+4
|
* Return a Ref from SubtreeTokenSource::getLaurențiu Nicola2019-08-031-33/+29
|
* Avoid cloning a TtToken in SubtreeTokenSource::mk_tokenLaurențiu Nicola2019-08-031-9/+15
|
* switch to upstream rowan's APIAleksey Kladov2019-07-202-9/+10
|
* rename range -> text_rangeAleksey Kladov2019-07-201-3/+3
|
* move debug_dump to fmt::DebugAleksey Kladov2019-07-201-4/+4
|
* migrate mbe to the new rowanAleksey Kladov2019-07-194-36/+27
|
* use Parse in mbeAleksey Kladov2019-07-182-44/+38
|
* make Parse fields privateAleksey Kladov2019-07-121-2/+2
| | | | this is in preparation for the new rowan API