aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src/syntax_bridge.rs
Commit message (Collapse)AuthorAgeFilesLines
* Refactor macro testsAleksey Kladov2019-12-191-7/+7
|
* RefactoringEdwin Cheng2019-12-181-47/+45
|
* Rename range to by_kindEdwin Cheng2019-12-181-1/+1
|
* Add TokenTextRangeEdwin Cheng2019-12-181-8/+33
|
* Add token id to delimsEdwin Cheng2019-12-181-45/+99
|
* Add token ids for all tt::LeafEdwin Cheng2019-12-181-18/+27
|
* Refactor tt::DelimiterEdwin Cheng2019-12-131-18/+16
|
* 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-181-111/+99
|
* 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
* Goto definition works inside macrosAleksey Kladov2019-11-161-0/+6
|
* Remove typed macro parsing APIAleksey Kladov2019-11-091-31/+3
| | | | | 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 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-041-30/+11
|
* 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-041-19/+94
|
* Add map_id to TokenIdEdwin Cheng2019-11-041-3/+20
|
* Some clippy fixeskjeremy2019-10-301-1/+1
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* cleanup expansion to item listAleksey Kladov2019-09-101-26/+1
|
* "Fix" mbe to work with decomposed tokensAleksey Kladov2019-09-101-1/+8
| | | | We regressed $i * 2 where $i = 1 + 1, need to fix that!
* simplifyAleksey Kladov2019-09-021-6/+26
|
* switch to upstream rowan's APIAleksey Kladov2019-07-201-6/+7
|
* rename range -> text_rangeAleksey Kladov2019-07-201-3/+3
|
* migrate mbe to the new rowanAleksey Kladov2019-07-191-7/+4
|
* use Parse in mbeAleksey Kladov2019-07-181-29/+23
|
* Some clippy fixes for 1.36Jeremy Kolb2019-07-041-1/+1
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-7/+7
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* fix: clean up warningscsmoe2019-06-061-1/+1
| | | | Change-Id: I91a468f6e846ac28574825b8ee7aa02fbff68f63
* Fix clippy::identity_conversionAlan Du2019-06-041-3/+4
|
* Fix clippy::len_zeroAlan Du2019-06-041-1/+1
|
* Store referece in tokenbufferEdwin Cheng2019-06-021-2/+4
|
* fix typos in mbe testsAleksey Kladov2019-05-281-2/+2
|
* return errors from tree builderAleksey Kladov2019-05-281-2/+3
|
* Minor use moduleEdwin Cheng2019-05-271-3/+2
|
* Simpliy how collecting token from srcEdwin Cheng2019-05-271-5/+1
|
* Remove Queier and SubtreeWalkEdwin Cheng2019-05-271-40/+70
|
* Remove duplicated codeEdwin Cheng2019-05-251-4/+0
|
* Simplify token_tree_to_xxxEdwin Cheng2019-05-251-47/+20
|
* Change TokenSource to iteration basedEdwin Cheng2019-05-251-18/+24
|
* Refactor SubtreeSourceEdwin Cheng2019-05-221-7/+14
|
* apply T! macro where it is possibleSergey Parilin2019-05-151-24/+21
|