parser/tests/fixtures/0020/ast.txt

418 lines
9.1 KiB
Plaintext
Raw Normal View History

[
Expression {
expr: Infix {
lhs: LiteralInteger {
i: 6,
},
op: Mod,
rhs: LiteralInteger {
i: 2,
},
},
},
Expression {
expr: Infix {
lhs: LiteralInteger {
i: 6,
},
op: LeftShift,
rhs: LiteralInteger {
i: 2,
},
},
},
Expression {
expr: Infix {
lhs: LiteralInteger {
i: 6,
},
op: RightShift,
rhs: LiteralInteger {
i: 2,
},
},
},
Expression {
expr: Infix {
lhs: LiteralInteger {
i: 6,
},
op: BitwiseAnd,
rhs: LiteralInteger {
i: 2,
},
},
},
Expression {
expr: Infix {
lhs: LiteralInteger {
i: 6,
},
op: BitwiseOr,
rhs: LiteralInteger {
i: 2,
},
},
},
Expression {
expr: Infix {
lhs: LiteralInteger {
i: 6,
},
op: BitwiseXor,
rhs: LiteralInteger {
i: 2,
},
},
},
Expression {
expr: Infix {
lhs: LiteralInteger {
i: 6,
},
op: NotEquals,
rhs: LiteralInteger {
i: 2,
},
},
},
Expression {
expr: Infix {
lhs: LiteralInteger {
i: 6,
},
op: Spaceship,
rhs: LiteralInteger {
i: 2,
},
},
},
Expression {
expr: Infix {
lhs: LiteralInteger {
i: 6,
},
op: LogicalAnd,
rhs: LiteralInteger {
i: 2,
},
},
},
Expression {
expr: Infix {
lhs: LiteralInteger {
i: 6,
},
op: LogicalOr,
rhs: LiteralInteger {
i: 2,
},
},
},
Expression {
expr: Infix {
lhs: LiteralInteger {
i: 6,
},
op: LogicalXor,
rhs: LiteralInteger {
i: 2,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
14,
1,
),
name: "a",
end: (
14,
4,
),
},
),
op: Assign,
rhs: LiteralInteger {
i: 1,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
15,
1,
),
name: "a",
end: (
15,
4,
),
},
),
op: AddAssign,
rhs: LiteralInteger {
i: 1,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
16,
1,
),
name: "a",
end: (
16,
4,
),
},
),
op: SubAssign,
rhs: LiteralInteger {
i: 1,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
17,
1,
),
name: "a",
end: (
17,
4,
),
},
),
op: MulAssign,
rhs: LiteralInteger {
i: 1,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
18,
1,
),
name: "a",
end: (
18,
4,
),
},
),
op: PowAssign,
rhs: LiteralInteger {
i: 1,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
19,
1,
),
name: "a",
end: (
19,
4,
),
},
),
op: DivAssign,
rhs: LiteralInteger {
i: 1,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
20,
1,
),
name: "a",
end: (
20,
4,
),
},
),
op: ConcatAssign,
rhs: LiteralInteger {
i: 1,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
21,
1,
),
name: "a",
end: (
21,
4,
),
},
),
op: ModAssign,
rhs: LiteralInteger {
i: 1,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
22,
1,
),
name: "a",
end: (
22,
4,
),
},
),
op: BitwiseAndAssign,
rhs: LiteralInteger {
i: 1,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
23,
1,
),
name: "a",
end: (
23,
4,
),
},
),
op: BitwiseOrAssign,
rhs: LiteralInteger {
i: 1,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
24,
1,
),
name: "a",
end: (
24,
4,
),
},
),
op: BitwiseXorAssign,
rhs: LiteralInteger {
i: 1,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
25,
1,
),
name: "a",
end: (
25,
4,
),
},
),
op: LeftShiftAssign,
rhs: LiteralInteger {
i: 1,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
26,
1,
),
name: "a",
end: (
26,
4,
),
},
),
op: RightShiftAssign,
rhs: LiteralInteger {
i: 1,
},
},
},
Expression {
expr: Infix {
lhs: Variable(
Variable {
start: (
27,
1,
),
name: "a",
end: (
27,
4,
),
},
),
op: CoalesceAssign,
rhs: LiteralInteger {
i: 1,
},
},
},
]