Lines Matching refs:nesting
311 function const_lookup_nesting(nesting, name) { argument
314 if (nesting.length === 0) return;
318 for (i = 0, ii = nesting.length; i < ii; i++) {
319 constant = nesting[i].$$const[name];
322 } else if (nesting[i].$$autoload && nesting[i].$$autoload[name]) {
323 return handle_autoload(nesting[i], name);
417 Opal.const_get_relative = function(nesting, name, skip_missing) { argument
418 var cref = nesting[0], result, current_version = Opal.const_cache_version, cache, cached;
420 if ((cache = nesting.$$const_cache) == null) {
421 $prop(nesting, '$$const_cache', Object.create(null));
422 cache = nesting.$$const_cache;
428 ((result = const_lookup_nesting(nesting, name)) != null) ||
530 Opal.const_get_relative_factory = function(nesting) { argument
532 return Opal.$$(nesting, name, skip_missing);
3629 var nesting = (self.$$nesting || []).concat($Object),
3633 for(i = 0, ii = nesting.length; i < ii; i++) {
3634 for (constant in nesting[i].$$const) {