Lines Matching refs:nesting

304   // - nesting: the namespaces wrapping the current scope, e.g. nesting inside
317 // Walk up the nesting array looking for the constant
318 function const_lookup_nesting(nesting, name) {
321 if (nesting.length === 0) return;
323 // If the nesting is not empty the constant is looked up in its elements
325 for (i = 0, ii = nesting.length; i < ii; i++) {
326 constant = nesting[i].$$const[name];
329 } else if (nesting[i].$$autoload && nesting[i].$$autoload[name]) {
330 return handle_autoload(nesting[i], name);
422 // Look for the constant in the open using the current nesting and the nearest
424 Opal.const_get_relative = function(nesting, name, skip_missing) {
425 var cref = nesting[0], result, current_version = Opal.const_cache_version, cache, cached;
427 if ((cache = nesting.$$const_cache) == null) {
428 $prop(nesting, '$$const_cache', Object.create(null));
429 cache = nesting.$$const_cache;
435 ((result = const_lookup_nesting(nesting, name)) != null) ||
536 Opal.const_get_relative_factory = function(nesting) {
538 return Opal.$$(nesting, name, skip_missing);
3245 …send2 = Opal.send2, $find_super = Opal.find_super, $alias = Opal.alias, $nesting = [], nil = Opal.…
3252 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
3587 var nesting = (self.$$nesting || []).concat($Object),
3591 for(i = 0, ii = nesting.length; i < ii; i++) {
3592 for (constant in nesting[i].$$const) {
3601 $defs(self, '$nesting', function $$nesting() {
3604 return self.$$nesting || [];
4077 consts = (Opal.Module.$$nesting = $nesting, self.$constants());
4165 })('::', null, $nesting);
4188 …ind_super, $Kernel = Opal.Kernel, $alias = Opal.alias, self = Opal.top, $nesting = [], nil = Opal.…
4196 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
4313 })('::', null, $nesting);
4513 …rb_lt, $Object = Opal.Object, $alias = Opal.alias, $klass = Opal.klass, $nesting = [], nil = Opal.…
4520 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
5522 })('::', $nesting);
5621 …nd2 = Opal.send2, $find_super = Opal.find_super, $module = Opal.module, $nesting = [], nil = Opal.…
5628 … var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $proto = self.$$prototype;
5869 })('::', Error, $nesting);
6025 var $nesting = [self].concat($parent_nesting);
6027 return ($klass($nesting[0], null, 'Error'), nil)
6028 })('::', $nesting);
6429 …pal.eqeqeq, $rb_minus = Opal.rb_minus, $return_ivar = Opal.return_ivar, $nesting = [], nil = Opal.…
6437 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
6445 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
6555 })(Opal.get_singleton_class(self), $nesting);
6777 })('::', RegExp, $nesting);
6781 … var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $proto = self.$$prototype;
6990 })($nesting[0], null, $nesting);
6994 …Opal.alias, $const_set = Opal.const_set, self = Opal.top, $nesting = [], $$ = Opal.$r($nesting), n…
7003 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
9051 })('::', String, $nesting);
9052 return $const_set($nesting[0], 'Symbol', $$('String'));
9056 …pal.hash2, $lambda = Opal.lambda, $not = Opal.not, $alias = Opal.alias, $nesting = [], nil = Opal.…
9062 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
10674 })('::', $nesting)
10678 …imes = Opal.rb_times, $rb_divide = Opal.rb_divide, $alias = Opal.alias, $nesting = [], nil = Opal.…
10684 var $nesting = [self].concat($parent_nesting);
10689 … var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $proto = self.$$prototype;
10867 })(self, self, $nesting)
10868 })('::', null, $nesting)
10966 …= Opal.Kernel, $def = Opal.def, $slice = Opal.slice, $send = Opal.send, $nesting = [], nil = Opal.…
10972 var $nesting = [self].concat($parent_nesting);
10977 … var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $proto = self.$$prototype;
11015 })($nesting[0], null, $nesting)
11016 })($nesting[0], null, $nesting)
11020 …t, $eqeqeq = Opal.eqeqeq, $rb_plus = Opal.rb_plus, $alias = Opal.alias, $nesting = [], nil = Opal.…
11026 var $nesting = [self].concat($parent_nesting);
11031 … var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $proto = self.$$prototype;
11343 })(self, self, $nesting)
11344 })('::', null, $nesting)
11348 … = Opal.def, $slice = Opal.slice, $send = Opal.send, $to_a = Opal.to_a, $nesting = [], nil = Opal.…
11354 var $nesting = [self].concat($parent_nesting);
11405 })($nesting[0], null)
11406 })($nesting[0], null, $nesting)
11410 …Opal.Kernel, $rb_le = Opal.rb_le, $alias = Opal.alias, self = Opal.top, $nesting = [], nil = Opal.…
11418 … var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $proto = self.$$prototype;
11611 })('::', null, $nesting);
12040 …return_self, $neqeq = Opal.neqeq, $alias = Opal.alias, self = Opal.top, $nesting = [], nil = Opal.…
12049 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
14731 })('::', Array, $nesting);
14735 … $return_self = Opal.return_self, $alias = Opal.alias, self = Opal.top, $nesting = [], nil = Opal.…
14743 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
16134 })('::', null, $nesting);
16138 …rn_val = Opal.return_val, $const_set = Opal.const_set, self = Opal.top, $nesting = [], nil = Opal.…
17143 var $nesting = [self].concat($parent_nesting);
17149 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
17176 })(Opal.get_singleton_class(self), $nesting);
17179 })('::', $$$('Numeric'), $nesting);
17212 …l.rb_ge, $thrower = Opal.thrower, $alias = Opal.alias, self = Opal.top, $nesting = [], nil = Opal.…
17220 … var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $proto = self.$$prototype;
17567 })('::', null, $nesting);
18413 …var $module = Opal.module, $const_set = Opal.const_set, $nesting = []; Opal.nil; var $$$ = Opal.$$…
18419 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
18429 })($nesting[0], $nesting)
19019 …al = Opal.Opal, $rb_lt = Opal.rb_lt, $a, self = Opal.top, $nesting = [], $$ = Opal.$r($nesting), n…
19489 …us = Opal.rb_minus, $eqeqeq = Opal.eqeqeq, $rb_divide = Opal.rb_divide, $nesting = [], nil = Opal.…
19495 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
19786 })('::', $nesting)
19790 …var $module = Opal.module, $truthy = Opal.truthy, $def = Opal.def, $klass = Opal.klass, $nesting =…
19797 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
19808 })('::', $nesting);
19812 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
19819 })('::', null, $nesting);
19823 …val, $const_set = Opal.const_set, $alias = Opal.alias, self = Opal.top, $nesting = [], nil = Opal.…
19832 … var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $proto = self.$$prototype;
20150 $const_set($nesting[0], 'I', self.$new(0, 1));
20245 Opal.udef(self, '$' + "step"); return nil; })('::', $$$('Numeric'), $nesting);
20696 … = Opal.rb_le, $eqeq = Opal.eqeq, $alias = Opal.alias, self = Opal.top, $nesting = [], nil = Opal.…
20704 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
21533 })('::', Date, $nesting);
21537 …l.rb_ge, $rb_plus = Opal.rb_plus, $alias = Opal.alias, self = Opal.top, $nesting = [], nil = Opal.…
21545 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
21960 })('::', null, $nesting);
21964 …al.eqeq, $rb_lt = Opal.rb_lt, $rb_le = Opal.rb_le, $alias = Opal.alias, $nesting = [], nil = Opal.…
21970 …var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $ret_or_1 = nil, $proto = s…
22400 })('::', null, $nesting)
22448 …pal.range, $send = Opal.send, $slice = Opal.slice, $alias = Opal.alias, $nesting = [], nil = Opal.…
22454 var $nesting = [self].concat($parent_nesting), windows_root_rx = nil;
22457 $const_set($nesting[0], 'Separator', $const_set($nesting[0], 'SEPARATOR', "/"));
22458 $const_set($nesting[0], 'ALT_SEPARATOR', nil);
22459 $const_set($nesting[0], 'PATH_SEPARATOR', ":");
22460 $const_set($nesting[0], 'FNM_SYSCASE', 0);
22463 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
22705 })(Opal.get_singleton_class(self), $nesting);
22706 })('::', $$$('IO'), $nesting)
22804 … $rb_divide = Opal.rb_divide, $Kernel = Opal.Kernel, $Opal = Opal.Opal, $nesting = [], nil = Opal.…
22810 var $nesting = [self].concat($parent_nesting);
22816 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
22957 })(self, $nesting);
22960 })('::', null, $nesting)
23187 …al.return_val, $alias = Opal.alias, $defs = Opal.defs, self = Opal.top, $nesting = [], nil = Opal.…
23294 $alias(self, "nesting", "public");
23322 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
23330 })('::', $nesting);
23376 … Opal.eqeq, $lambda = Opal.lambda, $send = Opal.send, $a, $nesting = [], $$ = Opal.$r($nesting), n…
23383 var $nesting = [self].concat($parent_nesting);
23385 return $const_set($nesting[0], 'VERSION', process.version)
23386 })($nesting[0], $nesting);
23388 $const_set($nesting[0], 'ARGV', process.argv.slice(2));
23417 …pal.range, $send = Opal.send, $slice = Opal.slice, $alias = Opal.alias, $nesting = [], nil = Opal.…
23423 var $nesting = [self].concat($parent_nesting), windows_root_rx = nil;
23426 $const_set($nesting[0], 'Separator', $const_set($nesting[0], 'SEPARATOR', "/"));
23427 $const_set($nesting[0], 'ALT_SEPARATOR', nil);
23428 $const_set($nesting[0], 'PATH_SEPARATOR', ":");
23429 $const_set($nesting[0], 'FNM_SYSCASE', 0);
23432 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
23674 })(Opal.get_singleton_class(self), $nesting);
23675 })('::', $$$('IO'), $nesting)
23679 …al.def, $assign_ivar = Opal.assign_ivar, self = Opal.top, $nesting = [], $$ = Opal.$r($nesting), n…
23792 … var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $proto = self.$$prototype;
23807 $const_set($nesting[0], 'ALT_SEPARATOR', __path__.sep);
24020 })($nesting[0], $$('IO'), $nesting);
24071 …Opal.truthy, $send = Opal.send, $Opal = Opal.Opal, $alias = Opal.alias, $nesting = [], nil = Opal.…
24077 var $nesting = [self].concat($parent_nesting);
24089 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
24144 })(Opal.get_singleton_class(self), $nesting);
24145 })($nesting[0], null, $nesting)
24149 … $alias = Opal.alias, $def = Opal.def, $defs = Opal.defs, self = Opal.top, $nesting = []; Opal.nil;
24172 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
24199 })($nesting[0], null, $nesting);
24203 …= Opal.thrower, $not = Opal.not, $alias = Opal.alias, $a, $nesting = [], $$ = Opal.$r($nesting), n…
24207 $const_set($nesting[0], 'ARGF', $$('Object').$new());
24209 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
24377 })(Opal.get_singleton_class($$('ARGF')), $nesting);
24382 var $module = Opal.module, $defs = Opal.defs, $nesting = [], nil = Opal.nil;
24414 })($nesting[0])
24550 …l.thrower, $alias = Opal.alias, $module = Opal.module, self = Opal.top, $nesting = [], nil = Opal.…
24558 … var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $proto = self.$$prototype;
24563 …$const_set($nesting[0], 'SEPARATOR_PAT', $regexp([$$('Regexp').$quote($$$($$('File'), 'SEPARATOR')…
24795 …$const_set($nesting[0], 'SAME_PATHS', ($truthy($$$($$('File'), 'FNM_SYSCASE')['$nonzero?']()) ? ($…
24854 })($nesting[0], null, $nesting);
24858 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
24864 })($nesting[0], $nesting);
24868 …ass, $def = Opal.def, $return_ivar = Opal.return_ivar, self = Opal.top, $nesting = [], nil = Opal.…
24876 … var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $proto = self.$$prototype;
24896 })($nesting[0], null, $nesting);
24900 … Opal.return_val, $send = Opal.send, $alias = Opal.alias, $nesting = [], $$ = Opal.$r($nesting), n…
24904 $const_set($nesting[0], 'ENV', $$('Object').$new());
24906 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
24979 })(Opal.get_singleton_class($$('ENV')), $nesting);
25130 …l.thrower, $alias = Opal.alias, $module = Opal.module, self = Opal.top, $nesting = [], nil = Opal.…
25138 … var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $proto = self.$$prototype;
25143 …$const_set($nesting[0], 'SEPARATOR_PAT', $regexp([$$('Regexp').$quote($$$($$('File'), 'SEPARATOR')…
25375 …$const_set($nesting[0], 'SAME_PATHS', ($truthy($$$($$('File'), 'FNM_SYSCASE')['$nonzero?']()) ? ($…
25434 })($nesting[0], null, $nesting);
25438 var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting);
25444 })($nesting[0], $nesting);
25448 …Opal.return_ivar, $eqeq = Opal.eqeq, $alias = Opal.alias, $nesting = [], $$ = Opal.$r($nesting), n…
25454 … var $nesting = [self].concat($parent_nesting), $$ = Opal.$r($nesting), $proto = self.$$prototype;
25571 })($nesting[0], $$('IO'), $nesting)