mirror of https://github.com/astral-sh/ruff
75 lines
2.6 KiB
Plaintext
75 lines
2.6 KiB
Plaintext
---
|
|
source: parser/src/context.rs
|
|
expression: parse_ast
|
|
---
|
|
[
|
|
Attributed {
|
|
range: 0..13,
|
|
custom: (),
|
|
node: Assign(
|
|
StmtAssign {
|
|
targets: [
|
|
Attributed {
|
|
range: 0..1,
|
|
custom: (),
|
|
node: Name(
|
|
ExprName {
|
|
id: "x",
|
|
ctx: Store,
|
|
},
|
|
),
|
|
},
|
|
],
|
|
value: Attributed {
|
|
range: 4..13,
|
|
custom: (),
|
|
node: Tuple(
|
|
ExprTuple {
|
|
elts: [
|
|
Attributed {
|
|
range: 5..6,
|
|
custom: (),
|
|
node: Constant(
|
|
ExprConstant {
|
|
value: Int(
|
|
1,
|
|
),
|
|
kind: None,
|
|
},
|
|
),
|
|
},
|
|
Attributed {
|
|
range: 8..9,
|
|
custom: (),
|
|
node: Constant(
|
|
ExprConstant {
|
|
value: Int(
|
|
2,
|
|
),
|
|
kind: None,
|
|
},
|
|
),
|
|
},
|
|
Attributed {
|
|
range: 11..12,
|
|
custom: (),
|
|
node: Constant(
|
|
ExprConstant {
|
|
value: Int(
|
|
3,
|
|
),
|
|
kind: None,
|
|
},
|
|
),
|
|
},
|
|
],
|
|
ctx: Load,
|
|
},
|
|
),
|
|
},
|
|
type_comment: None,
|
|
},
|
|
),
|
|
},
|
|
]
|