granite-rust/crates
bors[bot] 5d35f284f5 Merge #1138
1138: Add L_DOLLAR and R_DOLLAR r=matklad a=edwin0cheng

As discussion in issue https://github.com/rust-analyzer/rust-analyzer/issues/1132 and PR #1125 , this PR add 2 `Syntax::Kind` : `L_DOLLAR` and `R_DOLLAR` for representing `Delimiter::None` in mbe and proc_marco. By design, It should not affect the final syntax tree, and will be discard in `TreeSink`.

My original idea is handling these 2 tokens case by case, but i found that they will appear in every place in the parser (imagine `tt` matcher). So this PR only handle it in `Parser::do_bump` and `Parser::start`, although It will not fix the `expr` matcher executing order problem in original idea.


Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2019-04-14 14:16:42 +00:00
..
gen_lsp_server show message in client's UI if workspace fails to load 2019-03-05 16:33:05 +03:00
ra_arena Fix typo in Cargo.toml authors 2019-02-11 10:20:04 +02:00
ra_assists replace usages of algo::generate with iter::successors from std 2019-04-13 16:43:49 +02: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 Extract generic_params method to a HasGenericParams trait 2019-04-14 13:07:45 +02:00
ra_ide_api Get substs for trait refs in impl blocks 2019-04-14 11:28:53 +02:00
ra_lsp_server Refactor CallInfo function signatures to new FunctionSignature type 2019-04-09 14:45:04 +03:00
ra_mbe Fix bug and add expr , pat , ty matcher 2019-04-14 11:42:20 +08:00
ra_parser Merge #1138 2019-04-14 14:16:42 +00:00
ra_prof added some docs to public functions 2019-04-03 16:05:55 +03:00
ra_project_model replace todo with fixme 2019-03-23 11:07:09 +03:00
ra_syntax Merge #1138 2019-04-14 14:16:42 +00:00
ra_text_edit Disable fork feature for proptest 2019-03-23 08:57:07 +01:00
ra_tt make token trees eq 2019-02-12 20:57:13 +03:00
test_utils fix error on wrong path 2019-03-17 12:53:22 +03:00
thread_worker automatically wait for worker threads 2019-02-14 21:11:07 +03:00
tools Use EXE extension for pre-commit hook on Window 2019-03-27 07:52:59 +01:00