aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-121-4/+4
|
* Rename ra_parser -> parserAleksey Kladov2020-08-121-2/+3
|
* Rename BindPat -> IdentPatAleksey Kladov2020-07-311-2/+2
|
* Rename EnumDef -> EnumAleksey Kladov2020-07-301-2/+2
|
* Rename StructDef -> StructAleksey Kladov2020-07-301-2/+2
|
* Rename FieldDef -> FieldAleksey Kladov2020-07-301-4/+4
|
* Rename FnDef -> FnAleksey Kladov2020-07-301-1/+1
|
* Introduce EffectExprAleksey Kladov2020-05-021-77/+75
|
* Merge #4139bors[bot]2020-04-251-1/+36
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4139: Add check for rules that no repetition which could match an empty token r=matklad a=edwin0cheng Fix #4103 for `/ui/issues/issue-57597.rs` This is `ParseError` of the macro rules , because it is how rustc handle it : https://github.com/rust-lang/rust/blob/a58b1ed44f5e06976de2bdc4d7dc81c36a96934f/src/librustc_expand/mbe/macro_rules.rs#L558 Co-authored-by: Edwin Cheng <[email protected]>
| * Checks no repetition for an empty tokenEdwin Cheng2020-04-251-1/+36
| |
* | Merge #4134bors[bot]2020-04-251-0/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 4134: Special case for empty comments in doc comment kind r=matklad a=edwin0cheng Part of #4103 Fix `ui/empty/empty-comment.rs macros` Co-authored-by: Edwin Cheng <[email protected]>
| * | Fix whitespacesEdwin Cheng2020-04-251-1/+1
| | |
| * | Special case for empty commentsEdwin Cheng2020-04-251-0/+13
| |/
* / Convert tests to text-sizeAleksey Kladov2020-04-251-204/+204
|/
* Convert bool to ident instead of literal in mbeEdwin Cheng2020-04-181-0/+30
|
* Add mbe lifetime split testEdwin Cheng2020-04-181-0/+27
|
* Rename some tokensAleksey Kladov2020-04-101-10/+10
|
* Improve tt::Subtree debug printEdwin Cheng2020-04-091-0/+79
|
* Add L_DOLLAR for TYPE_RECOVERY_SETEdwin Cheng2020-04-081-0/+17
|
* Add open delim when delim not matchEdwin Cheng2020-03-201-1/+1
|
* Add TokenConvertor traitEdwin Cheng2020-03-201-3/+3
|
* Add test for delim bugEdwin Cheng2020-03-201-12/+44
|
* Turn ExpandResult into structFlorian Diebold2020-03-161-2/+1
|
* Fix performance problemFlorian Diebold2020-03-161-1/+1
|
* Make MBE expansion more resilient (WIP)Florian Diebold2020-03-161-1/+2
|
* Add parse_to_token_treeEdwin Cheng2020-03-081-2/+10
|
* fix regression from #3451Edwin Cheng2020-03-051-0/+54
|
* 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
|