mirror of
https://github.com/danog/parser.git
synced 2024-12-12 09:09:37 +01:00
479f51913c
Signed-off-by: azjezz <azjezz@protonmail.com>
83 lines
2.1 KiB
Plaintext
83 lines
2.1 KiB
Plaintext
[
|
|
For {
|
|
init: [
|
|
Infix {
|
|
lhs: Variable(
|
|
Variable {
|
|
start: (
|
|
3,
|
|
6,
|
|
),
|
|
name: "i",
|
|
end: (
|
|
3,
|
|
9,
|
|
),
|
|
},
|
|
),
|
|
op: Assign,
|
|
rhs: LiteralInteger {
|
|
i: 0,
|
|
},
|
|
},
|
|
Infix {
|
|
lhs: Variable(
|
|
Variable {
|
|
start: (
|
|
3,
|
|
14,
|
|
),
|
|
name: "i",
|
|
end: (
|
|
3,
|
|
17,
|
|
),
|
|
},
|
|
),
|
|
op: Assign,
|
|
rhs: LiteralInteger {
|
|
i: 1,
|
|
},
|
|
},
|
|
],
|
|
condition: [
|
|
Infix {
|
|
lhs: Variable(
|
|
Variable {
|
|
start: (
|
|
3,
|
|
22,
|
|
),
|
|
name: "j",
|
|
end: (
|
|
3,
|
|
25,
|
|
),
|
|
},
|
|
),
|
|
op: LessThan,
|
|
rhs: LiteralInteger {
|
|
i: 2,
|
|
},
|
|
},
|
|
Decrement {
|
|
value: Variable(
|
|
Variable {
|
|
start: (
|
|
3,
|
|
30,
|
|
),
|
|
name: "j",
|
|
end: (
|
|
3,
|
|
32,
|
|
),
|
|
},
|
|
),
|
|
},
|
|
],
|
|
loop: [],
|
|
then: [],
|
|
},
|
|
]
|