mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 05:20:49 -05:00
58 lines
1.6 KiB
Plaintext
58 lines
1.6 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: 7,
|
|
},
|
|
),
|
|
custom: (),
|
|
node: Delete {
|
|
targets: [
|
|
Located {
|
|
location: Location {
|
|
row: 1,
|
|
column: 4,
|
|
},
|
|
end_location: Some(
|
|
Location {
|
|
row: 1,
|
|
column: 7,
|
|
},
|
|
),
|
|
custom: (),
|
|
node: Attribute {
|
|
value: Located {
|
|
location: Location {
|
|
row: 1,
|
|
column: 4,
|
|
},
|
|
end_location: Some(
|
|
Location {
|
|
row: 1,
|
|
column: 5,
|
|
},
|
|
),
|
|
custom: (),
|
|
node: Name {
|
|
id: "x",
|
|
ctx: Load,
|
|
},
|
|
},
|
|
attr: "y",
|
|
ctx: Del,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
},
|
|
]
|