Lines Matching refs:jsid
220 body = object[$jsid(method)];
233 Opal.respond_to = function(obj, jsid, include_all) { argument
236 var body = obj[jsid];
243 return Opal.send(obj, obj['$respond_to_missing?'], [jsid.substr(1), include_all]);
246 return Opal.send(obj, obj['$respond_to?'], [jsid.substr(1), include_all]);
1510 stub = $jsid(stubs[i]), existing_method = proto[stub];
1599 var jsid = $jsid(mid), ancestors, super_method;
1613 if (proto.hasOwnProperty(jsid)) {
1614 super_method = proto[jsid];
1628 Opal.find_block_super = function(obj, jsid, current_func, defcheck, implicit) { argument
1629 var call_jsid = jsid;
1643 call_jsid = current_func.$$jsid;
1859 function $jsid(name) {
1862 Opal.jsid = $jsid;
1896 body = recv[$jsid(method)];
1943 if (typeof refine_module.$$prototype[$jsid(method)] !== 'undefined') {
1944 body = refine_module.$$prototype[$jsid(method)];
1994 // @param jsid [String] the JavaScript friendly method name (e.g. '$foo')
1999 Opal.def = function(obj, jsid, body, blockopts) { argument
2005 return Opal.defn(Opal.Object, jsid, body);
2009 return Opal.defn(obj, jsid, body);
2012 return Opal.defs(obj, jsid, body);
2017 Opal.defn = function(module, jsid, body) { argument
2020 body.displayName = jsid;
2023 var name = jsid.substr(1);
2029 $prop(proto, jsid, body);
2033 Opal.defs(module, jsid, body);
2038 $prop(iclass, jsid, body);
2054 Opal.defs = function(obj, jsid, body, blockopts) { argument
2060 return Opal.defn(Opal.get_singleton_class(obj), jsid, body);
2064 Opal.rdef = function(obj, jsid) { argument
2065 if (!$has_own(obj.$$prototype, jsid)) {
2066 $raise(Opal.NameError, "method '" + jsid.substr(1) + "' not defined in " + obj.$name());
2069 delete obj.$$prototype[jsid];
2073 obj.$$prototype.$singleton_method_removed(jsid.substr(1));
2078 obj.$method_removed(jsid.substr(1));
2084 Opal.udef = function(obj, jsid) { argument
2085 if (!obj.$$prototype[jsid] || obj.$$prototype[jsid].$$stub) {
2086 $raise(Opal.NameError, "method '" + jsid.substr(1) + "' not defined in " + obj.$name());
2089 Opal.add_stub_for(obj.$$prototype, jsid);
2093 obj.$$prototype.$singleton_method_undefined(jsid.substr(1));
2098 obj.$method_undefined(jsid.substr(1));
2108 var id = $jsid(name),
2109 old_id = $jsid(old),
2199 var id = $jsid(name),
3176 method = owner_class.$$prototype[Opal.jsid(method_name)];
3236 …Opal.deny_frozen_access, $freeze = Opal.freeze, $prop = Opal.prop, $jsid = Opal.jsid, $klass = Opa…
3364 $def(self, '$alias_native', function $$alias_native(mid, jsid) { argument
3368 if (jsid == null) jsid = mid;
3370 Opal.alias_native(self, mid, jsid);
3428 id = $jsid(name),
3457 id = $jsid(name + '='),
3706 var old_name = target.$$jsid;
3707 target.$$jsid = name;
3714 target.$$jsid = old_name;
3720 block.$$jsid = name;
3725 return Opal.defn(self, $jsid(name), block);
3816 var meth = self.$$prototype[$jsid(name)];
3925 var body = self.$$prototype[$jsid(method)];
3946 id = $jsid(meth),
4360 var func = self[Opal.jsid(symbol)];
4504 …_access, $freeze = Opal.freeze, $freeze_props = Opal.freeze_props, $jsid = Opal.jsid, $module = Op…
4554 var meth = self[$jsid(name)];
5334 var body = self[$jsid(name)];
6268 var body = self.$$class.$$prototype[Opal.jsid(method)];
6276 var body = self.$$class.$$prototype[Opal.jsid(method)];
8455 var self = this, method_name = nil, jsid = nil, proc = nil;
8460 jsid = Opal.jsid(method_name);
8475 var body = recv[jsid];