aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/parser.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-05-23 15:31:26 +0100
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-05-23 15:31:26 +0100
commitef00b5af1c7a7a7cac685eff661a10252825d84a (patch)
treeb48cf769d66b2c9366c5488cfa254520730a98a3 /crates/ra_parser/src/parser.rs
parenteef24bddc96ddcdbcad5fddb9c0cf0e2ccad7681 (diff)
parent63b67134fdbfedfeab655ac9ff03730575fdf475 (diff)
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 <[email protected]>
Diffstat (limited to 'crates/ra_parser/src/parser.rs')
0 files changed, 0 insertions, 0 deletions