@@ -19,17 +19,17 @@ fn test_operations(
1919 x >= y; // $ Operation Op=>= Operands=2 BinaryExpr ComparisonOperation RelationalOperation GreaterOrEqualsOperation Greater=x Lesser=y
2020
2121 // 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
3333
3434 // logical operations
3535 a && b; // $ Operation Op=&& Operands=2 BinaryExpr LogicalOperation
0 commit comments