2022-12-07 01:34:34 +01:00
|
|
|
[
|
|
|
|
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(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleVariable(
|
|
|
|
SimpleVariable {
|
|
|
|
span: (
|
|
|
|
4,
|
|
|
|
9,
|
|
|
|
),
|
|
|
|
name: "foo",
|
|
|
|
},
|
|
|
|
),
|
2022-12-07 01:34:34 +01:00
|
|
|
),
|
|
|
|
then: [
|
|
|
|
Expression {
|
|
|
|
expr: Variable(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleVariable(
|
|
|
|
SimpleVariable {
|
|
|
|
span: (
|
|
|
|
4,
|
|
|
|
15,
|
|
|
|
),
|
|
|
|
name: "bar",
|
|
|
|
},
|
|
|
|
),
|
2022-12-07 01:34:34 +01:00
|
|
|
),
|
|
|
|
},
|
|
|
|
],
|
|
|
|
else_ifs: [],
|
|
|
|
else: None,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
static: false,
|
|
|
|
},
|
|
|
|
),
|
|
|
|
},
|
|
|
|
]
|