Home
last modified time | relevance | path

Searched refs:WeakSet (Results 1 – 25 of 121) sorted by relevance

12345

/third_party/jerryscript/tests/jerry/es2015/
Dweakset.js16 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 …]
Dnew-target-for-containers.js40 Reflect.construct (WeakSet, [], o);
68 Reflect.construct (WeakSet);
77 class MyWeakSet extends WeakSet {};
/third_party/typescript/tests/baselines/reference/
DprivateNameDuplicateField.js428 _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 …]
DforwardDeclaredCommonTypes01.types7 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
DforwardDeclaredCommonTypes01.symbols23 interface WeakSet<T extends object> {}
24 >WeakSet : Symbol(WeakSet, Decl(forwardDeclaredCommonTypes01.ts, 4, 19))
33 new WeakSet;
DforwardDeclaredCommonTypes01.js7 interface WeakSet<T extends object> {}
15 new WeakSet;
27 new WeakSet;
DprivateNameWeakMapCollision.symbols8 let WeakSet;
9 >WeakSet : Symbol(WeakSet, Decl(privateNameWeakMapCollision.ts, 2, 7))
DdidYouMeanSuggestionErrors.types24 …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
DextendingSetWithCheckJs.types13 class MyWeakSet extends WeakSet {
15 >WeakSet : WeakSet<object>
DprivateNameWeakMapCollision.errors.txt2 …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.
DprivateNameWeakMapCollision.js4 let WeakSet;
15 let WeakSet;
DprivateNameWeakMapCollision.types8 let WeakSet;
9 >WeakSet : any
DextendingSetWithCheckJs.symbols12 class MyWeakSet extends WeakSet {
14 >WeakSet : Symbol(WeakSet, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.t…
DprivateNameNestedClassAccessorsShadowing.js42 … _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; };
DprivateNameNestedClassMethodShadowing.js42 _Derived_instances = new WeakSet(), _Derived_x = function _Derived_x() { };
45 _Base_instances = new WeakSet(), _Base_x = function _Base_x() { };
DdidYouMeanSuggestionErrors.js20 const d = new WeakSet();
47 var d = new WeakSet();
DforwardDeclaredCommonTypes01.errors.txt7 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…
DprivateNamesUseBeforeDef.js44 _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…
DprivateNameNestedMethodAccess.js55 _D_instances = new WeakSet(),
60 _C_foo = new WeakMap(), _C_instances = new WeakSet(), _C_bar = function _C_bar() { __classPrivateFi…
/third_party/python/Lib/test/
Dtest_weakset.py2 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.py1 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/
Des2015.collection.d.ts110 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/
Dlib.es2015.collection.d.ts130 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/
DforwardDeclaredCommonTypes01.ts9 interface WeakSet<T extends object> {} interface
17 new WeakSet;
/third_party/node/lib/internal/
Dfreeze_intrinsics.js119 WeakSet,
308 WeakSet, // 24.4
371 const frozenSet = new WeakSet();

12345