mirror of
https://github.com/astral-sh/ruff
synced 2026-01-11 00:24:13 -05:00
74 lines
2.2 KiB
Plaintext
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,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
},
|
|
]
|