ruby/test/prism/fixtures/integer_operations.txt

64 строки
248 B
Plaintext

!1
~1
1 != 2
1 !~ 2
1 % 2
1 & 2
1 * 2
1**2
1 + 2
1 - 2
1 / 2
1/2/3
1 < 2
1 << 2
1 <= 2
1 <=> 2
1 == 2
1 === 2
1 =~ 2
1 > 2
1 >= 2
1 >> 2
1 ^ 2
1 | 2
1 && 2
1 and 2
1 * 2 ** 3
1 * 2 + 3
1 or 2
1 || 2
1 + 2 * 3
(1 + 1)