Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Change TokenSource to iteration based | Edwin Cheng | 2019-05-25 | 3 | -41/+64 | |
| | ||||||
* | Formatting | Edwin Cheng | 2019-05-23 | 1 | -1/+1 | |
| | ||||||
* | Refactor SubtreeSource | Edwin Cheng | 2019-05-22 | 3 | -201/+88 | |
| | ||||||
* | Fix match literal | Edwin Cheng | 2019-05-20 | 2 | -1/+19 | |
| | ||||||
* | apply T! macro where it is possible | Sergey Parilin | 2019-05-15 | 2 | -35/+32 | |
| | ||||||
* | Error out non single root token tree conversion | Edwin Cheng | 2019-05-14 | 1 | -0/+46 | |
| | ||||||
* | Fixed missing empty vars | Edwin Cheng | 2019-05-05 | 2 | -0/+55 | |
| | ||||||
* | Fix `$true` and `$false` as $var name error | Edwin Cheng | 2019-05-04 | 1 | -3/+24 | |
| | ||||||
* | Add test | Edwin Cheng | 2019-05-04 | 1 | -0/+2 | |
| | ||||||
* | Error out when parse_subtree is not a subtree | Edwin Cheng | 2019-05-04 | 1 | -3/+6 | |
| | ||||||
* | Quote the quoted comment | Edwin Cheng | 2019-05-04 | 2 | -2/+2 | |
| | ||||||
* | Use explict `escape_default` instead of dbg print | Edwin Cheng | 2019-05-04 | 1 | -1/+1 | |
| | ||||||
* | Convert doc comment to attr | Edwin Cheng | 2019-05-04 | 2 | -3/+95 | |
| | ||||||
* | Mark unused mbe variable as `Binding::Empty` | Edwin Cheng | 2019-05-03 | 2 | -13/+61 | |
| | ||||||
* | By pass unbind $var while mbe expanding | Edwin Cheng | 2019-05-03 | 3 | -7/+39 | |
| | ||||||
* | Refactor out tests module and remove empty subtree | Edwin Cheng | 2019-05-03 | 3 | -1137/+1372 | |
| | ||||||
* | Fixed old incorrect test | Edwin Cheng | 2019-05-02 | 1 | -1/+1 | |
| | ||||||
* | Fix typo | Edwin Cheng | 2019-05-02 | 1 | -3/+3 | |
| | ||||||
* | Compare text instead | Edwin Cheng | 2019-05-02 | 1 | -2/+2 | |
| | ||||||
* | Add empty bindings and some refactoring | Edwin Cheng | 2019-05-02 | 2 | -22/+41 | |
| | ||||||
* | Make `vis` matcher optional and fix typo | Edwin Cheng | 2019-05-02 | 3 | -5/+28 | |
| | ||||||
* | Remove unused code in subtree_source | Edwin Cheng | 2019-05-02 | 1 | -182/+41 | |
| | ||||||
* | Formating | Edwin Cheng | 2019-05-02 | 1 | -1/+1 | |
| | ||||||
* | Remove unused code and add space bewteen tt | Edwin Cheng | 2019-05-02 | 2 | -32/+80 | |
| | ||||||
* | Refactor parser handle mult-char punct internally | Edwin Cheng | 2019-04-28 | 2 | -22/+18 | |
| | ||||||
* | Use panic instead of unwrap | Edwin Cheng | 2019-04-25 | 1 | -8/+6 | |
| | ||||||
* | Fix more bugs | Edwin Cheng | 2019-04-25 | 6 | -23/+186 | |
| | ||||||
* | Add handling `token` seperator in mbe | Edwin Cheng | 2019-04-25 | 7 | -226/+218 | |
| | ||||||
* | Fix incorrect repeat sep eating | Edwin Cheng | 2019-04-25 | 3 | -24/+304 | |
| | ||||||
* | Add cached for SubtreeSource | Edwin Cheng | 2019-04-22 | 1 | -4/+20 | |
| | ||||||
* | Remove unused print out | Edwin Cheng | 2019-04-22 | 1 | -67/+63 | |
| | ||||||
* | Add a test for #1178 case | Edwin Cheng | 2019-04-22 | 1 | -3/+102 | |
| | ||||||
* | Add mbe expand limit and poision macro set | Edwin Cheng | 2019-04-22 | 1 | -3/+10 | |
| | ||||||
* | Add tests | Edwin Cheng | 2019-04-21 | 1 | -2/+87 | |
| | ||||||
* | Fix offset bug in SourceWalker | Edwin Cheng | 2019-04-21 | 1 | -6/+7 | |
| | ||||||
* | Handle `*+` case and single token case | Edwin Cheng | 2019-04-21 | 1 | -5/+56 | |
| | ||||||
* | fix mbe_parser rhs colon parsing | Edwin Cheng | 2019-04-21 | 1 | -10/+11 | |
| | ||||||
* | Fix lifetime in tt to syntax node conversion | Edwin Cheng | 2019-04-21 | 1 | -1/+6 | |
| | ||||||
* | Fix bugs | Edwin Cheng | 2019-04-20 | 3 | -44/+115 | |
| | ||||||
* | Disable test_tt_xx | Edwin Cheng | 2019-04-19 | 1 | -23/+23 | |
| | ||||||
* | Disable tt matcher | Edwin Cheng | 2019-04-19 | 1 | -4/+8 | |
| | ||||||
* | Add back missing assert | Edwin Cheng | 2019-04-19 | 1 | -2/+3 | |
| | ||||||
* | Fix bug for ident to lifetime | Edwin Cheng | 2019-04-19 | 1 | -0/+7 | |
| | ||||||
* | Add vis matcher | Edwin Cheng | 2019-04-19 | 4 | -0/+25 | |
| | ||||||
* | Add literal matcher | Edwin Cheng | 2019-04-19 | 3 | -0/+35 | |
| | ||||||
* | Add lifetime matcher | Edwin Cheng | 2019-04-19 | 4 | -2/+25 | |
| | ||||||
* | add tt matcher | Edwin Cheng | 2019-04-19 | 2 | -0/+28 | |
| | ||||||
* | add block matcher | Edwin Cheng | 2019-04-19 | 4 | -0/+33 | |
| | ||||||
* | Add block matcher | Edwin Cheng | 2019-04-19 | 4 | -0/+26 | |
| | ||||||
* | Merge #1148 | bors[bot] | 2019-04-19 | 2 | -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]> |