2020-09-24 14:45:51 +00:00
|
|
|
PRINT-BANG INPUT (DISPLAY): 0 + 1 + 2 + 3
|
|
|
|
PRINT-BANG INPUT (DEBUG): TokenStream [
|
|
|
|
Group {
|
|
|
|
delimiter: None,
|
|
|
|
stream: TokenStream [
|
|
|
|
Group {
|
|
|
|
delimiter: None,
|
|
|
|
stream: TokenStream [
|
|
|
|
Group {
|
|
|
|
delimiter: None,
|
|
|
|
stream: TokenStream [
|
|
|
|
Literal {
|
|
|
|
kind: Integer,
|
|
|
|
symbol: "0",
|
|
|
|
suffix: None,
|
|
|
|
span: $DIR/nested-nonterminal-tokens.rs:25:26: 25:27 (#0),
|
|
|
|
},
|
|
|
|
],
|
2023-07-10 22:16:28 +00:00
|
|
|
span: $DIR/nested-nonterminal-tokens.rs:17:41: 17:43 (#3),
|
2020-09-24 14:45:51 +00:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: '+',
|
|
|
|
spacing: Alone,
|
2023-07-10 22:16:28 +00:00
|
|
|
span: $DIR/nested-nonterminal-tokens.rs:17:44: 17:45 (#3),
|
2020-09-24 14:45:51 +00:00
|
|
|
},
|
|
|
|
Literal {
|
|
|
|
kind: Integer,
|
|
|
|
symbol: "1",
|
|
|
|
suffix: None,
|
2023-07-10 22:16:28 +00:00
|
|
|
span: $DIR/nested-nonterminal-tokens.rs:17:46: 17:47 (#3),
|
2020-09-24 14:45:51 +00:00
|
|
|
},
|
|
|
|
],
|
2023-07-10 22:16:28 +00:00
|
|
|
span: $DIR/nested-nonterminal-tokens.rs:18:41: 18:43 (#4),
|
2020-09-24 14:45:51 +00:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: '+',
|
|
|
|
spacing: Alone,
|
2023-07-10 22:16:28 +00:00
|
|
|
span: $DIR/nested-nonterminal-tokens.rs:18:44: 18:45 (#4),
|
2020-09-24 14:45:51 +00:00
|
|
|
},
|
|
|
|
Literal {
|
|
|
|
kind: Integer,
|
|
|
|
symbol: "2",
|
|
|
|
suffix: None,
|
2023-07-10 22:16:28 +00:00
|
|
|
span: $DIR/nested-nonterminal-tokens.rs:18:46: 18:47 (#4),
|
2020-09-24 14:45:51 +00:00
|
|
|
},
|
|
|
|
],
|
2023-07-10 22:16:28 +00:00
|
|
|
span: $DIR/nested-nonterminal-tokens.rs:20:21: 20:23 (#5),
|
2020-09-24 14:45:51 +00:00
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: '+',
|
|
|
|
spacing: Alone,
|
2023-07-10 22:16:28 +00:00
|
|
|
span: $DIR/nested-nonterminal-tokens.rs:20:24: 20:25 (#5),
|
2020-09-24 14:45:51 +00:00
|
|
|
},
|
|
|
|
Literal {
|
|
|
|
kind: Integer,
|
|
|
|
symbol: "3",
|
|
|
|
suffix: None,
|
2023-07-10 22:16:28 +00:00
|
|
|
span: $DIR/nested-nonterminal-tokens.rs:20:26: 20:27 (#5),
|
2020-09-24 14:45:51 +00:00
|
|
|
},
|
|
|
|
]
|