Files
ruff/parser/src/snapshots/rustpython_parser__context__tests__del_attribute.snap
2022-10-17 15:20:33 -04:00

58 lines
1.6 KiB
Plaintext

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