about summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
AgeCommit message (Expand)AuthorLines
2018-08-01async can begin expressionsTaylor Cramer-0/+1
2018-07-19proc_macro: Preserve spans of attributes on functionsAlex Crichton-5/+44
2018-07-14Remove most of `Hash` impls from AST and HIR structuresVadim Petrochenkov-2/+2
2018-07-14Remove most of `PartialEq` impls from AST and HIR structuresVadim Petrochenkov-5/+5
2018-06-09Crate-ify and delete unused code in syntax::parseMark Simulacrum-45/+21
2018-06-04Tidy fixes.Crazycolorz5-1/+1
2018-06-04Added is_like_plus to token, and used that in place of equality comparison to...Crazycolorz5-0/+7
2018-05-26Add `Ident::as_str` helperVadim Petrochenkov-1/+1
2018-05-23Rollup merge of #50946 - alexcrichton:fix-parse-lifetime, r=petrochenkovkennytm-1/+8
2018-05-21rustc: Fix procedural macros generating lifetime tokensAlex Crichton-1/+8
2018-05-18rustc: Fix joint-ness of stringified token-streamsAlex Crichton-0/+2
2018-05-17Turn some functions from `token.rs` into methods on `Ident`Vadim Petrochenkov-50/+7
2018-05-17Add two keywords specific to editions 2015 and 2018 respectivelyVadim Petrochenkov-2/+7
2018-05-15Represent lifetimes as two joint tokens in proc macrosVadim Petrochenkov-0/+6
2018-05-13Macros: Add a 'literal' fragment specifierDan Aloni-1/+20
2018-04-23'label can start expressionsest31-1/+2
2018-04-18proc_macro: Stay on the "use the cache" path moreAlex Crichton-9/+91
2018-04-18Auto merge of #49993 - nnethercote:shrink-Token, r=alexcrichtonbors-2/+2
2018-04-14Rollup merge of #49852 - alexcrichton:fix-more-proc-macros, r=nrckennytm-9/+22
2018-04-14macros: Do not match on "complex" nonterminals requiring AST comparisonsVadim Petrochenkov-1/+17
2018-04-12Change the hashcounts in raw `Lit` variants from usize to u16.Nicholas Nethercote-2/+2
2018-04-10proc_macro: Avoid cached TokenStream more oftenAlex Crichton-9/+22
2018-04-10Auto merge of #49390 - Zoxc:sync-syntax, r=michaelwoeristerbors-15/+6
2018-04-09in which `!` is suggested for erroneous identifier `not`Zack M. Davis-1/+10
2018-04-06Make lifetime nonterminals closer to identifier nonterminalsVadim Petrochenkov-34/+29
2018-04-06Remove more duplicated spansVadim Petrochenkov-5/+5
2018-04-06Get rid of `SpannedIdent`Vadim Petrochenkov-3/+3
2018-04-03expand macro invocations in `extern {}` blocksAustin Bonander-0/+2
2018-03-28Make LazyTokenStream thread-safeJohn Kåre Alsaker-15/+6
2018-03-27Fix pretty-printing for raw identifiersVadim Petrochenkov-1/+8
2018-03-22Clean up raw identifier handling when recovering tokens from AST.Lymia Aluysia-1/+1
2018-03-18Return a is_raw parameter from Token::ident rather than having separate methods.Lymia Aluysia-30/+15
2018-03-18Initial implementation of RFC 2151, Raw IdentifiersLymia Aluysia-29/+79
2018-03-18Auto merge of #48917 - petrochenkov:import, r=oli-obkbors-0/+1
2018-03-17AST: Keep distinction between `path` and `::path` in imports and visibilitiesVadim Petrochenkov-0/+1
2018-03-17syntax: Make `_` an identifierVadim Petrochenkov-5/+4
2018-03-02Replace Rc with Lrc for shared dataJohn Kåre Alsaker-3/+3
2018-01-30The `static` keyword can now begin expressionsJohn Kåre Alsaker-0/+1
2018-01-03Support `extern` in pathsVadim Petrochenkov-0/+1
2017-12-30refactor lifetime out of is_lifetimeMatt Peterson-6/+14
2017-12-28Fix testsMatt Peterson-2/+10
2017-12-28Resurrecting #33135Michael Hewson-0/+2
2017-12-14Use PathBuf instead of String where applicableOliver Schneider-4/+3
2017-12-09Use Try syntax for Option in place of macros or matchMatt Brubeck-4/+1
2017-11-21Support `::crate` in pathsVadim Petrochenkov-0/+1
2017-11-06Using `...` in expressions is now an errorBadel2-1/+1
2017-10-25Improve recovery after unexpected tokens parsing sequenceThomas Karpiniec-0/+10
2017-10-14Implement `dyn Trait` syntaxVadim Petrochenkov-0/+6
2017-09-22Add support for `..=` syntaxAlex Burka-15/+20
2017-09-18rustc: Forbid interpolated tokens in the HIRAlex Crichton-0/+85