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

82 lines
2.0 KiB
Plaintext

[
Expression {
expr: ArrayIndex {
array: Variable(
Variable {
start: (
3,
1,
),
name: "foo",
end: (
3,
5,
),
},
),
index: Some(
LiteralString {
value: "bar",
},
),
},
},
Expression {
expr: ArrayIndex {
array: ArrayIndex {
array: Variable(
Variable {
start: (
5,
1,
),
name: "foo",
end: (
5,
5,
),
},
),
index: Some(
LiteralString {
value: "bar",
},
),
},
index: Some(
LiteralString {
value: "baz",
},
),
},
},
Expression {
expr: Infix {
lhs: ArrayIndex {
array: Variable(
Variable {
start: (
7,
1,
),
name: "foo",
end: (
7,
5,
),
},
),
index: Some(
LiteralString {
value: "bar",
},
),
},
op: Assign,
rhs: LiteralString {
value: "baz",
},
},
},
]