nac3/nac3parser/src/snapshots/nac3parser__parser__tests__parse_print_2.snap

83 lines
2.5 KiB
Plaintext
Raw Normal View History

---
source: nac3parser/src/parser.rs
2021-12-26 00:23:54 +08:00
assertion_line: 104
expression: parse_ast
---
[
Located {
location: Location {
row: 1,
column: 1,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Expr {
value: Located {
location: Location {
row: 1,
column: 6,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Call {
func: Located {
location: Location {
row: 1,
column: 1,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Name {
id: "print",
ctx: Load,
},
},
args: [
Located {
location: Location {
row: 1,
column: 8,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Constant {
value: Str(
"Hello world",
),
kind: None,
},
},
Located {
location: Location {
row: 1,
column: 22,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Constant {
value: Int(
2022-03-08 02:36:40 +08:00
2,
),
kind: None,
},
},
],
keywords: [],
},
},
config_comment: [],
},
},
]