mirror of
https://github.com/danog/parser.git
synced 2024-11-30 04:29:13 +01:00
0e04f157f7
Signed-off-by: azjezz <azjezz@protonmail.com> Signed-off-by: azjezz <azjezz@protonmail.com>
52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
[
|
|
Expression {
|
|
expr: ArrayIndex {
|
|
array: Variable {
|
|
name: "foo",
|
|
},
|
|
index: Some(
|
|
LiteralString {
|
|
value: "bar",
|
|
},
|
|
),
|
|
},
|
|
},
|
|
Expression {
|
|
expr: ArrayIndex {
|
|
array: ArrayIndex {
|
|
array: Variable {
|
|
name: "foo",
|
|
},
|
|
index: Some(
|
|
LiteralString {
|
|
value: "bar",
|
|
},
|
|
),
|
|
},
|
|
index: Some(
|
|
LiteralString {
|
|
value: "baz",
|
|
},
|
|
),
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: ArrayIndex {
|
|
array: Variable {
|
|
name: "foo",
|
|
},
|
|
index: Some(
|
|
LiteralString {
|
|
value: "bar",
|
|
},
|
|
),
|
|
},
|
|
op: Assign,
|
|
rhs: LiteralString {
|
|
value: "baz",
|
|
},
|
|
},
|
|
},
|
|
]
|