mirror of
https://github.com/danog/parser.git
synced 2024-12-13 17:37:20 +01:00
017b2e19c3
Signed-off-by: azjezz <azjezz@protonmail.com> Signed-off-by: azjezz <azjezz@protonmail.com>
68 lines
1.4 KiB
Plaintext
68 lines
1.4 KiB
Plaintext
[
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: Variable {
|
|
name: "a",
|
|
},
|
|
op: Assign,
|
|
rhs: New {
|
|
target: Identifier {
|
|
name: "Foo",
|
|
},
|
|
args: [],
|
|
},
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: Variable {
|
|
name: "b",
|
|
},
|
|
op: Assign,
|
|
rhs: UnaryPlus {
|
|
value: Int {
|
|
i: 1,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: Variable {
|
|
name: "c",
|
|
},
|
|
op: Assign,
|
|
rhs: BitwiseNot {
|
|
value: Int {
|
|
i: 2,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: Variable {
|
|
name: "d",
|
|
},
|
|
op: Assign,
|
|
rhs: PreDecrement {
|
|
value: Variable {
|
|
name: "b",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: Variable {
|
|
name: "e",
|
|
},
|
|
op: Assign,
|
|
rhs: PreIncrement {
|
|
value: Variable {
|
|
name: "d",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
] |