mirror of
https://github.com/danog/parser.git
synced 2024-12-12 17:17:23 +01:00
bd2023c3c4
Signed-off-by: azjezz <azjezz@protonmail.com>
165 lines
3.9 KiB
Plaintext
165 lines
3.9 KiB
Plaintext
[
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: Variable(
|
|
Variable {
|
|
start: (
|
|
3,
|
|
1,
|
|
),
|
|
name: "a",
|
|
end: (
|
|
3,
|
|
4,
|
|
),
|
|
},
|
|
),
|
|
op: Assign,
|
|
rhs: New {
|
|
target: Identifier(
|
|
Identifier {
|
|
start: (
|
|
3,
|
|
10,
|
|
),
|
|
name: "Foo",
|
|
end: (
|
|
3,
|
|
13,
|
|
),
|
|
},
|
|
),
|
|
args: [],
|
|
},
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: Variable(
|
|
Variable {
|
|
start: (
|
|
4,
|
|
1,
|
|
),
|
|
name: "b",
|
|
end: (
|
|
4,
|
|
4,
|
|
),
|
|
},
|
|
),
|
|
op: Assign,
|
|
rhs: UnaryPlus {
|
|
span: (
|
|
4,
|
|
6,
|
|
),
|
|
value: LiteralInteger {
|
|
i: "1",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: Variable(
|
|
Variable {
|
|
start: (
|
|
5,
|
|
1,
|
|
),
|
|
name: "c",
|
|
end: (
|
|
5,
|
|
4,
|
|
),
|
|
},
|
|
),
|
|
op: Assign,
|
|
rhs: BitwiseNot {
|
|
span: (
|
|
5,
|
|
6,
|
|
),
|
|
value: LiteralInteger {
|
|
i: "2",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: Variable(
|
|
Variable {
|
|
start: (
|
|
6,
|
|
1,
|
|
),
|
|
name: "d",
|
|
end: (
|
|
6,
|
|
4,
|
|
),
|
|
},
|
|
),
|
|
op: Assign,
|
|
rhs: PreDecrement {
|
|
span: (
|
|
6,
|
|
6,
|
|
),
|
|
value: Variable(
|
|
Variable {
|
|
start: (
|
|
6,
|
|
8,
|
|
),
|
|
name: "b",
|
|
end: (
|
|
6,
|
|
10,
|
|
),
|
|
},
|
|
),
|
|
},
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: Variable(
|
|
Variable {
|
|
start: (
|
|
7,
|
|
1,
|
|
),
|
|
name: "e",
|
|
end: (
|
|
7,
|
|
4,
|
|
),
|
|
},
|
|
),
|
|
op: Assign,
|
|
rhs: PreIncrement {
|
|
span: (
|
|
7,
|
|
6,
|
|
),
|
|
value: Variable(
|
|
Variable {
|
|
start: (
|
|
7,
|
|
8,
|
|
),
|
|
name: "d",
|
|
end: (
|
|
7,
|
|
10,
|
|
),
|
|
},
|
|
),
|
|
},
|
|
},
|
|
},
|
|
]
|