Lines Matching refs:eqeqeq
2857 // Optimized helpers for calls like $truthy((a)['$==='](b)) -> $eqeqeq(a, b)
2866 Opal.eqeqeq = function(lhs, rhs) { function
3044 …, $module = Opal.module, $defs = Opal.defs, $slice = Opal.slice, $eqeqeq = Opal.eqeqeq, $Kernel = …
3063 if (!$eqeqeq(type, coerced)) {
3078 } if (!$eqeqeq(type, coerced)) {
3085 if ($eqeqeq(type, object)) {
3236 …al.klass, $defs = Opal.defs, $send = Opal.send, $def = Opal.def, $eqeqeq = Opal.eqeqeq, $Module = …
3279 if (!$eqeqeq($Module, other)) {
3319 if (!$eqeqeq($Module, other)) {
3342 if (!$eqeqeq($Module, other)) {
3693 …or_1) : ($eqeqeq($$$('Proc'), ($ret_or_2 = method)) ? (method) : ($eqeqeq($$$('Method'), $ret_or_2…
4504 …$eqeq = Opal.eqeq, $hash2 = Opal.hash2, $rb_plus = Opal.rb_plus, $eqeqeq = Opal.eqeqeq, $return_se…
5115 } if ($eqeqeq($$$('Hash'), arg)) {
6288 …$module = Opal.module, $rb_gt = Opal.rb_gt, $rb_lt = Opal.rb_lt, $eqeqeq = Opal.eqeqeq, $Kernel = …
6308 …(($eqeqeq(nil, ($ret_or_1 = rhs)) || (($eqeqeq(true, $ret_or_1) || (($eqeqeq(false, $ret_or_1) || …
6420 …gs = Opal.ensure_kwargs, $rb_ge = Opal.rb_ge, $to_a = Opal.to_a, $eqeqeq = Opal.eqeqeq, $rb_minus …
6857 if (!$eqeqeq($$$('MatchData'), other)) {
6985 …args = Opal.extract_kwargs, $ensure_kwargs = Opal.ensure_kwargs, $eqeqeq = Opal.eqeqeq, $Kernel = …
7044 if ($eqeqeq($$$('Array'), data)) {
7798 if (($eqeqeq($$('String'), pattern) || ($truthy(pattern['$respond_to?']("to_str"))))) {
7800 } if (!$eqeqeq($$$('Regexp'), pattern)) {
7807 if (($eqeqeq($$('String'), pattern) || ($truthy(pattern['$respond_to?']("to_str"))))) {
7809 } if (!$eqeqeq($$$('Regexp'), pattern)) {
10669 … Opal.rb_ge, $rb_plus = Opal.rb_plus, $rb_minus = Opal.rb_minus, $eqeqeq = Opal.eqeqeq, $not = Opa…
10778 } if ($eqeqeq(nil, ($ret_or_1 = self.$begin()))) {
10790 if (($eqeqeq(inf, ($ret_or_1 = self.$end())) || ($eqeqeq((inf)['$-@'](), $ret_or_1)))) {
10792 } else if ($eqeqeq(nil, $ret_or_1)) {
11011 …self = Opal.return_self, $Opal = Opal.Opal, $rb_lt = Opal.rb_lt, $eqeqeq = Opal.eqeqeq, $rb_plus =…
11140 …set_size = ($eqeqeq($$$('Integer'), current_size) ? (($truthy($rb_lt(n, current_size)) ? (n) : (cu…
11282 …set_size = ($eqeqeq($$$('Integer'), current_size) ? (($truthy($rb_lt(n, current_size)) ? (n) : (cu…
12031 …defs, $Kernel = Opal.Kernel, $def = Opal.def, $Opal = Opal.Opal, $eqeqeq = Opal.eqeqeq, $hash2 = O…
12180 …other = ($eqeqeq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ar…
12202 …other = ($eqeqeq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ar…
12241 …other = ($eqeqeq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ar…
12248 …other = ($eqeqeq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ar…
12283 if ($eqeqeq($$$('Array'), other)) {
12922 …other = ($eqeqeq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ar…
13206 } if ($eqeqeq($$$('Range'), one)) {
13916 …other = ($eqeqeq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ar…
14262 if ($eqeqeq($$$('Range'), index)) {
14484 …row = ($eqeqeq($$$('Array'), row) ? (row.$to_a()) : (($coerce_to(row, $$$('Array'), 'to_ary')).$to…
16129 …lass, $Opal = Opal.Opal, $Kernel = Opal.Kernel, $def = Opal.def, $eqeqeq = Opal.eqeqeq, $truthy = …
16435 if ($eqeqeq($$$('Integer'), other)) {
16441 …} else if (($rb_lt(self, 0) && (($eqeqeq($$$('Float'), other) || ($eqeqeq($$$('Rational'), other))…
16520 if (!$eqeqeq($$$('Integer'), self)) {
16583 if (!$eqeqeq($$$('Numeric'), stop)) {
16642 if (!$eqeqeq($$$('Integer'), other)) {
16675 if (($eqeq(klass, $$$('Integer')) && ($eqeqeq($$$('Integer'), self)))) {
16677 } if (($eqeq(klass, $$$('Integer')) && ($eqeqeq($$$('Integer'), self)))) {
16679 } if (($eqeq(klass, $$$('Float')) && ($eqeqeq($$$('Float'), self)))) {
16689 if (($eqeq(klass, $$$('Integer')) && ($eqeqeq($$$('Integer'), self)))) {
16691 } if (($eqeq(klass, $$$('Integer')) && ($eqeqeq($$$('Integer'), self)))) {
16693 } if (($eqeq(klass, $$$('Float')) && ($eqeqeq($$$('Float'), self)))) {
16702 if (!$eqeqeq($$$('Integer'), other)) {
16791 if ($eqeqeq($$$('Integer'), self)) {
16804 if ($eqeqeq($$$('Integer'), self)) {
16828 if ($eqeqeq($$$('Integer'), self)) {
16832 } if (($eqeqeq($$$('Float'), ndigits) && ($truthy(ndigits['$infinite?']())))) {
16897 if ($eqeqeq($$$('Integer'), self)) {
16990 if (!$eqeqeq($$$('Numeric'), stop)) {
17203 …b_lt, $rb_le = Opal.rb_le, $send = Opal.send, $eqeq = Opal.eqeq, $eqeqeq = Opal.eqeqeq, $return_iv…
17321 if (!$eqeqeq($$$('Range'), other)) {
17390 } if (!($eqeqeq($$$('Numeric'), self.begin) && ($eqeqeq($$$('Numeric'), self.end)))) {
19480 …, $send = Opal.send, $def = Opal.def, $rb_minus = Opal.rb_minus, $eqeqeq = Opal.eqeqeq, $rb_divide…
19743 if ($eqeqeq($$$('String'), x)) {
19749 if ($eqeqeq($$$('String'), base)) {
19757 if ($eqeqeq($$$('String'), x)) {
19765 if ($eqeqeq($$$('String'), x)) {
19814 …var $klass = Opal.klass, $truthy = Opal.truthy, $eqeqeq = Opal.eqeqeq, $Kernel = Opal.Kernel, $def…
19832 …if (!((($eqeqeq($$$('Numeric'), real) && ($truthy(real['$real?']()))) && ($eqeqeq($$$('Numeric'), …
19841 …if (!((($eqeqeq($$$('Numeric'), r) && ($truthy(r['$real?']()))) && ($eqeqeq($$$('Numeric'), theta)…
19860 if ($eqeqeq($$$('Complex'), other)) {
19862 } else if (($eqeqeq($$$('Numeric'), other) && ($truthy(other['$real?']())))) {
19872 if ($eqeqeq($$$('Complex'), other)) {
19878 } else if (($eqeqeq($$$('Numeric'), other) && ($truthy(other['$real?']())))) {
19898 if ($eqeqeq($$$('Complex'), other)) {
19900 } else if (($eqeqeq($$$('Numeric'), other) && ($truthy(other['$real?']())))) {
19910 if ($eqeqeq($$$('Complex'), other)) {
19912 } else if (($eqeqeq($$$('Numeric'), other) && ($truthy(other['$real?']())))) {
19922 if ($eqeqeq($$$('Complex'), other)) {
19924 } else if (($eqeqeq($$$('Numeric'), other) && ($truthy(other['$real?']())))) {
19934 if ($eqeqeq($$$('Complex'), other)) {
19935 …eqeqeq($$$('Number'), self.real) && ($truthy(self.real['$nan?']()))) || (($eqeqeq($$$('Number'), s…
19940 } else if (($eqeqeq($$$('Numeric'), other) && ($truthy(other['$real?']())))) {
19953 } if ($eqeqeq($$$('Complex'), other)) {
19961 } else if ($eqeqeq($$$('Integer'), other)) {
19981 } else if (($eqeqeq($$$('Float'), other) || ($eqeqeq($$$('Rational'), other)))) {
20033 if (!$eqeqeq($$$('Numeric'), other)) {
20135 …result = $rb_plus(result, (((($eqeqeq($$$('Number'), self.imag) && ($truthy(self.imag['$nan?']()))…
20137 …if (($eqeqeq($$$('Number'), self.imag) && (($truthy(self.imag['$nan?']()) || ($truthy(self.imag['$…
20268 …lt = Opal.rb_lt, $rb_divide = Opal.rb_divide, $defs = Opal.defs, $eqeqeq = Opal.eqeqeq, $not = Opa…
20304 } if (($eqeqeq($$$('Integer'), num) && ($eqeqeq($$$('Integer'), den)))) {
20306 …} if ((($eqeqeq($$$('Float'), num) || ($eqeqeq($$$('String'), num))) || ($eqeqeq($$$('Complex…
20308 …} if ((($eqeqeq($$$('Float'), den) || ($eqeqeq($$$('String'), den))) || ($eqeqeq($$$('Complex…
20312 } else if (($eqeqeq($$$('Numeric'), num) && ($eqeqeq($$$('Numeric'), den)))) {
20334 if ($eqeqeq($$$('Rational'), ($ret_or_1 = other))) {
20336 } else if ($eqeqeq($$$('Integer'), $ret_or_1)) {
20338 } else if ($eqeqeq($$$('Float'), $ret_or_1)) {
20348 if ($eqeqeq($$$('Rational'), ($ret_or_1 = other))) {
20354 } else if ($eqeqeq($$$('Integer'), $ret_or_1)) {
20360 } else if ($eqeqeq($$$('Float'), $ret_or_1)) {
20370 if ($eqeqeq($$$('Rational'), ($ret_or_1 = other))) {
20372 } else if ($eqeqeq($$$('Integer'), $ret_or_1)) {
20374 } else if ($eqeqeq($$$('Float'), $ret_or_1)) {
20384 if ($eqeqeq($$$('Rational'), ($ret_or_1 = other))) {
20389 } else if ($eqeqeq($$$('Integer'), $ret_or_1)) {
20391 } else if ($eqeqeq($$$('Float'), $ret_or_1)) {
20401 if ($eqeqeq($$$('Rational'), ($ret_or_1 = other))) {
20406 } else if ($eqeqeq($$$('Integer'), $ret_or_1)) {
20408 } else if ($eqeqeq($$$('Float'), $ret_or_1)) {
20418 if ($eqeqeq($$$('Rational'), ($ret_or_1 = other))) {
20423 } else if ($eqeqeq($$$('Integer'), $ret_or_1)) {
20425 } else if ($eqeqeq($$$('Float'), $ret_or_1)) {
20435 if ($eqeqeq($$$('Rational'), ($ret_or_1 = other))) {
20440 } else if ($eqeqeq($$$('Integer'), $ret_or_1)) {
20446 } else if ($eqeqeq($$$('Float'), $ret_or_1)) {
20456 if ($eqeqeq($$$('Integer'), ($ret_or_1 = other))) {
20466 } else if ($eqeqeq($$$('Float'), $ret_or_1)) {
20468 } else if ($eqeqeq($$$('Rational'), $ret_or_1)) {
20632 if (!$eqeqeq($$$('Integer'), precision)) {
20687 …ss, $Kernel = Opal.Kernel, $Opal = Opal.Opal, $defs = Opal.defs, $eqeqeq = Opal.eqeqeq, $def = Opa…
20982 if ($eqeqeq($$$('Time'), other)) {
20997 if ($eqeqeq($$$('Time'), other)) {
21011 if ($eqeqeq($$$('Time'), other)) {
21528 …h2 = Opal.hash2, $rb_gt = Opal.rb_gt, $rb_minus = Opal.rb_minus, $eqeqeq = Opal.eqeqeq, $rb_lt = O…
21705 if ($eqeqeq($$$('Integer'), name)) {
21712 } else if ($eqeqeq($$$('String'), name)) {
21727 if ($eqeqeq($$$('Integer'), name)) {
21734 } else if ($eqeqeq($$$('String'), name)) {
21882 if (($eqeqeq($$$('Struct'), self) && ($truthy(self.$class().$name())))) {
21955 …, $defs = Opal.defs, $hash2 = Opal.hash2, $truthy = Opal.truthy, $eqeqeq = Opal.eqeqeq, $Kernel = …
21983 } if (!$eqeqeq($$$('Enumerable'), enum$)) {
23057 …l.Kernel, $defs = Opal.defs, $Opal = Opal.Opal, $def = Opal.def, $eqeqeq = Opal.eqeqeq, $send = Op…
23122 if (!$eqeqeq($$$('Random'), other)) {
23367 …$module = Opal.module, $rb_gt = Opal.rb_gt, $rb_lt = Opal.rb_lt, $eqeqeq = Opal.eqeqeq, $Kernel = …
23387 …(($eqeqeq(nil, ($ret_or_1 = rhs)) || (($eqeqeq(true, $ret_or_1) || (($eqeqeq(false, $ret_or_1) || …
23499 … Opal.klass, $const_set = Opal.const_set, $regexp = Opal.regexp, $eqeqeq = Opal.eqeqeq, $truthy = …
23518 if ($eqeqeq($$('Pathname'), path)) {
23618 if (!$eqeqeq($$('Pathname'), other)) {
23685 if (!$eqeqeq($$('Pathname'), result)) {
23694 if (!$eqeqeq($$('Pathname'), arg)) {
23817 …d2 = Opal.send2, $find_super = Opal.find_super, $def = Opal.def, $eqeqeq = Opal.eqeqeq, $truthy = …
23866 if ($eqeqeq($$$($$('IO'), 'SEEK_SET'), ($ret_or_1 = whence))) {
23871 } else if ($eqeqeq($$$($$('IO'), 'SEEK_CUR'), $ret_or_1)) {
23877 } else if ($eqeqeq($$$($$('IO'), 'SEEK_END'), $ret_or_1)) {