parser/tests/fixtures/0184/ast.txt
Saif Eddin Gmati 6a6d4d0e5f
chore: refactor ident and dynamic var parsers (#192)
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-10 15:24:55 +01:00

92 lines
3.3 KiB
Plaintext

[
Expression {
expr: AssignmentOperation(
Assign {
left: Variable(
SimpleVariable(
SimpleVariable {
span: (
3,
1,
),
name: "a",
},
),
),
span: (
3,
4,
),
right: Array {
items: [
ArrayItem {
key: None,
value: Variable(
SimpleVariable(
SimpleVariable {
span: (
3,
7,
),
name: "a",
},
),
),
unpack: false,
by_ref: false,
},
ArrayItem {
key: None,
value: Variable(
SimpleVariable(
SimpleVariable {
span: (
3,
11,
),
name: "b",
},
),
),
unpack: false,
by_ref: false,
},
ArrayItem {
key: None,
value: Variable(
SimpleVariable(
SimpleVariable {
span: (
3,
15,
),
name: "c",
},
),
),
unpack: false,
by_ref: false,
},
ArrayItem {
key: None,
value: Variable(
SimpleVariable(
SimpleVariable {
span: (
3,
19,
),
name: "d",
},
),
),
unpack: false,
by_ref: false,
},
],
},
},
),
},
]