Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | switch to new rowan | Aleksey Kladov | 2019-04-01 | 1 | -39/+47 | |
| | ||||||
* | hack around non-terminating macro expansion | Aleksey Kladov | 2019-03-17 | 1 | -0/+14 | |
| | ||||||
* | add name resolution from the old impl | Aleksey Kladov | 2019-03-17 | 1 | -10/+10 | |
| | | | | unlike the old impl, this also handles macro imports across crates | |||||
* | Add expander unit tests | Wilco Kusee | 2019-03-03 | 1 | -4/+69 | |
| | ||||||
* | Add parser unit tests | Wilco Kusee | 2019-03-03 | 3 | -6/+58 | |
| | ||||||
* | Split parse and expand errors | Wilco Kusee | 2019-03-03 | 4 | -72/+74 | |
| | ||||||
* | Formatting | Wilco Kusee | 2019-03-02 | 1 | -10/+20 | |
| | ||||||
* | Replace option with result in mbe | Wilco Kusee | 2019-03-02 | 4 | -74/+93 | |
| | ||||||
* | Fix a typo | Dale Wijnand | 2019-02-26 | 1 | -4/+4 | |
| | ||||||
* | rename | Aleksey Kladov | 2019-02-24 | 1 | -8/+8 | |
| | ||||||
* | Add a test for macro parsing | Aleksey Kladov | 2019-02-23 | 2 | -10/+80 | |
| | ||||||
* | implement tt -> ast | Aleksey Kladov | 2019-02-23 | 2 | -5/+55 | |
| | ||||||
* | keep-text | Aleksey Kladov | 2019-02-23 | 1 | -10/+17 | |
| |