nac3/nac3parser/src/snapshots/nac3parser__fstring__tests_...

93 lines
2.5 KiB
Plaintext
Raw Normal View History

---
2021-12-28 01:38:16 +08:00
source: nac3parser/src/fstring.rs
assertion_line: 298
expression: parse_ast
2021-12-28 01:38:16 +08:00
---
Located {
location: Location {
row: 0,
column: 0,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: JoinedStr {
values: [
Located {
location: Location {
row: 0,
column: 0,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: FormattedValue {
value: Located {
location: Location {
row: 1,
column: 2,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Name {
id: "a",
ctx: Load,
},
},
conversion: None,
format_spec: None,
},
},
Located {
location: Location {
row: 0,
column: 0,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: FormattedValue {
value: Located {
location: Location {
row: 1,
column: 3,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Name {
id: "b",
ctx: Load,
},
},
conversion: None,
format_spec: None,
},
},
Located {
location: Location {
row: 0,
column: 0,
2021-12-28 01:38:16 +08:00
file: FileName(
"unknown",
),
},
custom: (),
node: Constant {
value: Str(
"{foo}",
),
kind: None,
},
},
],
},
}