2019-07-05 00:09:24 +00:00
|
|
|
PRINT-ATTR INPUT (DISPLAY): struct A(identity!(crate :: S));
|
|
|
|
PRINT-ATTR RE-COLLECTED (DISPLAY): struct A ( identity ! ( crate :: S ) ) ;
|
2019-07-03 22:28:24 +00:00
|
|
|
PRINT-ATTR INPUT (DEBUG): TokenStream [
|
|
|
|
Ident {
|
|
|
|
ident: "struct",
|
2019-07-05 00:09:24 +00:00
|
|
|
span: #2 bytes(LO..HI),
|
2019-07-03 22:28:24 +00:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "A",
|
2019-07-05 00:09:24 +00:00
|
|
|
span: #2 bytes(LO..HI),
|
2019-07-03 22:28:24 +00:00
|
|
|
},
|
|
|
|
Group {
|
|
|
|
delimiter: Parenthesis,
|
|
|
|
stream: TokenStream [
|
|
|
|
Ident {
|
|
|
|
ident: "identity",
|
2019-07-05 00:09:24 +00:00
|
|
|
span: #2 bytes(LO..HI),
|
2019-07-03 22:28:24 +00:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: '!',
|
|
|
|
spacing: Alone,
|
2019-07-05 00:09:24 +00:00
|
|
|
span: #2 bytes(LO..HI),
|
2019-07-03 22:28:24 +00:00
|
|
|
},
|
|
|
|
Group {
|
|
|
|
delimiter: Parenthesis,
|
|
|
|
stream: TokenStream [
|
|
|
|
Ident {
|
2019-07-05 00:09:24 +00:00
|
|
|
ident: "$crate",
|
|
|
|
span: #2 bytes(LO..HI),
|
2019-07-03 22:28:24 +00:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Joint,
|
2019-07-05 00:09:24 +00:00
|
|
|
span: #2 bytes(LO..HI),
|
2019-07-03 22:28:24 +00:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ':',
|
|
|
|
spacing: Alone,
|
2019-07-05 00:09:24 +00:00
|
|
|
span: #2 bytes(LO..HI),
|
2019-07-03 22:28:24 +00:00
|
|
|
},
|
|
|
|
Ident {
|
|
|
|
ident: "S",
|
2019-07-05 00:09:24 +00:00
|
|
|
span: #2 bytes(LO..HI),
|
2019-07-03 22:28:24 +00:00
|
|
|
},
|
|
|
|
],
|
2019-07-05 00:09:24 +00:00
|
|
|
span: #2 bytes(LO..HI),
|
2019-07-03 22:28:24 +00:00
|
|
|
},
|
|
|
|
],
|
2019-07-05 00:09:24 +00:00
|
|
|
span: #2 bytes(LO..HI),
|
2019-07-03 22:28:24 +00:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ';',
|
|
|
|
spacing: Alone,
|
2019-07-05 00:09:24 +00:00
|
|
|
span: #2 bytes(LO..HI),
|
2019-07-03 22:28:24 +00:00
|
|
|
},
|
|
|
|
]
|