about summary refs log tree commit diff
path: root/src/librustc_parse/parser/mod.rs
AgeCommit message (Expand)AuthorLines
2020-08-02Formatting: don't mix mod and useAleksey Kladov-6/+5
2020-08-02Introduce NonterminalKindAleksey Kladov-2/+4
2020-07-15Remove lots of `Symbol::as_str()` calls.Nicholas Nethercote-2/+2
2020-07-06Rollup merge of #73953 - JohnTitor:audit-hidden-sugg, r=estebankManish Goregaokar-1/+1
2020-07-02Audit uses of `span_suggestion_short`Yuki Okushi-1/+1
2020-07-01Remove `token::FlattenGroup`Vadim Petrochenkov-3/+3
2020-06-26proc_macro: Stop flattening groups with dummy spansVadim Petrochenkov-3/+3
2020-06-15Always capture tokens for `macro_rules!` argumentsAaron Hill-1/+1
2020-06-09Fix more clippy warningsMatthias Krüger-3/+3
2020-05-27improve diagnostics suggestion for missing `@` in slice id binding to rest p...Chris Simpkins-0/+20
2020-05-22Rewrite `Parser::collect_tokens`Aaron Hill-73/+113
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-4/+4
2020-04-24Avoid unused Option::map resultsJosh Stone-2/+2
2020-03-21parse: nix unused `root_module_name`.Mazdak Farrokhzad-5/+0
2020-03-18{rustc_parse::parser -> rustc_expand}::moduleMazdak Farrokhzad-2/+0
2020-03-18outline modules: parse -> expand.Mazdak Farrokhzad-32/+1
2020-03-18expand: use push_directoryMazdak Farrokhzad-1/+1
2020-03-09rustc_parse: Remove `Parser::normalized(_prev)_token`Vadim Petrochenkov-37/+5
2020-03-09rustc_ast: Introduce `Token::uninterpolated_span`Vadim Petrochenkov-3/+3
2020-03-09rustc_parse: Use `Token::ident` where possibleVadim Petrochenkov-4/+4
2020-03-01Rollup merge of #69579 - petrochenkov:noprevspan, r=CentrilYuki Okushi-19/+21
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-7/+9
2020-02-29parser: Remove `Parser::prev_span`Vadim Petrochenkov-8/+10
2020-02-29parser: `prev_span` -> `prev_token.span`Vadim Petrochenkov-11/+11
2020-02-28Rollup merge of #69384 - petrochenkov:nounnorm, r=CentrilMazdak Farrokhzad-25/+23
2020-02-27don't use .into() to convert types into identical types.Matthias Krüger-4/+3
2020-02-24parser: `token` -> `normalized_token`, `nonnormalized_token` -> `token`Vadim Petrochenkov-25/+23
2020-02-22parser: Cleanup `Parser::bump_with` and its usesVadim Petrochenkov-127/+51
2020-02-17parser: Remove `Option`s from unnormalized tokensVadim Petrochenkov-36/+19
2020-02-17parser: Set previous and unnormalized tokens in couple more placesVadim Petrochenkov-4/+4
2020-02-17parser: Do not call `bump` recursivelyVadim Petrochenkov-43/+32
2020-02-13parser: misc small item related improvements & cleanups.Mazdak Farrokhzad-0/+5
2020-02-13parser: move `ban_async_in_2015` to `fn` parsing & improve it.Mazdak Farrokhzad-13/+0
2020-02-13IsAsync -> enum Async { Yes { span: Span, .. }, No }Mazdak Farrokhzad-4/+5
2020-02-13Constness -> enum Const { Yes(Span), No }Mazdak Farrokhzad-3/+9
2020-02-13Rollup merge of #68848 - nnethercote:hasten-macro-parsing, r=petrochenkovDylan DPC-5/+4
2020-02-12Rollup merge of #69034 - petrochenkov:notokind, r=CentrilDylan DPC-32/+6
2020-02-11Run RustFmtjumbatm-1/+3
2020-02-11Invert control in struct_lint_level.jumbatm-1/+1
2020-02-10parser: Remove `Parser::prev_token_kind`Vadim Petrochenkov-32/+6
2020-02-10parser: Keep current and previous tokens preciselyVadim Petrochenkov-23/+51
2020-02-06Remove the `Cow` from `Directory`.Nicholas Nethercote-5/+4
2020-02-04stop using BytePos for computing spans in librustc_parse/parser/mod.rsDavid Renshaw-17/+22
2020-02-03Auto merge of #68735 - JohnTitor:fix-ice-0202, r=estebankbors-2/+2
2020-02-01syntax::print -> new crate rustc_ast_prettyMazdak Farrokhzad-1/+1
2020-02-011. move node_id to syntaxMazdak Farrokhzad-1/+1
2020-02-02Use `next_point` to avoid ICEYuki Okushi-2/+2
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-2/+0
2020-01-11restore some rustc_parse visibilitiesCaleb Cartwright-4/+9
2020-01-10Change `next_point` when `shrink_to_hi` is more appropriateEsteban Küber-1/+1