forked from M-Labs/nac3
73 lines
1.9 KiB
Plaintext
73 lines
1.9 KiB
Plaintext
|
---
|
||
|
source: parser/src/fstring.rs
|
||
|
expression: parse_ast
|
||
|
---
|
||
|
Located {
|
||
|
location: Location {
|
||
|
row: 0,
|
||
|
column: 0,
|
||
|
},
|
||
|
custom: (),
|
||
|
node: JoinedStr {
|
||
|
values: [
|
||
|
Located {
|
||
|
location: Location {
|
||
|
row: 0,
|
||
|
column: 0,
|
||
|
},
|
||
|
custom: (),
|
||
|
node: FormattedValue {
|
||
|
value: Located {
|
||
|
location: Location {
|
||
|
row: 1,
|
||
|
column: 2,
|
||
|
},
|
||
|
custom: (),
|
||
|
node: Name {
|
||
|
id: "a",
|
||
|
ctx: Load,
|
||
|
},
|
||
|
},
|
||
|
conversion: None,
|
||
|
format_spec: None,
|
||
|
},
|
||
|
},
|
||
|
Located {
|
||
|
location: Location {
|
||
|
row: 0,
|
||
|
column: 0,
|
||
|
},
|
||
|
custom: (),
|
||
|
node: FormattedValue {
|
||
|
value: Located {
|
||
|
location: Location {
|
||
|
row: 1,
|
||
|
column: 3,
|
||
|
},
|
||
|
custom: (),
|
||
|
node: Name {
|
||
|
id: "b",
|
||
|
ctx: Load,
|
||
|
},
|
||
|
},
|
||
|
conversion: None,
|
||
|
format_spec: None,
|
||
|
},
|
||
|
},
|
||
|
Located {
|
||
|
location: Location {
|
||
|
row: 0,
|
||
|
column: 0,
|
||
|
},
|
||
|
custom: (),
|
||
|
node: Constant {
|
||
|
value: Str(
|
||
|
"{foo}",
|
||
|
),
|
||
|
kind: None,
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
}
|