1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
PRINT-ATTR INPUT (DISPLAY): #[test_macros::print_attr] struct S;
PRINT-ATTR DEEP-RE-COLLECTED (DISPLAY): #[test_macros :: print_attr] struct S;
PRINT-ATTR INPUT (DEBUG): TokenStream [
Punct {
ch: '#',
spacing: Alone,
span: #0 bytes(305..306),
},
Group {
delimiter: Bracket,
stream: TokenStream [
Ident {
ident: "test_macros",
span: #0 bytes(322..333),
},
Punct {
ch: ':',
spacing: Joint,
span: #0 bytes(333..334),
},
Punct {
ch: ':',
spacing: Alone,
span: #0 bytes(334..335),
},
Ident {
ident: "print_attr",
span: #0 bytes(335..345),
},
],
span: #0 bytes(306..347),
},
Ident {
ident: "struct",
span: #0 bytes(348..354),
},
Ident {
ident: "S",
span: #0 bytes(355..356),
},
Punct {
ch: ';',
spacing: Alone,
span: #0 bytes(356..357),
},
]
PRINT-ATTR INPUT (DISPLAY): struct S;
PRINT-ATTR INPUT (DEBUG): TokenStream [
Ident {
ident: "struct",
span: #0 bytes(348..354),
},
Ident {
ident: "S",
span: #0 bytes(355..356),
},
Punct {
ch: ';',
spacing: Alone,
span: #0 bytes(356..357),
},
]
PRINT-ATTR INPUT (DISPLAY): struct Z;
PRINT-ATTR INPUT (DEBUG): TokenStream [
Ident {
ident: "struct",
span: #0 bytes(411..417),
},
Ident {
ident: "Z",
span: #0 bytes(418..419),
},
Punct {
ch: ';',
spacing: Alone,
span: #0 bytes(419..420),
},
]
|