parser/tests/fixtures/0022/ast.txt
azjezz 479f51913c
chore: remove build script
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-05 18:36:04 +01:00

138 lines
3.2 KiB
Plaintext

[
Foreach {
expr: Variable(
Variable {
start: (
3,
10,
),
name: "a",
end: (
3,
13,
),
},
),
by_ref: false,
key_var: None,
value_var: Variable(
Variable {
start: (
3,
16,
),
name: "b",
end: (
3,
18,
),
},
),
body: [
Echo {
values: [
Variable(
Variable {
start: (
4,
10,
),
name: "a",
end: (
4,
12,
),
},
),
],
},
],
},
While {
condition: Bool {
value: true,
},
body: [
Expression {
expr: Variable(
Variable {
start: (
8,
5,
),
name: "a",
end: (
8,
7,
),
},
),
},
],
},
For {
init: [
Variable(
Variable {
start: (
11,
6,
),
name: "a",
end: (
11,
8,
),
},
),
],
condition: [
Variable(
Variable {
start: (
11,
10,
),
name: "b",
end: (
11,
12,
),
},
),
],
loop: [
Variable(
Variable {
start: (
11,
14,
),
name: "c",
end: (
11,
16,
),
},
),
],
then: [
Expression {
expr: Variable(
Variable {
start: (
12,
5,
),
name: "d",
end: (
12,
7,
),
},
),
},
],
},
]