]>
Commit | Line | Data |
---|---|---|
17df50a5 XL |
1 | PRINT-BANG INPUT (DISPLAY): { #! [rustc_dummy] let a = "hello".len() ; matches! (a, 5) ; } |
2 | PRINT-BANG INPUT (DEBUG): TokenStream [ | |
3 | Group { | |
4 | delimiter: Brace, | |
5 | stream: TokenStream [ | |
6 | Punct { | |
7 | ch: '#', | |
8 | spacing: Joint, | |
9 | span: $DIR/pretty-print-tts.rs:15:5: 15:6 (#0), | |
10 | }, | |
11 | Punct { | |
12 | ch: '!', | |
13 | spacing: Alone, | |
14 | span: $DIR/pretty-print-tts.rs:15:6: 15:7 (#0), | |
15 | }, | |
16 | Group { | |
17 | delimiter: Bracket, | |
18 | stream: TokenStream [ | |
19 | Ident { | |
20 | ident: "rustc_dummy", | |
21 | span: $DIR/pretty-print-tts.rs:15:8: 15:19 (#0), | |
22 | }, | |
23 | ], | |
24 | span: $DIR/pretty-print-tts.rs:15:7: 15:20 (#0), | |
25 | }, | |
26 | Ident { | |
27 | ident: "let", | |
28 | span: $DIR/pretty-print-tts.rs:16:5: 16:8 (#0), | |
29 | }, | |
30 | Ident { | |
31 | ident: "a", | |
32 | span: $DIR/pretty-print-tts.rs:16:9: 16:10 (#0), | |
33 | }, | |
34 | Punct { | |
35 | ch: '=', | |
36 | spacing: Alone, | |
37 | span: $DIR/pretty-print-tts.rs:16:11: 16:12 (#0), | |
38 | }, | |
39 | Literal { | |
40 | kind: Str, | |
41 | symbol: "hello", | |
42 | suffix: None, | |
43 | span: $DIR/pretty-print-tts.rs:16:13: 16:20 (#0), | |
44 | }, | |
45 | Punct { | |
46 | ch: '.', | |
47 | spacing: Alone, | |
48 | span: $DIR/pretty-print-tts.rs:16:20: 16:21 (#0), | |
49 | }, | |
50 | Ident { | |
51 | ident: "len", | |
52 | span: $DIR/pretty-print-tts.rs:16:21: 16:24 (#0), | |
53 | }, | |
54 | Group { | |
55 | delimiter: Parenthesis, | |
56 | stream: TokenStream [], | |
57 | span: $DIR/pretty-print-tts.rs:16:24: 16:26 (#0), | |
58 | }, | |
59 | Punct { | |
60 | ch: ';', | |
61 | spacing: Alone, | |
62 | span: $DIR/pretty-print-tts.rs:16:26: 16:27 (#0), | |
63 | }, | |
64 | Ident { | |
65 | ident: "matches", | |
66 | span: $DIR/pretty-print-tts.rs:17:5: 17:12 (#0), | |
67 | }, | |
68 | Punct { | |
69 | ch: '!', | |
70 | spacing: Alone, | |
71 | span: $DIR/pretty-print-tts.rs:17:12: 17:13 (#0), | |
72 | }, | |
73 | Group { | |
74 | delimiter: Parenthesis, | |
75 | stream: TokenStream [ | |
76 | Ident { | |
77 | ident: "a", | |
78 | span: $DIR/pretty-print-tts.rs:17:14: 17:15 (#0), | |
79 | }, | |
80 | Punct { | |
81 | ch: ',', | |
82 | spacing: Alone, | |
83 | span: $DIR/pretty-print-tts.rs:17:15: 17:16 (#0), | |
84 | }, | |
85 | Literal { | |
86 | kind: Integer, | |
87 | symbol: "5", | |
88 | suffix: None, | |
89 | span: $DIR/pretty-print-tts.rs:17:17: 17:18 (#0), | |
90 | }, | |
91 | ], | |
92 | span: $DIR/pretty-print-tts.rs:17:13: 17:19 (#0), | |
93 | }, | |
94 | Punct { | |
95 | ch: ';', | |
96 | spacing: Alone, | |
97 | span: $DIR/pretty-print-tts.rs:17:19: 17:20 (#0), | |
98 | }, | |
99 | ], | |
100 | span: $DIR/pretty-print-tts.rs:14:21: 18:2 (#0), | |
101 | }, | |
102 | ] |