aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused code and add space bewteen ttEdwin Cheng2019-05-022-32/+80
|
* Refactor parser handle mult-char punct internallyEdwin Cheng2019-04-282-22/+18
|
* Use panic instead of unwrapEdwin Cheng2019-04-251-8/+6
|
* Fix more bugsEdwin Cheng2019-04-256-23/+186
|
* Add handling `token` seperator in mbeEdwin Cheng2019-04-257-226/+218
|
* Fix incorrect repeat sep eatingEdwin Cheng2019-04-253-24/+304
|
* Add cached for SubtreeSourceEdwin Cheng2019-04-221-4/+20
|
* Remove unused print outEdwin Cheng2019-04-221-67/+63
|
* Add a test for #1178 caseEdwin Cheng2019-04-221-3/+102
|
* Add mbe expand limit and poision macro setEdwin Cheng2019-04-221-3/+10
|
* Add testsEdwin Cheng2019-04-211-2/+87
|
* Fix offset bug in SourceWalkerEdwin Cheng2019-04-211-6/+7
|
* Handle `*+` case and single token caseEdwin Cheng2019-04-211-5/+56
|
* fix mbe_parser rhs colon parsingEdwin Cheng2019-04-211-10/+11
|
* Fix lifetime in tt to syntax node conversionEdwin Cheng2019-04-211-1/+6
|
* Fix bugsEdwin Cheng2019-04-203-44/+115
|
* Disable test_tt_xxEdwin Cheng2019-04-191-23/+23
|
* Disable tt matcherEdwin Cheng2019-04-191-4/+8
|
* Add back missing assertEdwin Cheng2019-04-191-2/+3
|
* Fix bug for ident to lifetimeEdwin Cheng2019-04-191-0/+7
|
* Add vis matcherEdwin Cheng2019-04-194-0/+25
|
* Add literal matcherEdwin Cheng2019-04-193-0/+35
|
* Add lifetime matcherEdwin Cheng2019-04-194-2/+25
|
* add tt matcherEdwin Cheng2019-04-192-0/+28
|
* add block matcherEdwin Cheng2019-04-194-0/+33
|
* Add block matcherEdwin Cheng2019-04-194-0/+26
|
* Merge #1148bors[bot]2019-04-192-10/+142
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1148: Add token_tree_to_xxx functions r=matklad a=edwin0cheng <del>As discus in PR #1147 , this PR added a `mbe::MacroKind` . Currently only 2 kind of macro are supported, `SourceFile` and `Block`.</del> Added following functions for `tt::TokenTree` and `ast::Node` conversion: * token_tree_to_expr * token_tree_to_pat * token_tree_to_ty * token_tree_to_macro_stmts * token_tree_to_macro_items And added two new syntax kind: * MACRO_ITEMS * MACRO_STMTS Co-authored-by: Edwin Cheng <[email protected]>
| * Return Result for token_tree_to_xx functionsEdwin Cheng2019-04-182-14/+24
| |
| * Add expr, pat, ty and macro_stmtsEdwin Cheng2019-04-182-5/+98
| |
| * Add MacroItems and MacroStmts in grammer.ronEdwin Cheng2019-04-182-8/+37
| |
* | Fix missing last token in mbe $repeat parsingEdwin Cheng2019-04-182-1/+24
|/
* Add `item` matcher in mbeEdwin Cheng2019-04-184-0/+61
|
* Add mbe stmt matcherEdwin Cheng2019-04-174-0/+28
|
* Fix bug and add expr , pat , ty matcherEdwin Cheng2019-04-145-3/+148
|
* Remove skip Delimiter::None and handle DollarsEdwin Cheng2019-04-124-218/+243
|
* Refactoring and add some docsEdwin Cheng2019-04-082-83/+106
|
* Fixed infintite loop bugEdwin Cheng2019-04-081-30/+4
|
* Fixed empty node bugEdwin Cheng2019-04-081-10/+49
|
* Use SubtreeWalker instread of flatten TtTokenEdwin Cheng2019-04-084-258/+421
|
* Combine all tokensource to one and refactoringEdwin Cheng2019-04-075-86/+94
|
* Refactoring subtree_sourceEdwin Cheng2019-04-074-364/+386
|
* Add TtCursorTokenSource and TtCursorTokenSinkEdwin Cheng2019-04-062-24/+204
|
* Add path test and empty eat_path handlingEdwin Cheng2019-04-063-0/+31
|
* Add proper test for literals and fixed typo bugEdwin Cheng2019-04-052-4/+50
|
* Add classify_literal and undo expose next_tokenEdwin Cheng2019-04-052-6/+4
|
* Fix literal support in token tree to ast item listEdwin Cheng2019-04-052-2/+43
|
* Clean upEdwin Cheng2019-04-041-29/+29
|
* Add multi-byte token support in tkn tree to astEdwin Cheng2019-04-042-20/+138
|
* always show token textAleksey Kladov2019-04-021-8/+8
|
* switch to new rowanAleksey Kladov2019-04-011-39/+47
|