Files
ruff/parser/src/snapshots/rustpython_parser__context__tests__del_subscript.snap
2022-10-27 03:09:38 +09:00

74 lines
2.2 KiB
Plaintext

---
source: compiler/parser/src/context.rs
expression: parse_ast
---
[
Located {
location: Location {
row: 1,
column: 0,
},
end_location: Some(
Location {
row: 1,
column: 8,
},
),
custom: (),
node: Delete {
targets: [
Located {
location: Location {
row: 1,
column: 4,
},
end_location: Some(
Location {
row: 1,
column: 8,
},
),
custom: (),
node: Subscript {
value: Located {
location: Location {
row: 1,
column: 4,
},
end_location: Some(
Location {
row: 1,
column: 5,
},
),
custom: (),
node: Name {
id: "x",
ctx: Load,
},
},
slice: Located {
location: Location {
row: 1,
column: 6,
},
end_location: Some(
Location {
row: 1,
column: 7,
},
),
custom: (),
node: Name {
id: "y",
ctx: Load,
},
},
ctx: Del,
},
},
],
},
},
]