/third_party/jerryscript/tests/jerry/es2015/ |
D | weakset.js | 16 var m1 = new WeakSet(); 19 assert (m1.add (k1) instanceof WeakSet); 27 assert (m1.add (k1) instanceof WeakSet); 48 assert (m1.add (k1) instanceof WeakSet); 53 var m2 = new WeakSet(); 70 new WeakSet().add(new WeakSet().add(new WeakSet().add(new WeakSet().add(new WeakSet().add(new WeakS… 74 WeakSet(); 81 WeakSet.prototype.get.call({}); class 87 assert (new WeakSet(null) instanceof WeakSet); 91 m1 = new WeakSet([k1, k2]); [all …]
|
D | new-target-for-containers.js | 40 Reflect.construct (WeakSet, [], o); 68 Reflect.construct (WeakSet); 77 class MyWeakSet extends WeakSet {};
|
/third_party/typescript/tests/baselines/reference/ |
D | privateNameDuplicateField.js | 428 _A_Field_Method_foo = new WeakMap(), _A_Field_Method_instances = new WeakSet(); 437 _A_Field_Getter_foo = new WeakMap(), _A_Field_Getter_instances = new WeakSet(); 446 _A_Field_Setter_foo = new WeakMap(), _A_Field_Setter_instances = new WeakSet(); 487 _A_Method_Field_foo_1 = new WeakMap(), _A_Method_Field_instances = new WeakSet(); 496 _A_Method_Method_instances = new WeakSet(); 505 _A_Method_Getter_instances = new WeakSet(); 514 _A_Method_Setter_instances = new WeakSet(); 523 _a = A_Method_StaticField, _A_Method_StaticField_instances = new WeakSet(); 533 _b = A_Method_StaticMethod, _A_Method_StaticMethod_instances = new WeakSet(); 542 _c = A_Method_StaticGetter, _A_Method_StaticGetter_instances = new WeakSet(); [all …]
|
D | forwardDeclaredCommonTypes01.types | 7 interface WeakSet<T extends object> {} 10 …se; new Symbol; Symbol(); new Map; new WeakMap; new Set; new WeakSet;}) : () => void 11 …ise; new Symbol; Symbol(); new Map; new WeakMap; new Set; new WeakSet;} : () => void 35 new WeakSet; 36 >new WeakSet : any 37 >WeakSet : any
|
D | forwardDeclaredCommonTypes01.symbols | 23 interface WeakSet<T extends object> {} 24 >WeakSet : Symbol(WeakSet, Decl(forwardDeclaredCommonTypes01.ts, 4, 19)) 33 new WeakSet;
|
D | forwardDeclaredCommonTypes01.js | 7 interface WeakSet<T extends object> {} 15 new WeakSet; 27 new WeakSet;
|
D | privateNameWeakMapCollision.symbols | 8 let WeakSet; 9 >WeakSet : Symbol(WeakSet, Decl(privateNameWeakMapCollision.ts, 2, 7))
|
D | didYouMeanSuggestionErrors.types | 24 …onst b = new Set(); const c = new WeakMap(); const d = new WeakSet(); const e… 27 …onst b = new Set(); const c = new WeakMap(); const d = new WeakSet(); const e… 30 …onst b = new Set(); const c = new WeakMap(); const d = new WeakSet(); const e… 33 …onst b = new Set(); const c = new WeakMap(); const d = new WeakSet(); const e… 86 const d = new WeakSet(); 88 >new WeakSet() : any 89 >WeakSet : any
|
D | extendingSetWithCheckJs.types | 13 class MyWeakSet extends WeakSet { 15 >WeakSet : WeakSet<object>
|
D | privateNameWeakMapCollision.errors.txt | 2 …vateNameWeakMapCollision.ts(3,9): error TS18027: Compiler reserves name 'WeakSet' when emitting pr… 10 let WeakSet; 12 !!! error TS18027: Compiler reserves name 'WeakSet' when emitting private identifier downlevel.
|
D | privateNameWeakMapCollision.js | 4 let WeakSet; 15 let WeakSet;
|
D | privateNameWeakMapCollision.types | 8 let WeakSet; 9 >WeakSet : any
|
D | extendingSetWithCheckJs.symbols | 12 class MyWeakSet extends WeakSet { 14 >WeakSet : Symbol(WeakSet, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.t…
|
D | privateNameNestedClassAccessorsShadowing.js | 42 … _Derived_instances = new WeakSet(), _Derived_x_get = function _Derived_x_get() { return 1; }; 45 _Base_instances = new WeakSet(), _Base_x_get = function _Base_x_get() { return 1; };
|
D | privateNameNestedClassMethodShadowing.js | 42 _Derived_instances = new WeakSet(), _Derived_x = function _Derived_x() { }; 45 _Base_instances = new WeakSet(), _Base_x = function _Base_x() { };
|
D | didYouMeanSuggestionErrors.js | 20 const d = new WeakSet(); 47 var d = new WeakSet();
|
D | forwardDeclaredCommonTypes01.errors.txt | 7 tests/cases/compiler/forwardDeclaredCommonTypes01.ts(14,9): error TS2585: 'WeakSet' only refers to … 16 interface WeakSet<T extends object> {} 36 new WeakSet; 38 !!! error TS2585: 'WeakSet' only refers to a type, but is being used as a value here. Do you need t…
|
D | privateNamesUseBeforeDef.js | 44 _A2_foo = new WeakMap(), _A2_instances = new WeakSet(), _A2_bar = function _A2_bar() { return 3; }; 52 _A3_foo = new WeakMap(), _A3_instances = new WeakSet(), _A3_bar_get = function _A3_bar_get() { retu…
|
D | privateNameNestedMethodAccess.js | 55 _D_instances = new WeakSet(), 60 _C_foo = new WeakMap(), _C_instances = new WeakSet(), _C_bar = function _C_bar() { __classPrivateFi…
|
/third_party/python/Lib/test/ |
D | test_weakset.py | 2 from weakref import WeakSet 28 self.ab_weakset = WeakSet(self.ab_items) 29 self.abcde_weakset = WeakSet(self.abcde_items) 30 self.def_weakset = WeakSet(self.def_items) 32 self.s = WeakSet(self.items) 35 self.fs = WeakSet([self.obj]) 38 weaksetmethods = dir(WeakSet) 46 self.assertRaises(TypeError, WeakSet, [], 2) 69 self.assertEqual(self.s, WeakSet(self.items)) 70 self.assertEqual(type(u), WeakSet) [all …]
|
/third_party/python/Lib/ |
D | _py_abc.py | 1 from _weakrefset import WeakSet 48 cls._abc_registry = WeakSet() 49 cls._abc_cache = WeakSet() 50 cls._abc_negative_cache = WeakSet() 79 if isinstance(value, WeakSet): 118 cls._abc_negative_cache = WeakSet()
|
/third_party/typescript/src/lib/ |
D | es2015.collection.d.ts | 110 interface WeakSet<T extends object> { interface 127 new <T extends object = object>(values?: readonly T[] | null): WeakSet<T>; 128 readonly prototype: WeakSet<object>; 130 declare var WeakSet: WeakSetConstructor; variable
|
/third_party/typescript/lib/ |
D | lib.es2015.collection.d.ts | 130 interface WeakSet<T extends object> { interface 147 new <T extends object = object>(values?: readonly T[] | null): WeakSet<T>; 148 readonly prototype: WeakSet<object>; 150 declare var WeakSet: WeakSetConstructor; variable
|
/third_party/typescript/tests/cases/compiler/ |
D | forwardDeclaredCommonTypes01.ts | 9 interface WeakSet<T extends object> {} interface 17 new WeakSet;
|
/third_party/node/lib/internal/ |
D | freeze_intrinsics.js | 119 WeakSet, 308 WeakSet, // 24.4 371 const frozenSet = new WeakSet();
|