summary refs log tree commit diff
path: root/compiler/rustc_ast/src/tokenstream.rs
AgeCommit message (Expand)AuthorLines
2025-07-22Implement AST visitors using a derive macro.Camille GILLOT-2/+2
2025-06-26Add Ident::is_non_reserved_identMichael Goulet-4/+2
2025-05-26remove eq_unspanned from TokenStreamyukang-7/+3
2025-05-26Fix incorrect eq_unspanned in TokenStreamyukang-8/+2
2025-04-30Use `ThinVec` to shrink `LazyAttrTokenStreamInner`.Nicholas Nethercote-3/+4
2025-04-30Simplify `LazyAttrTokenStream`.Nicholas Nethercote-95/+119
2025-04-29Move various token stream things from `rustc_parse` to `rustc_ast`.Nicholas Nethercote-1/+325
2025-04-02Remove `TokenStream::flattened` and `InvisibleOrigin::FlattenToken`.Nicholas Nethercote-43/+1
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-1/+1
2025-04-02Remove `NtBlock`, `Nonterminal`, and `TokenKind::Interpolated`.Nicholas Nethercote-22/+4
2025-04-02Fix a problem with metavars and inner attributes.Nicholas Nethercote-22/+39
2025-04-02Remove `NtExpr` and `NtLiteral`.Nicholas Nethercote-1/+0
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-7/+1
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-1/+1
2025-02-28Remove `NtPath`.Nicholas Nethercote-1/+0
2025-02-28Remove `NtMeta`.Nicholas Nethercote-1/+0
2025-02-28Remove `NtPat`.Nicholas Nethercote-1/+0
2025-02-21Remove `NtTy`.Nicholas Nethercote-1/+0
2025-02-21Remove `NtVis`.Nicholas Nethercote-1/+0
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-12/+13
2024-12-18Overhaul `TokenTreeCursor`.Nicholas Nethercote-37/+4
2024-12-18Remove `Peekable<TokenStreamIter>` uses.Nicholas Nethercote-1/+4
2024-12-18Rename `RefTokenTreeCursor`.Nicholas Nethercote-18/+16
2024-12-18Simplify `RefTokenTreeCursor::look_ahead`.Nicholas Nethercote-2/+2
2024-11-21Introduce `InvisibleOrigin` on invisible delimiters.Nicholas Nethercote-3/+3
2024-11-12Delete the `cfg(not(parallel))` serial compilerNoratrieb-1/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-06Add initial support for raw lifetimesMichael Goulet-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+8
2024-07-10Add some comments.Nicholas Nethercote-1/+4
2024-07-10Factor out `AttrsTarget` flattening code.Nicholas Nethercote-64/+68
2024-07-10Rework `Attribute::get_tokens`.Nicholas Nethercote-4/+5
2024-07-07Add an size assertion.Nicholas Nethercote-0/+1
2024-07-07Rename some attribute types for consistency.Nicholas Nethercote-11/+11
2024-07-07Remove `HasSpan` trait.Nicholas Nethercote-3/+3
2024-07-07Rename `Attribute::tokens` (the inherent method).Nicholas Nethercote-2/+2
2024-07-02Just `push` in `AttrTokenStream::to_token_trees`.Nicholas Nethercote-16/+12
2024-07-02Rename `TokenStream::new` argument.Nicholas Nethercote-2/+2
2024-07-02Change `AttrTokenStream::to_tokenstream` to `to_token_trees`.Nicholas Nethercote-16/+7
2024-06-24Fix a typo in a comment.Nicholas Nethercote-1/+1
2024-05-23Use `JointHidden` in a couple of suitable places.Nicholas Nethercote-2/+2
2024-05-14Remove `NtIdent` and `NtLifetime`.Nicholas Nethercote-11/+14
2024-05-13Remove a `Span` from `TokenKind::Interpolated`.Nicholas Nethercote-3/+3
2024-05-07compiler: derive Debug in parserJubilee Young-1/+1
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-1/+1
2024-04-24Make `LazyAttrTokenStream::encode` panic.Nicholas Nethercote-3/+2
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-1/+1
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-1/+1
2024-03-21Shrink the comment on `TokenTree`.Nicholas Nethercote-12/+1
2024-02-20Add newtype for raw identsclubby789-1/+1