Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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]> | ||||
| * | Return Result for token_tree_to_xx functions | Edwin Cheng | 2019-04-18 | 2 | -14/+24 |
| | | |||||
| * | Add expr, pat, ty and macro_stmts | Edwin Cheng | 2019-04-18 | 2 | -5/+98 |
| | | |||||
| * | Add MacroItems and MacroStmts in grammer.ron | Edwin Cheng | 2019-04-18 | 2 | -8/+37 |
| | | |||||
* | | Fix missing last token in mbe $repeat parsing | Edwin Cheng | 2019-04-18 | 2 | -1/+24 |
|/ | |||||
* | Add `item` matcher in mbe | Edwin Cheng | 2019-04-18 | 4 | -0/+61 |
| | |||||
* | Add mbe stmt matcher | Edwin Cheng | 2019-04-17 | 4 | -0/+28 |
| | |||||
* | Fix bug and add expr , pat , ty matcher | Edwin Cheng | 2019-04-14 | 5 | -3/+148 |
| | |||||
* | Remove skip Delimiter::None and handle Dollars | Edwin Cheng | 2019-04-12 | 4 | -218/+243 |
| | |||||
* | Refactoring and add some docs | Edwin Cheng | 2019-04-08 | 2 | -83/+106 |
| | |||||
* | Fixed infintite loop bug | Edwin Cheng | 2019-04-08 | 1 | -30/+4 |
| |