Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Fixed empty node bug | Edwin Cheng | 2019-04-08 | 1 | -10/+49 | |
| | ||||||
* | Use SubtreeWalker instread of flatten TtToken | Edwin Cheng | 2019-04-08 | 4 | -258/+421 | |
| | ||||||
* | Combine all tokensource to one and refactoring | Edwin Cheng | 2019-04-07 | 5 | -86/+94 | |
| | ||||||
* | Refactoring subtree_source | Edwin Cheng | 2019-04-07 | 4 | -364/+386 | |
| | ||||||
* | Add TtCursorTokenSource and TtCursorTokenSink | Edwin Cheng | 2019-04-06 | 2 | -24/+204 | |
| | ||||||
* | Add path test and empty eat_path handling | Edwin Cheng | 2019-04-06 | 3 | -0/+31 | |
| | ||||||
* | Add proper test for literals and fixed typo bug | Edwin Cheng | 2019-04-05 | 2 | -4/+50 | |
| | ||||||
* | Add classify_literal and undo expose next_token | Edwin Cheng | 2019-04-05 | 2 | -6/+4 | |
| | ||||||
* | Fix literal support in token tree to ast item list | Edwin Cheng | 2019-04-05 | 2 | -2/+43 | |
| | ||||||
* | Clean up | Edwin Cheng | 2019-04-04 | 1 | -29/+29 | |
| | ||||||
* | Add multi-byte token support in tkn tree to ast | Edwin Cheng | 2019-04-04 | 2 | -20/+138 | |
| | ||||||
* | always show token text | Aleksey Kladov | 2019-04-02 | 1 | -8/+8 | |
| |