mirror of
https://github.com/danog/parser.git
synced 2024-11-27 04:14:55 +01:00
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
[
|
|
Expression {
|
|
expr: InterpolatedString {
|
|
parts: [
|
|
Expr(
|
|
Variable {
|
|
name: "foo",
|
|
},
|
|
),
|
|
Expr(
|
|
ArrayIndex {
|
|
array: Variable {
|
|
name: "foo",
|
|
},
|
|
index: Some(
|
|
LiteralInteger {
|
|
i: 0,
|
|
},
|
|
),
|
|
},
|
|
),
|
|
Expr(
|
|
ArrayIndex {
|
|
array: Variable {
|
|
name: "foo",
|
|
},
|
|
index: Some(
|
|
LiteralString {
|
|
value: "bar",
|
|
},
|
|
),
|
|
},
|
|
),
|
|
Expr(
|
|
DynamicVariable {
|
|
name: Variable {
|
|
name: "foo",
|
|
},
|
|
},
|
|
),
|
|
],
|
|
},
|
|
},
|
|
]
|