forked from M-Labs/nac3
1
0
Fork 0
nac3/nac3parser/src/snapshots/nac3parser__parser__tests__...

115 lines
3.7 KiB
Plaintext
Raw Normal View History

---
source: nac3parser/src/parser.rs
2021-12-26 00:23:54 +08:00
assertion_line: 132
2021-12-28 01:38:16 +08:00
expression: "parse_program(&source, Default::default()).unwrap()"
---
[
Located {
location: Location {
row: 1,
column: 1,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Assign {
targets: [
Located {
location: Location {
row: 1,
column: 1,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Tuple {
elts: [
Located {
location: Location {
row: 1,
column: 1,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Name {
id: "a",
ctx: Load,
},
},
Located {
location: Location {
row: 1,
column: 4,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Name {
id: "b",
ctx: Load,
},
},
],
ctx: Load,
},
},
],
value: Located {
location: Location {
row: 1,
column: 8,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Tuple {
elts: [
Located {
location: Location {
row: 1,
column: 8,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Constant {
value: Int(
2022-03-08 02:36:40 +08:00
4,
),
kind: None,
},
},
Located {
location: Location {
row: 1,
column: 11,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Constant {
value: Int(
2022-03-08 02:36:40 +08:00
5,
),
kind: None,
},
},
],
ctx: Load,
},
},
type_comment: None,
config_comment: [],
},
},
]