2022-11-30 01:43:37 +01:00
|
|
|
[
|
|
|
|
Expression {
|
|
|
|
expr: InterpolatedString {
|
|
|
|
parts: [
|
|
|
|
Expr(
|
2022-12-05 17:53:41 +01:00
|
|
|
Variable(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleVariable(
|
|
|
|
SimpleVariable {
|
|
|
|
span: (
|
|
|
|
1,
|
|
|
|
9,
|
|
|
|
),
|
|
|
|
name: "foo",
|
|
|
|
},
|
|
|
|
),
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
2022-11-30 01:43:37 +01:00
|
|
|
),
|
|
|
|
Expr(
|
|
|
|
ArrayIndex {
|
2022-12-05 17:53:41 +01:00
|
|
|
array: Variable(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleVariable(
|
|
|
|
SimpleVariable {
|
|
|
|
span: (
|
|
|
|
1,
|
|
|
|
15,
|
|
|
|
),
|
|
|
|
name: "foo",
|
|
|
|
},
|
|
|
|
),
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
2022-11-30 01:43:37 +01:00
|
|
|
index: Some(
|
|
|
|
LiteralInteger {
|
2022-12-06 19:13:45 +01:00
|
|
|
i: "0",
|
2022-11-30 01:43:37 +01:00
|
|
|
},
|
|
|
|
),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
Expr(
|
|
|
|
ArrayIndex {
|
2022-12-05 17:53:41 +01:00
|
|
|
array: Variable(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleVariable(
|
|
|
|
SimpleVariable {
|
|
|
|
span: (
|
|
|
|
1,
|
|
|
|
24,
|
|
|
|
),
|
|
|
|
name: "foo",
|
|
|
|
},
|
|
|
|
),
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
2022-11-30 01:43:37 +01:00
|
|
|
index: Some(
|
|
|
|
LiteralString {
|
|
|
|
value: "bar",
|
|
|
|
},
|
|
|
|
),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
Expr(
|
|
|
|
PropertyFetch {
|
2022-12-05 17:53:41 +01:00
|
|
|
target: Variable(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleVariable(
|
|
|
|
SimpleVariable {
|
|
|
|
span: (
|
|
|
|
1,
|
|
|
|
37,
|
|
|
|
),
|
|
|
|
name: "foo",
|
|
|
|
},
|
|
|
|
),
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
|
|
|
property: Identifier(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleIdentifier(
|
|
|
|
SimpleIdentifier {
|
|
|
|
span: (
|
|
|
|
1,
|
|
|
|
43,
|
|
|
|
),
|
|
|
|
name: "bar",
|
|
|
|
},
|
|
|
|
),
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
2022-11-30 01:43:37 +01:00
|
|
|
},
|
|
|
|
),
|
|
|
|
Expr(
|
|
|
|
MethodCall {
|
2022-12-05 17:53:41 +01:00
|
|
|
target: Variable(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleVariable(
|
|
|
|
SimpleVariable {
|
|
|
|
span: (
|
|
|
|
1,
|
|
|
|
48,
|
|
|
|
),
|
|
|
|
name: "foo",
|
|
|
|
},
|
|
|
|
),
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
|
|
|
method: Identifier(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleIdentifier(
|
|
|
|
SimpleIdentifier {
|
|
|
|
span: (
|
|
|
|
1,
|
|
|
|
54,
|
|
|
|
),
|
|
|
|
name: "bar",
|
|
|
|
},
|
|
|
|
),
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
2022-11-30 01:43:37 +01:00
|
|
|
args: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
]
|