Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | 41x 41x 41x 41x 21x 21x 41x 41x 41x 41x 5x 5x 41x 41x 4x 4x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 1382x 1382x 41x | // Copyright (c) ZeroC, Inc. export class Object { ice_isA(s) { return this._iceMostDerivedType()._iceIds.indexOf(s) >= 0; } ice_ping() {} ice_ids() { return this._iceMostDerivedType()._iceIds; } ice_id() { return this._iceMostDerivedType()._iceId; } toString() { return "[object " + this.ice_id() + "]"; } // // _iceMostDerivedType returns the most derived Ice generated class. This is // necessary because the user might extend Slice generated classes. The user // class extensions don't have _iceId, _iceIds, etc static members so the implementation // of ice_id and ice_ids would fail trying to access those members of the user // defined class. Instead, ice_id, ice_ids and ice_instanceof call _iceMostDerivedType // to get the most derived Ice class. // _iceMostDerivedType() { return Object; } // // The default implementation of equals compare references. // equals(other) { return this === other; } static get _iceImplements() { return []; } } |