rust/crates
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
..
gen_lsp_server cleanup cancellation 2019-04-17 11:47:38 +03:00
ra_arena
ra_assists better formatting when adding trait members 2019-04-17 14:05:02 +03:00
ra_batch migrate to salsas interning 2019-04-09 22:51:22 +03:00
ra_cli Merge #1068 2019-04-03 09:09:11 +00:00
ra_db drop old interning infra 2019-04-09 22:52:06 +03:00
ra_fmt replace usages of algo::generate with iter::successors from std 2019-04-13 16:43:49 +02:00
ra_hir Refactoring 2019-04-17 09:35:03 +08:00
ra_ide_api add a couple of profiling points 2019-04-15 01:10:07 +03:00
ra_lsp_server cleanup cancellation 2019-04-17 11:47:38 +03:00
ra_mbe Merge #1148 2019-04-19 08:56:39 +00:00
ra_parser Add expr, pat, ty and macro_stmts 2019-04-19 03:49:56 +08:00
ra_prof fix test 2019-04-15 01:17:26 +03:00
ra_project_model Sends cwd info for runnables and code lenses 2019-04-14 10:04:38 +02:00
ra_syntax Add MacroItems and MacroStmts in grammer.ron 2019-04-19 02:47:29 +08:00
ra_text_edit
ra_tt
test_utils
thread_worker
tools Use EXE extension for pre-commit hook on Window 2019-03-27 07:52:59 +01:00