mirror of
https://github.com/danog/parser.git
synced 2024-12-13 09:37:18 +01:00
479f51913c
Signed-off-by: azjezz <azjezz@protonmail.com>
77 lines
2.0 KiB
Plaintext
77 lines
2.0 KiB
Plaintext
[
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: Variable(
|
|
Variable {
|
|
start: (
|
|
4,
|
|
1,
|
|
),
|
|
name: "a",
|
|
end: (
|
|
4,
|
|
4,
|
|
),
|
|
},
|
|
),
|
|
op: Assign,
|
|
rhs: LiteralInteger {
|
|
i: 4,
|
|
},
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: Variable(
|
|
Variable {
|
|
start: (
|
|
6,
|
|
1,
|
|
),
|
|
name: "b",
|
|
end: (
|
|
6,
|
|
4,
|
|
),
|
|
},
|
|
),
|
|
op: Assign,
|
|
rhs: Match {
|
|
condition: Variable(
|
|
Variable {
|
|
start: (
|
|
6,
|
|
13,
|
|
),
|
|
name: "a",
|
|
end: (
|
|
6,
|
|
15,
|
|
),
|
|
},
|
|
),
|
|
default: None,
|
|
arms: [
|
|
MatchArm {
|
|
conditions: [
|
|
LiteralInteger {
|
|
i: 1,
|
|
},
|
|
LiteralInteger {
|
|
i: 2,
|
|
},
|
|
LiteralInteger {
|
|
i: 3,
|
|
},
|
|
LiteralInteger {
|
|
i: 4,
|
|
},
|
|
],
|
|
body: Null,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
},
|
|
]
|