about summary refs log tree commit diff
path: root/src/libsyntax/parse/literal.rs
AgeCommit message (Expand)AuthorLines
2019-10-13simplify integer_litMazdak Farrokhzad-9/+6
2019-09-26Rename `Lit.node` to `Lit.kind`varkor-3/+3
2019-09-26Rename `Expr.node` to `Expr.kind`varkor-1/+1
2019-08-27Simplify with Symbol/Token::is_book_lit.Mazdak Farrokhzad-2/+2
2019-07-21move unescape module to rustc_lexerAleksey Kladov-3/+3
2019-07-10Move literal_to_string to fmt::DisplayMark Rousskov-1/+1
2019-06-10Auto merge of #60793 - Xanewok:raw-string-cleanup, r=petrochenkovbors-26/+34
2019-06-09Actually translate CRLF in raw byte strings and unify unescape implIgor Matuszewski-3/+23
2019-06-09Translate CRLF -> LF in raw (byte) stringsIgor Matuszewski-2/+2
2019-06-08Validate and transcribe raw strings via unescape moduleIgor Matuszewski-25/+13
2019-06-08Rollup merge of #61616 - petrochenkov:parsderef, r=oli-obkMazdak Farrokhzad-5/+4
2019-06-07syntax: Treat error literals in more principled wayVadim Petrochenkov-1/+5
2019-06-07parser: Remove `look_ahead_span`Vadim Petrochenkov-5/+4
2019-06-07parser: `self.span` -> `self.token.span`Vadim Petrochenkov-2/+2
2019-06-06Some code cleanup and tidy/test fixesVadim Petrochenkov-1/+2
2019-06-06syntax: Switch function parameter order in `TokenTree::token`Vadim Petrochenkov-1/+1
2019-06-06syntax: Use `Token` in some more placesVadim Petrochenkov-4/+4
2019-06-06syntax: Remove duplicate span from `token::Ident`Vadim Petrochenkov-4/+4
2019-06-06syntax: Add some helper methods to `Token`Vadim Petrochenkov-1/+1
2019-06-06syntax: Use `Token` in `Parser`Vadim Petrochenkov-14/+12
2019-06-06syntax: Use `Token` in `TokenTree::Token`Vadim Petrochenkov-1/+1
2019-06-06syntax: Rename `Token` into `TokenKind`Vadim Petrochenkov-3/+3
2019-05-27Avoid some re-interning in `to_lit_token`.Nicholas Nethercote-5/+8
2019-05-27Add `to_symbol` methods.Nicholas Nethercote-3/+3
2019-05-27Pre-intern "0", "1", ..., "9", and use where appropriate.Nicholas Nethercote-1/+1
2019-05-23syntax: Some code cleanupVadim Petrochenkov-204/+146
2019-05-23syntax: Turn `token::Lit` into a structVadim Petrochenkov-59/+71
2019-05-23syntax: Fix spans for boolean literals passed to proc macrosVadim Petrochenkov-5/+5
2019-05-23syntax: More consistent wording for some literal parsing errorsVadim Petrochenkov-2/+2
2019-05-23syntax: Return named errors from literal parsing functionsVadim Petrochenkov-123/+140
2019-05-22Restore the old behavior of the rustdoc keyword check + Fix rebaseVadim Petrochenkov-6/+5
2019-05-22Simplify use of keyword symbolsVadim Petrochenkov-1/+1
2019-05-11Address comments + Fix testsVadim Petrochenkov-2/+2
2019-05-11Move literal parsing code into a separate fileVadim Petrochenkov-0/+487