aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fixed whitespace bugEdwin Cheng2020-03-041-0/+31
|
* Fix #3436Edwin Cheng2020-03-041-0/+13
|
* Fix a bug for single dollar sign macroEdwin Cheng2020-03-031-0/+1
|
* ra_mbe: Remove explicit type annotationVeetaha2020-02-221-1/+1
|
* ra_mbe: added test for malformed token in macro invokationVeetaha2020-02-221-3/+21
| | | | | There was a panic where lexer returned None on malformed tokens. But now we just ignore tokenization errors in mbe.
* Add details about test_repeat_bad_var current stateVincent Rouillé2019-12-301-0/+2
|
* fix #2520: change expand_repeat loop stop conditionVincent Rouillé2019-12-281-0/+46
|
* Refactor macro testsAleksey Kladov2019-12-191-390/+275
|
* Fix parsing of interpolated expressionsAleksey Kladov2019-12-191-0/+18
|
* Rename range to by_kindEdwin Cheng2019-12-181-1/+1
|
* Add test for token mapEdwin Cheng2019-12-181-0/+43
|
* Add token id to delimsEdwin Cheng2019-12-181-7/+9
|
* Add token ids for all tt::LeafEdwin Cheng2019-12-181-5/+5
|
* Refactor tt::DelimiterEdwin Cheng2019-12-131-1/+1
|
* Remove typed macro parsing APIAleksey Kladov2019-11-091-31/+71
| | | | | We do type-erasure on every path anyway, so it doesn't make much sense to duplicate this function for every type
* Add macro_expansion_info in hir_expandEdwin Cheng2019-11-041-8/+8
|
* Add TokenId Shif in macro_rulesEdwin Cheng2019-11-041-0/+27
|
* slightly cleanup macro testsAleksey Kladov2019-09-191-185/+159
|
* use usual token tree for macro expansionAleksey Kladov2019-09-171-0/+48
|
* cleanup expansion to item listAleksey Kladov2019-09-101-4/+4
|
* add fragmets to expansionAleksey Kladov2019-09-101-3/+2
|
* "Fix" mbe to work with decomposed tokensAleksey Kladov2019-09-101-4/+5
| | | | We regressed $i * 2 where $i = 1 + 1, need to fix that!
* fix assistsAleksey Kladov2019-09-021-15/+16
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-4/+4
|
* switch to upstream rowan's APIAleksey Kladov2019-07-201-3/+3
|
* move debug_dump to fmt::DebugAleksey Kladov2019-07-201-4/+4
|
* migrate mbe to the new rowanAleksey Kladov2019-07-191-26/+17
|
* use Parse in mbeAleksey Kladov2019-07-181-15/+15
|
* make Parse fields privateAleksey Kladov2019-07-121-2/+2
| | | | this is in preparation for the new rowan API
* fix typos in mbe testsAleksey Kladov2019-05-281-14/+13
|
* move mbe to the new APIAleksey Kladov2019-05-281-70/+70
|
* Fix match literalEdwin Cheng2019-05-201-0/+14
|
* Fixed missing empty varsEdwin Cheng2019-05-051-0/+52
|
* Quote the quoted commentEdwin Cheng2019-05-041-1/+1
|
* Convert doc comment to attrEdwin Cheng2019-05-041-0/+25
|
* Mark unused mbe variable as `Binding::Empty`Edwin Cheng2019-05-031-1/+12
|
* By pass unbind $var while mbe expandingEdwin Cheng2019-05-031-1/+1
|
* Refactor out tests module and remove empty subtreeEdwin Cheng2019-05-031-0/+1363