@@ -19,17 +19,17 @@ fn test_operations(
19
19
x >= y; // $ Operation Op=>= Operands=2 BinaryExpr ComparisonOperation RelationalOperation GreaterOrEqualsOperation Greater=x Lesser=y
20
20
21
21
// arithmetic operations
22
- x + y; // $ Operation Op=+ Operands=2 BinaryExpr
23
- x - y; // $ Operation Op=- Operands=2 BinaryExpr
24
- x * y; // $ Operation Op=* Operands=2 BinaryExpr
25
- x / y; // $ Operation Op=/ Operands=2 BinaryExpr
26
- x % y; // $ Operation Op=% Operands=2 BinaryExpr
27
- x += y; // $ Operation Op=+= Operands=2 AssignmentOperation BinaryExpr
28
- x -= y; // $ Operation Op=-= Operands=2 AssignmentOperation BinaryExpr
29
- x *= y; // $ Operation Op=*= Operands=2 AssignmentOperation BinaryExpr
30
- x /= y; // $ Operation Op=/= Operands=2 AssignmentOperation BinaryExpr
31
- x %= y; // $ Operation Op=%= Operands=2 AssignmentOperation BinaryExpr
32
- -x; // $ Operation Op=- Operands=1 PrefixExpr
22
+ x + y; // $ Operation Op=+ Operands=2 BinaryExpr ArithmeticOperation BinaryArithmeticOperation
23
+ x - y; // $ Operation Op=- Operands=2 BinaryExpr ArithmeticOperation BinaryArithmeticOperation
24
+ x * y; // $ Operation Op=* Operands=2 BinaryExpr ArithmeticOperation BinaryArithmeticOperation
25
+ x / y; // $ Operation Op=/ Operands=2 BinaryExpr ArithmeticOperation BinaryArithmeticOperation
26
+ x % y; // $ Operation Op=% Operands=2 BinaryExpr ArithmeticOperation BinaryArithmeticOperation
27
+ x += y; // $ Operation Op=+= Operands=2 AssignmentOperation BinaryExpr ArithmeticOperation AssignArithmeticOperation
28
+ x -= y; // $ Operation Op=-= Operands=2 AssignmentOperation BinaryExpr ArithmeticOperation AssignArithmeticOperation
29
+ x *= y; // $ Operation Op=*= Operands=2 AssignmentOperation BinaryExpr ArithmeticOperation AssignArithmeticOperation
30
+ x /= y; // $ Operation Op=/= Operands=2 AssignmentOperation BinaryExpr ArithmeticOperation AssignArithmeticOperation
31
+ x %= y; // $ Operation Op=%= Operands=2 AssignmentOperation BinaryExpr ArithmeticOperation AssignArithmeticOperation
32
+ -x; // $ Operation Op=- Operands=1 PrefixExpr ArithmeticOperation PrefixArithmeticOperation
33
33
34
34
// logical operations
35
35
a && b; // $ Operation Op=&& Operands=2 BinaryExpr LogicalOperation
0 commit comments