Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clippy lints | kjeremy | 2019-12-20 | 1 | -1/+3 |
| | |||||
* | Fix shift id for delim and other tokens | Edwin Cheng | 2019-12-18 | 1 | -3/+15 |
| | |||||
* | Re-export Origin to replace ExpansionOrigin | Edwin Cheng | 2019-12-14 | 1 | -0/+1 |
| | |||||
* | Refactor tt::Delimiter | Edwin Cheng | 2019-12-13 | 1 | -2/+2 |
| | |||||
* | Collapse TokenMap and RevTokenMap | Aleksey Kladov | 2019-11-18 | 1 | -1/+1 |
| | |||||
* | Make shift an implementation detail of mbe | Aleksey Kladov | 2019-11-17 | 1 | -38/+68 |
| | |||||
* | Remove typed macro parsing API | Aleksey Kladov | 2019-11-09 | 1 | -2/+1 |
| | | | | | We do type-erasure on every path anyway, so it doesn't make much sense to duplicate this function for every type | ||||
* | Refactor and simpfily | Edwin Cheng | 2019-11-08 | 1 | -1/+1 |
| | |||||
* | Use macro_rules shift to map text ranges | Edwin Cheng | 2019-11-04 | 1 | -0/+4 |
| | |||||
* | Add macro_expansion_info in hir_expand | Edwin Cheng | 2019-11-04 | 1 | -1/+1 |
| | |||||
* | Change to add 1 if non zero shift | Edwin Cheng | 2019-11-04 | 1 | -1/+1 |
| | |||||
* | Refactor and rename | Edwin Cheng | 2019-11-04 | 1 | -21/+20 |
| | |||||
* | Change Option<u32> to u32 for shift value | Edwin Cheng | 2019-11-04 | 1 | -8/+5 |
| | |||||
* | Change to better naming | Edwin Cheng | 2019-11-04 | 1 | -3/+3 |
| | |||||
* | Add TokenId Shif in macro_rules | Edwin Cheng | 2019-11-04 | 1 | -2/+47 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -4/+4 |
| | | | | #1856 | ||||
* | minor cleanup | Aleksey Kladov | 2019-09-22 | 1 | -1/+8 |
| | |||||
* | use usual token tree for macro expansion | Aleksey Kladov | 2019-09-17 | 1 | -96/+61 |
| | |||||
* | cleanup expansion to item list | Aleksey Kladov | 2019-09-10 | 1 | -2/+2 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -8/+2 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | By pass unbind $var while mbe expanding | Edwin Cheng | 2019-05-03 | 1 | -1/+1 |
| | |||||
* | Refactor out tests module and remove empty subtree | Edwin Cheng | 2019-05-03 | 1 | -1137/+1 |
| | |||||
* | Fixed old incorrect test | Edwin Cheng | 2019-05-02 | 1 | -1/+1 |
| | |||||
* | Compare text instead | Edwin Cheng | 2019-05-02 | 1 | -2/+2 |
| | |||||
* | Add empty bindings and some refactoring | Edwin Cheng | 2019-05-02 | 1 | -1/+19 |
| | |||||
* | Refactor parser handle mult-char punct internally | Edwin Cheng | 2019-04-28 | 1 | -13/+17 |
| | |||||
* | Fix more bugs | Edwin Cheng | 2019-04-25 | 1 | -2/+110 |
| | |||||
* | Add handling `token` seperator in mbe | Edwin Cheng | 2019-04-25 | 1 | -189/+27 |
| | |||||
* | Fix incorrect repeat sep eating | Edwin Cheng | 2019-04-25 | 1 | -1/+257 |
| | |||||
* | 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 tests | Edwin Cheng | 2019-04-21 | 1 | -2/+87 |
| | |||||
* | Fix bugs | Edwin Cheng | 2019-04-20 | 1 | -23/+87 |
| | |||||
* | Disable test_tt_xx | Edwin Cheng | 2019-04-19 | 1 | -23/+23 |
| | |||||
* | Add back missing assert | Edwin Cheng | 2019-04-19 | 1 | -2/+3 |
| | |||||
* | Add vis matcher | Edwin Cheng | 2019-04-19 | 1 | -0/+12 |
| | |||||
* | Add literal matcher | Edwin Cheng | 2019-04-19 | 1 | -0/+12 |
| | |||||
* | Add lifetime matcher | Edwin Cheng | 2019-04-19 | 1 | -1/+12 |
| | |||||
* | add tt matcher | Edwin Cheng | 2019-04-19 | 1 | -0/+24 |
| | |||||
* | add block matcher | Edwin Cheng | 2019-04-19 | 1 | -0/+19 |
| | |||||
* | Add block matcher | Edwin Cheng | 2019-04-19 | 1 | -0/+12 |
| | |||||
* | Merge #1148 | bors[bot] | 2019-04-19 | 1 | -10/+76 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -4/+7 |
| | | |||||
| * | Add expr, pat, ty and macro_stmts | Edwin Cheng | 2019-04-18 | 1 | -0/+57 |
| | | |||||
| * | Add MacroItems and MacroStmts in grammer.ron | Edwin Cheng | 2019-04-18 | 1 | -8/+14 |
| | | |||||
* | | Fix missing last token in mbe $repeat parsing | Edwin Cheng | 2019-04-18 | 1 | -0/+24 |
|/ | |||||
* | Add `item` matcher in mbe | Edwin Cheng | 2019-04-18 | 1 | -0/+44 |
| | |||||
* | Add mbe stmt matcher | Edwin Cheng | 2019-04-17 | 1 | -0/+15 |
| | |||||
* | Fix bug and add expr , pat , ty matcher | Edwin Cheng | 2019-04-14 | 1 | -0/+97 |
| | |||||
* | Remove skip Delimiter::None and handle Dollars | Edwin Cheng | 2019-04-12 | 1 | -2/+55 |
| |