aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src/syntax_bridge.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix accidently quadratic behavior when processing includesAleksey Kladov2020-04-101-17/+19
| | | | closes #3927
* Add basic custom derive loweringEdwin Cheng2020-03-251-1/+1
|
* Add open delim when delim not matchEdwin Cheng2020-03-201-4/+27
|
* Fix text range bug and reorderEdwin Cheng2020-03-201-14/+19
|
* Add TokenConvertor traitEdwin Cheng2020-03-201-236/+152
|
* Add test for delim bugEdwin Cheng2020-03-201-0/+103
|
* Add parse_to_token_treeEdwin Cheng2020-03-081-30/+191
|
* fix regression from #3451Edwin Cheng2020-03-051-1/+3
|
* Fixed whitespace bugEdwin Cheng2020-03-041-3/+4
|
* Cleanup editing APIAleksey Kladov2020-02-291-1/+1
|
* 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
|