bors[bot] ab0a96586f Merge #1148
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 <edwin0cheng@gmail.com>
2019-04-19 08:56:39 +00:00
..
2019-04-17 11:47:38 +03:00
2019-04-09 22:51:22 +03:00
2019-04-03 09:09:11 +00:00
2019-04-09 22:52:06 +03:00
2019-04-17 09:35:03 +08:00
2019-04-17 11:47:38 +03:00
2019-04-19 08:56:39 +00:00
2019-04-15 01:17:26 +03:00