aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Quote the quoted commentEdwin Cheng2019-05-042-2/+2
|
* Use explict `escape_default` instead of dbg printEdwin Cheng2019-05-041-1/+1
|
* Convert doc comment to attrEdwin Cheng2019-05-042-3/+95
|
* Mark unused mbe variable as `Binding::Empty`Edwin Cheng2019-05-032-13/+61
|
* By pass unbind $var while mbe expandingEdwin Cheng2019-05-033-7/+39
|
* Refactor out tests module and remove empty subtreeEdwin Cheng2019-05-033-1137/+1372
|
* Fixed old incorrect testEdwin Cheng2019-05-021-1/+1
|
* Fix typoEdwin Cheng2019-05-021-3/+3
|
* Compare text insteadEdwin Cheng2019-05-021-2/+2
|
* Add empty bindings and some refactoringEdwin Cheng2019-05-022-22/+41
|
* Make `vis` matcher optional and fix typoEdwin Cheng2019-05-023-5/+28
|
* Remove unused code in subtree_sourceEdwin Cheng2019-05-021-182/+41
|
* FormatingEdwin Cheng2019-05-021-1/+1
|
* 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-255-23/+185
|
* Add handling `token` seperator in mbeEdwin Cheng2019-04-256-226/+217
|
* 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
|