Lines Matching full:paste
1 …https://github.com/dtolnay/paste) [![crates-io]](https://crates.io/crates/paste) [![docs…
15 //! This crate provides a flexible way to paste together identifiers in a macro,
24 //! Within the `paste!` macro, identifiers inside `[<`...`>]` are pasted
28 //! use paste::paste;
30 //! paste! {
37 //! paste! { [<Q R S T>].len() },
49 //! paste invocation inside of a macro\_rules macro.
52 //! use paste::paste;
76 //! paste! {
102 //! interpolated segment to lower- or uppercase as part of the paste. For
103 //! example, `[<ld_ $reg:lower _expr>]` would paste to `ld_bc_expr` if invoked
120 //! Within the `paste!` macro, arguments to a #\[doc ...\] attribute are
124 //! use paste::paste;
128 //! paste! {
135 //! pub struct Paste {}
137 //! method_new!(Paste); // expands to #[doc = "Create a new `Paste` object"]
140 #![doc(html_root_url = "https://docs.rs/paste/1.0.15")]
165 pub fn paste(input: TokenStream) -> TokenStream { in paste() function
187 paste(input) in item()
193 paste(input) in expr()
227 let pasted = segment::paste(&segments)?; in expand()
296 // https://github.com/dtolnay/paste/issues/26