summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
AgeCommit message (Expand)AuthorLines
2019-06-23let_chains: readd kw::let to ident_can_begin_expr.Mazdak Farrokhzad-2/+1
2019-06-23let_chains: Comment out Let in ident_can_begin_expr.Mazdak Farrokhzad-1/+2
2019-06-23let_chains: Add support for parsing let expressions.Mazdak Farrokhzad-0/+1
2019-06-08syntax: Move some `Token` methods aroundVadim Petrochenkov-48/+40
2019-06-08syntax: Remove `Deref` impl from `Token`Vadim Petrochenkov-18/+11
2019-06-08syntax: Move most of the `TokenKind` methods to `Token`Vadim Petrochenkov-75/+41
2019-06-06Some code cleanup and tidy/test fixesVadim Petrochenkov-2/+1
2019-06-06syntax: Switch function parameter order in `TokenTree::token`Vadim Petrochenkov-4/+4
2019-06-06syntax: Remove duplicate span from `token::Ident`Vadim Petrochenkov-35/+59
2019-06-06syntax: Remove duplicate span from `token::Lifetime`Vadim Petrochenkov-17/+26
2019-06-06syntax: Add some helper methods to `Token`Vadim Petrochenkov-1/+17
2019-06-06syntax: Use `Token` in `TokenTree::Token`Vadim Petrochenkov-6/+15
2019-06-06syntax: Rename `TokenAndSpan` into `Token`Vadim Petrochenkov-0/+12
2019-06-06syntax: Rename `Token` into `TokenKind`Vadim Petrochenkov-14/+14
2019-06-06Always use token kinds through `token` module rather than `Token` typeVadim Petrochenkov-2/+2
2019-05-27Use `Symbol` equality in `is_ident_named`.Nicholas Nethercote-2/+2
2019-05-23syntax: Some code cleanupVadim Petrochenkov-7/+9
2019-05-23syntax: Turn `token::Lit` into a structVadim Petrochenkov-44/+51
2019-05-23syntax: Remove an obsolete hack from literal comparisonsVadim Petrochenkov-9/+1
2019-05-23syntax: Return named errors from literal parsing functionsVadim Petrochenkov-2/+23
2019-05-22Simplify use of keyword symbolsVadim Petrochenkov-37/+37
2019-05-19Improve type size assertionsVadim Petrochenkov-3/+3
2019-05-12Auto merge of #60767 - Centril:rollup-4cbsb73, r=Centrilbors-10/+4
2019-05-12syntax: Remove some legacy nonterminal tokensVadim Petrochenkov-10/+4
2019-05-11Simplify conversions between tokens and semantic literalsVadim Petrochenkov-0/+7
2019-05-11Keep the original token in `ast::Lit`Vadim Petrochenkov-0/+5
2019-05-07Implement built-in await syntaxTaylor Cramer-0/+5
2019-03-06Simplify codeEsteban Küber-18/+3
2019-03-06Emit missing unclosed delimiter errorsEsteban Küber-6/+6
2019-02-18Make `interpolated_to_tokenstream` a method on `Nonterminal`.Nicholas Nethercote-82/+81
2019-02-18Remove `LazyTokenStream`.Nicholas Nethercote-85/+28
2019-02-18Change `Token::interpolated_to_tokenstream()`.Nicholas Nethercote-9/+3
2019-02-10rustc: doc commentsAlexander Regueiro-10/+10
2019-02-09Auto merge of #57944 - estebank:unclosed-delim-the-quickening, r=oli-obkbors-5/+11
2019-02-07Make name resolution handle consts in GenericParamsFromOuterFunction properlyvarkor-1/+2
2019-02-07Adjust parser generic parameter errorsvarkor-1/+0
2019-02-07Parse const genericsvarkor-0/+14
2019-02-07unify error handling to single methodEsteban Küber-18/+4
2019-02-07Deduplicate mismatched delimiter errorsEsteban Küber-5/+25
2019-02-07libsyntax => 2018Taiki Endo-16/+20
2019-02-06Overhaul `syntax::fold::Folder`.Nicholas Nethercote-1/+1
2019-01-20Mark incorrect recovered `char` literals as `TyErr` to avoid type errorsYuki Okushi-2/+1
2019-01-18Change from error to invalidYuki Okushi-1/+1
2019-01-16Add new literal type ErrYuki Okushi-0/+2
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-19Do not interpret mismatches from pretty-printed `$crate` as token stream inva...Vadim Petrochenkov-1/+3
2018-12-14Rollup merge of #56699 - nnethercote:SymbolIndex, r=oli-obkkennytm-0/+4
2018-12-12Use a `newtype_index!` within `Symbol`.Nicholas Nethercote-0/+4
2018-12-10Remove `tokenstream::Delimited`.Nicholas Nethercote-5/+2
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1