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

107 lines
3.3 KiB
Plaintext

[
Expression {
expr: InterpolatedString {
parts: [
Expr(
Variable(
Variable {
start: (
1,
8,
),
name: "foo",
end: (
1,
12,
),
},
),
),
Const(
" abc ",
),
Expr(
PropertyFetch {
target: Variable(
Variable {
start: (
1,
12,
),
name: "bar",
end: (
1,
21,
),
},
),
property: Identifier(
Identifier {
start: (
1,
23,
),
name: "a",
end: (
1,
24,
),
},
),
},
),
Const(
" def ",
),
Expr(
ArrayIndex {
array: Variable(
Variable {
start: (
1,
24,
),
name: "bar",
end: (
1,
33,
),
},
),
index: Some(
LiteralInteger {
i: 0,
},
),
},
),
Const(
" ghi ",
),
Expr(
ArrayIndex {
array: Variable(
Variable {
start: (
1,
36,
),
name: "bar",
end: (
1,
45,
),
},
),
index: Some(
LiteralString {
value: "baz",
},
),
},
),
],
},
},
]