2022-12-03 02:25:22 +01:00
|
|
|
[
|
|
|
|
Expression {
|
|
|
|
expr: Infix {
|
2022-12-05 17:53:41 +01:00
|
|
|
lhs: Variable(
|
|
|
|
Variable {
|
|
|
|
start: (
|
|
|
|
4,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
name: "a",
|
|
|
|
end: (
|
|
|
|
4,
|
|
|
|
4,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
),
|
2022-12-03 02:25:22 +01:00
|
|
|
op: Assign,
|
|
|
|
rhs: LiteralInteger {
|
|
|
|
i: 4,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Expression {
|
|
|
|
expr: Infix {
|
2022-12-05 17:53:41 +01:00
|
|
|
lhs: Variable(
|
|
|
|
Variable {
|
|
|
|
start: (
|
|
|
|
6,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
name: "b",
|
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
4,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
),
|
2022-12-03 02:25:22 +01:00
|
|
|
op: Assign,
|
|
|
|
rhs: Match {
|
2022-12-05 17:53:41 +01:00
|
|
|
condition: Variable(
|
|
|
|
Variable {
|
|
|
|
start: (
|
|
|
|
6,
|
|
|
|
13,
|
|
|
|
),
|
|
|
|
name: "a",
|
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
15,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
),
|
2022-12-03 19:23:12 +01:00
|
|
|
default: None,
|
2022-12-03 02:25:22 +01:00
|
|
|
arms: [
|
|
|
|
MatchArm {
|
2022-12-03 19:23:12 +01:00
|
|
|
conditions: [
|
|
|
|
LiteralInteger {
|
|
|
|
i: 1,
|
|
|
|
},
|
|
|
|
LiteralInteger {
|
|
|
|
i: 2,
|
|
|
|
},
|
|
|
|
LiteralInteger {
|
|
|
|
i: 3,
|
|
|
|
},
|
|
|
|
LiteralInteger {
|
|
|
|
i: 4,
|
|
|
|
},
|
|
|
|
],
|
2022-12-03 02:25:22 +01:00
|
|
|
body: Null,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
]
|