parser/tests/0017/ast.txt

68 lines
1.4 KiB
Plaintext
Raw Normal View History

[
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: LiteralInteger {
i: 1,
},
},
},
},
Expression {
expr: Infix {
lhs: Variable {
name: "c",
},
op: Assign,
rhs: BitwiseNot {
value: LiteralInteger {
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",
},
},
},
},
]