parser/tests/fixtures/0243/ast.txt
Saif Eddin Gmati 6a6d4d0e5f
chore: refactor ident and dynamic var parsers (#192)
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-10 15:24:55 +01:00

54 lines
1.5 KiB
Plaintext

[
For {
init: [
AssignmentOperation(
Assign {
left: Variable(
SimpleVariable(
SimpleVariable {
span: (
3,
6,
),
name: "i",
},
),
),
span: (
3,
9,
),
right: LiteralInteger {
i: "0",
},
},
),
AssignmentOperation(
Assign {
left: Variable(
SimpleVariable(
SimpleVariable {
span: (
3,
14,
),
name: "i",
},
),
),
span: (
3,
17,
),
right: LiteralInteger {
i: "1",
},
},
),
],
condition: [],
loop: [],
then: [],
},
]