rust/crates
bors[bot] ef00b5af1c Merge #1312
1312: Introduce TokenBuffer r=matklad a=edwin0cheng

As discussed in Zulip, this PR Introduce `TokenBuffer` , a safe version of  `syn` crate `TokenBuffer` which support cursor based traversal of `tt::TokenTree`. This is the basis of incoming refactoring of `TokenSource` iterator based API.

This PR do the following things:

* Add TokenBuffer in `ra_tt` crate.
* Try to use this new API to refactor the `SubtreeSource` to prove it usage.




Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2019-05-23 14:31:26 +00:00
..
gen_lsp_server updated gen_lsp_server examples 2019-05-22 20:35:12 -05:00
ra_arena Add is_empty to Arena 2019-04-26 11:42:10 -04:00
ra_assists Merge #1281 2019-05-22 07:39:54 +00:00
ra_batch
ra_cli output the progress for real 2019-05-20 21:20:52 +03:00
ra_db add profile calls to parsing/expansion routines 2019-05-22 11:31:07 +03:00
ra_fmt apply T! macro where it is possible 2019-05-15 15:35:47 +03:00
ra_hir add profile calls to parsing/expansion routines 2019-05-22 11:31:07 +03:00
ra_ide_api Improve highlighting of name refs 2019-05-23 15:31:35 +03:00
ra_lsp_server Added local macro goto 2019-05-04 17:39:51 +01:00
ra_mbe Formatting 2019-05-23 09:31:36 +08:00
ra_parser apply T! macro where it is possible 2019-05-15 15:35:47 +03:00
ra_prof better profilig 2019-05-22 00:00:58 +03:00
ra_project_model
ra_syntax sort hash maps for tests 2019-05-21 14:14:31 +03:00
ra_text_edit
ra_tt Use slice instead of Vec 2019-05-23 21:05:22 +08:00
test_utils
thread_worker
tools