mirror of
https://github.com/danog/parser.git
synced 2024-11-26 20:04:57 +01:00
91 lines
2.6 KiB
Plaintext
91 lines
2.6 KiB
Plaintext
[
|
|
Expression {
|
|
expr: AssignmentOperation(
|
|
Assign {
|
|
left: Variable(
|
|
Variable {
|
|
start: (
|
|
4,
|
|
1,
|
|
),
|
|
name: "a",
|
|
end: (
|
|
4,
|
|
4,
|
|
),
|
|
},
|
|
),
|
|
span: (
|
|
4,
|
|
4,
|
|
),
|
|
right: LiteralInteger {
|
|
i: "4",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
Expression {
|
|
expr: AssignmentOperation(
|
|
Assign {
|
|
left: Variable(
|
|
Variable {
|
|
start: (
|
|
6,
|
|
1,
|
|
),
|
|
name: "b",
|
|
end: (
|
|
6,
|
|
4,
|
|
),
|
|
},
|
|
),
|
|
span: (
|
|
6,
|
|
4,
|
|
),
|
|
right: Match {
|
|
condition: Variable(
|
|
Variable {
|
|
start: (
|
|
6,
|
|
13,
|
|
),
|
|
name: "a",
|
|
end: (
|
|
6,
|
|
15,
|
|
),
|
|
},
|
|
),
|
|
default: Some(
|
|
DefaultMatchArm {
|
|
body: Null,
|
|
},
|
|
),
|
|
arms: [
|
|
MatchArm {
|
|
conditions: [
|
|
LiteralInteger {
|
|
i: "1",
|
|
},
|
|
LiteralInteger {
|
|
i: "2",
|
|
},
|
|
LiteralInteger {
|
|
i: "3",
|
|
},
|
|
LiteralInteger {
|
|
i: "4",
|
|
},
|
|
],
|
|
body: Null,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
),
|
|
},
|
|
]
|