parser/tests/fixtures/0267/ast.txt

65 lines
2.0 KiB
Plaintext
Raw Normal View History

[
Expression {
expr: Closure(
Closure {
start: (
3,
1,
),
end: (
5,
1,
),
attributes: [],
parameters: FunctionParameterList {
start: (
3,
10,
),
end: (
3,
13,
),
members: [],
},
return_ty: None,
uses: [],
by_ref: false,
body: [
If {
condition: Variable(
SimpleVariable(
SimpleVariable {
span: (
4,
9,
),
name: "foo",
},
),
),
then: [
Expression {
expr: Variable(
SimpleVariable(
SimpleVariable {
span: (
4,
15,
),
name: "bar",
},
),
),
},
],
else_ifs: [],
else: None,
},
],
static: false,
},
),
},
]