2022-12-03 19:23:12 +01:00
|
|
|
[
|
|
|
|
Expression {
|
|
|
|
expr: Match {
|
2022-12-05 17:53:41 +01:00
|
|
|
condition: Variable(
|
|
|
|
Variable {
|
|
|
|
start: (
|
|
|
|
4,
|
|
|
|
8,
|
|
|
|
),
|
|
|
|
name: "s",
|
|
|
|
end: (
|
|
|
|
4,
|
|
|
|
10,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
),
|
2022-12-03 19:23:12 +01:00
|
|
|
default: Some(
|
|
|
|
DefaultMatchArm {
|
|
|
|
body: LiteralInteger {
|
|
|
|
i: 124,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
),
|
|
|
|
arms: [
|
|
|
|
MatchArm {
|
|
|
|
conditions: [
|
|
|
|
LiteralInteger {
|
|
|
|
i: 1,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
body: LiteralInteger {
|
|
|
|
i: 2,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
MatchArm {
|
|
|
|
conditions: [
|
|
|
|
LiteralInteger {
|
|
|
|
i: 3,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
body: LiteralInteger {
|
|
|
|
i: 4,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
MatchArm {
|
|
|
|
conditions: [
|
|
|
|
LiteralInteger {
|
|
|
|
i: 5,
|
|
|
|
},
|
|
|
|
LiteralInteger {
|
|
|
|
i: 6,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
body: LiteralInteger {
|
|
|
|
i: 4,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
MatchArm {
|
|
|
|
conditions: [
|
|
|
|
LiteralInteger {
|
|
|
|
i: 9,
|
|
|
|
},
|
|
|
|
LiteralInteger {
|
|
|
|
i: 123,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
body: LiteralInteger {
|
|
|
|
i: 4,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
MatchArm {
|
|
|
|
conditions: [
|
2022-12-05 17:53:41 +01:00
|
|
|
Identifier(
|
|
|
|
Identifier {
|
|
|
|
start: (
|
|
|
|
9,
|
|
|
|
5,
|
|
|
|
),
|
|
|
|
name: "_",
|
|
|
|
end: (
|
|
|
|
9,
|
|
|
|
7,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
),
|
2022-12-03 19:23:12 +01:00
|
|
|
],
|
|
|
|
body: LiteralInteger {
|
|
|
|
i: 43,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
]
|