parser/tests/0032/ast.txt

45 lines
1.2 KiB
Plaintext
Raw Normal View History

[
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",
},
},
),
],
},
},
]