/third_party/typescript/tests/baselines/reference/ |
D | superInStaticMembers1(target=es2021).js | 501 var _a, _b; variable 502 class C extends (_b = B) { 508 Reflect.get(_b, "w", _a).call(_a); 512 Reflect.get(_b, "w", _a).call(_a); 516 Reflect.get(_b, "w", _a).call(_a); 521 Reflect.get(_b, "w", _a).call(_a); 525 Reflect.get(_b, "w", _a).call(_a); 531 Reflect.get(_b, "w", _a).call(_a); 534 Reflect.get(_b, "w", _a).call(_a); 537 Reflect.get(_b, "w", _a).call(_a); [all …]
|
D | superInStaticMembers1(target=es2015).js | 501 var _a, _b; variable 502 class C extends (_b = B) { 508 Reflect.get(_b, "w", _a).call(_a); 512 Reflect.get(_b, "w", _a).call(_a); 516 Reflect.get(_b, "w", _a).call(_a); 521 Reflect.get(_b, "w", _a).call(_a); 525 Reflect.get(_b, "w", _a).call(_a); 531 Reflect.get(_b, "w", _a).call(_a); 534 Reflect.get(_b, "w", _a).call(_a); 537 Reflect.get(_b, "w", _a).call(_a); [all …]
|
D | destructuringWithLiteralInitializers2.js | 37 var _b = _a === void 0 ? [] : _a, x = _b[0], y = _b[1]; 40 var _b = _a === void 0 ? [1] : _a, x = _b[0], y = _b[1]; 43 var _b = _a === void 0 ? [1, 'foo'] : _a, x = _b[0], y = _b[1]; 46 var _b = _a[0], x = _b === void 0 ? 0 : _b, y = _a[1]; 49 var _b = _a === void 0 ? [] : _a, _c = _b[0], x = _c === void 0 ? 0 : _c, y = _b[1]; 52 var _b = _a === void 0 ? [1] : _a, _c = _b[0], x = _c === void 0 ? 0 : _c, y = _b[1]; 55 var _b = _a === void 0 ? [1, 'foo'] : _a, _c = _b[0], x = _c === void 0 ? 0 : _c, y = _b[1]; 58 var _b = _a[0], x = _b === void 0 ? 0 : _b, _c = _a[1], y = _c === void 0 ? 'bar' : _c; 61 …var _b = _a === void 0 ? [] : _a, _c = _b[0], x = _c === void 0 ? 0 : _c, _d = _b[1], y = _d === v… 64 …var _b = _a === void 0 ? [1] : _a, _c = _b[0], x = _c === void 0 ? 0 : _c, _d = _b[1], y = _d === … [all …]
|
D | privateNameStaticFieldDestructuredBinding(target=es2015).js | 34 var _b, _A_field; variable 46 …({ x: ({ set value(_b) { __classPrivateFieldSet(A, _b, _b, "f", _A_field); } }).value, y } = this.… argument 47 …([({ set value(_b) { __classPrivateFieldSet(A, _b, _b, "f", _A_field); } }).value, y] = this.testA… argument 48 …: ({ set value(_b) { __classPrivateFieldSet(A, _b, _b, "f", _A_field); } }).value, b: [({ set valu… argument 49 …[({ set value(_b) { __classPrivateFieldSet(A, _b, _b, "f", _A_field); } }).value, [({ set value(_b… argument 50 …({ set value(_b) { __classPrivateFieldSet(A, _b, _b, "f", _A_field); } }).value = 1, b: [({ set va… argument 51 [({ set value(_b) { __classPrivateFieldSet(A, _b, _b, "f", _A_field); } }).value = 2] = []; argument 52 …_c = this.otherClass, [({ set value(_b) { __classPrivateFieldSet(_c, _b, _b, "f", _A_field); } }).… argument 55 [({ set value(_c) { __classPrivateFieldSet(_a, _b, _c, "f", _A_field); } }).value] = [2]; 58 _b = A;
|
D | es5-asyncFunctionBinaryExpressions.js | 141 return __generator(this, function (_b) { argument 142 switch (_b.label) { 147 _a + (_b.sent()); 168 return __generator(this, function (_b) { argument 169 switch (_b.label) { 175 _a = (_b.sent()); 176 _b.label = 2; 199 return __generator(this, function (_b) { argument 200 switch (_b.label) { 205 _a.a = _b.sent(); [all …]
|
D | shorthandPropertyAssignmentsInDestructuring.js | 122 for (var _i = 0, _b = [{ s0: 1 }]; _i < _b.length; _i++) { 123 _a = _b[_i].s0, s0 = _a === void 0 ? 5 : _a; 129 for (var _i = 0, _b = [{ s0: 1 }]; _i < _b.length; _i++) { 130 _a = _b[_i].s0, s0 = _a === void 0 ? 5 : _a; 136 for (var _i = 0, _b = [{}]; _i < _b.length; _i++) { 137 _a = _b[_i].s1, s1 = _a === void 0 ? 5 : _a; 143 for (var _i = 0, _b = [{}]; _i < _b.length; _i++) { 144 _a = _b[_i].s1, s1 = _a === void 0 ? 5 : _a; 150 for (var _i = 0, _b = [{ s2: "" }]; _i < _b.length; _i++) { 151 _a = _b[_i].s2, s2 = _a === void 0 ? 5 : _a; [all …]
|
D | es5-yieldFunctionObjectLiterals.js | 70 return __generator(this, function (_b) { argument 71 switch (_b.label) { 78 x = (_a.b = _b.sent(), 87 var _b; 91 _b = { 97 x = (_b[_a] = _c.sent(), 98 _b.c = 3, 99 _b); 106 var _b; 115 x = (_b = (_a.b = _c.sent(), [all …]
|
D | destructuringParameterDeclaration1ES5iterable.js | 122 …var _b = __read(_a, 3), a = _b[0], b = _b[1], _c = __read(_b[2], 1), _d = __read(_c[0], 1), c = _d… 126 …var j = _a.j, k = _a.k, _b = _a.l, m = _b.m, n = _b.n, _c = __read(_a.q, 3), a = _c[0], b = _c[1],… 146 var _b = _a === void 0 ? { z: { x: "hi", y: { j: 1 } } } : _a, _c = _b.z, x = _c.x, j = _c.y.j; 149 …var _b = _a === void 0 ? [undefined, null, undefined] : _a, _c = __read(_b, 3), a = _c[0], z = _c[… 152 …var _b = _a === void 0 ? [[undefined], undefined, [[undefined, undefined]]] : _a, _c = __read(_b, … 165 var _b = _a.z, x = _b.x, j = _b.y.j; 168 var _b = _a === void 0 ? { z: 10 } : _a, z = _b.z; 171 var _b = _a.z, z = _b === void 0 ? 10 : _b; 174 var _b = _a === void 0 ? { b: "hello" } : _a, b = _b.b; 177 …var _b = __read(_a, 3), a = _b[0], b = _b[1], _c = __read(_b[2], 1), _d = __read(_c[0], 1), c = _d… [all …]
|
D | thisAndSuperInStaticMembers2(target=es2015).js | 55 var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p; property in C 65 _b = C; 67 C.y1 = _b.x; 68 C.y2 = _b.x(); 69 C.y3 = _b === null || _b === void 0 ? void 0 : _b.x(); 70 C.y4 = _b[("x")](); 71 C.y5 = _b === null || _b === void 0 ? void 0 : _b[("x")](); 72 C.z1 = Reflect.get(_c, "a", _b); 73 C.z2 = Reflect.get(_c, "a", _b); 74 C.z3 = Reflect.get(_c, "f", _b).call(_b); [all …]
|
D | es5-asyncFunctionForOfStatements.js | 96 return __generator(this, function (_b) { argument 97 switch (_b.label) { 102 _a = _b.sent(); 103 _b.label = 2; 108 _b.label = 3; 166 return __generator(this, function (_b) { argument 167 switch (_b.label) { 172 _a = _b.sent(); 173 _b.label = 2; 178 _b.label = 3; [all …]
|
D | es5-asyncFunctionForInStatements.js | 53 var _a, _b, _c, _i; 59 _b = []; 61 _b.push(_c); 65 if (!(_i < _b.length)) return [3 /*break*/, 4]; 66 _c = _b[_i]; 81 var _a, _b, _c, _i; 86 _b = []; 88 _b.push(_c); 92 if (!(_i < _b.length)) return [3 /*break*/, 4]; 93 _c = _b[_i]; [all …]
|
D | thisAndSuperInStaticMembers1(target=es2015).js | 55 var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p; property in C 80 _b = C; 91 value: _b.x 97 value: _b.x() 103 value: _b === null || _b === void 0 ? void 0 : _b.x() 109 value: _b[("x")]() 115 value: _b === null || _b === void 0 ? void 0 : _b[("x")]() 121 value: Reflect.get(_c, "a", _b) 127 value: Reflect.get(_c, "a", _b) 133 value: Reflect.get(_c, "f", _b).call(_b) [all …]
|
D | destructuringWithLiteralInitializers.js | 77 var x = _a.x, _b = _a.y, y = _b === void 0 ? 0 : _b; 83 var _b = _a.x, x = _b === void 0 ? 0 : _b, _c = _a.y, y = _c === void 0 ? 0 : _c; 91 var _b = _a === void 0 ? { x: 0, y: 0 } : _a, x = _b.x, y = _b.y; 97 var _b = _a === void 0 ? { x: 0 } : _a, x = _b.x, _c = _b.y, y = _c === void 0 ? 0 : _c; 104 …var _b = _a === void 0 ? {} : _a, _c = _b.x, x = _c === void 0 ? 0 : _c, _d = _b.y, y = _d === voi… 113 …var _b = _a === void 0 ? { a: {} } : _a, _c = _b.a, _d = _c.x, x = _d === void 0 ? 0 : _d, _e = _c… 127 var _b = _a[0], x = _b === void 0 ? 0 : _b, _c = _a[1], y = _c === void 0 ? 0 : _c; 132 var _b = _a === void 0 ? [0, 0] : _a, x = _b[0], y = _b[1]; 138 var _b = _a === void 0 ? [0] : _a, x = _b[0], _c = _b[1], y = _c === void 0 ? 0 : _c; 144 …var _b = _a === void 0 ? [] : _a, _c = _b[0], x = _c === void 0 ? 0 : _c, _d = _b[1], y = _d === v…
|
D | es5-asyncFunctionObjectLiterals.js | 57 return __generator(this, function (_b) { argument 58 switch (_b.label) { 63 x = (_a.a = _b.sent(), 74 return __generator(this, function (_b) { argument 75 switch (_b.label) { 82 x = (_a.b = _b.sent(), 92 return __generator(this, function (_b) { argument 93 switch (_b.label) { 98 x = (_a[_b.sent()] = y, 109 var _b; [all …]
|
D | destructuringParameterDeclaration1ES5.js | 110 … var j = _a.j, k = _a.k, _b = _a.l, m = _b.m, n = _b.n, _c = _a.q, a = _c[0], b = _c[1], c = _c[2]; 130 var _b = _a === void 0 ? { z: { x: "hi", y: { j: 1 } } } : _a, _c = _b.z, x = _c.x, j = _c.y.j; 133 var _b = _a === void 0 ? [undefined, null, undefined] : _a, a = _b[0], z = _b[1], y = _b[2]; 136 …var _b = _a === void 0 ? [[undefined], undefined, [[undefined, undefined]]] : _a, a = _b[0][0], b … 149 var _b = _a.z, x = _b.x, j = _b.y.j; 152 var _b = _a === void 0 ? { z: 10 } : _a, z = _b.z; 155 var _b = _a.z, z = _b === void 0 ? 10 : _b; 158 var _b = _a === void 0 ? { b: "hello" } : _a, b = _b.b; 164 var a = _a[0], b = _a[1], _b = _a[2][0][0], c = _b === void 0 ? 1 : _b; 206 var _b = _a === void 0 ? { x: 1, y: 2 } : _a, x = _b.x, y = _b.y; [all …]
|
D | es5-asyncFunctionNewExpressions.js | 116 return __generator(this, function (_b) { argument 117 switch (_b.label) { 122 new (_a.apply(x, [void 0, _b.sent(), z]))(); 130 var _a, _b; 135 _b = [void 0, y]; 138 new (_a.apply(x, _b.concat([_c.sent()])))(); 159 return __generator(this, function (_b) { argument 160 switch (_b.label) { 163 …new ((_a = (_b.sent())).bind.apply(_a, __spreadArray(__spreadArray([void 0], y, false), [z], false… 171 var _a, _b, _c, _d; [all …]
|
D | es5-asyncFunctionSwitchStatements.js | 108 return __generator(this, function (_b) { argument 109 switch (_b.label) { 115 case _b.sent(): return [3 /*break*/, 2]; 132 return __generator(this, function (_b) { argument 133 switch (_b.label) { 142 _b.sent(); 155 return __generator(this, function (_b) { argument 156 switch (_b.label) { 168 _b.sent(); 178 return __generator(this, function (_b) { argument [all …]
|
D | es5-asyncFunctionCallExpressions.js | 117 return __generator(this, function (_b) { argument 118 switch (_b.label) { 123 _a.apply(void 0, [_b.sent(), z]); 131 var _a, _b; 136 _b = [y]; 139 _a.apply(void 0, _b.concat([_c.sent()])); 171 var _a, _b, _c, _d; 175 _b = (_a = x).apply; 180 …_b.apply(_a, _c.concat([__spreadArray.apply(void 0, [__spreadArray.apply(void 0, _d.concat([(_e.se… 188 var _a, _b, _c, _d; [all …]
|
D | declarationsAndAssignments.js | 193 var _b = [1, "hello"], x = _b[0], y = _b[1]; 212 var _b = { x: 5, y: "hello" }, x = _b.x, y = _b.y; variable 222 var _a = [1, ["hello", [true]]], x = _a[0], _b = _a[1], y = _b[0], z = _b[1][0]; 228 var _a = { a: 1, b: { a: "hello", b: { a: true } } }, x = _a.a, _b = _a.b, y = _b.a, z = _b.b.a; 234 …var _a = [1, "hello"], _b = _a[0], x = _b === void 0 ? 0 : _b, _c = _a[1], y = _c === void 0 ? "" … 239 …var _a = [1, "hello"], _b = _a[0], x = _b === void 0 ? 0 : _b, _c = _a[1], y = _c === void 0 ? 1 :… 245 var _b = [1], d = _b[0], e = _b[1], f = _b[2]; // Error, [1] is a tuple 249 var _b = { 0: 10, 1: 20 }, c = _b[0], d = _b[1]; // Error, not array type variable 254 var _b = [], a = _b.a, b = _b.b; // Error 258 var _b = { 0: 10, 1: "hello" }, a = _b[0], b = _b[1]; variable [all …]
|
D | contextuallyTypedBindingInitializer.js | 34 var _b = _a.show, show = _b === void 0 ? function (v) { return v.toString(); } : _b; 37 var _b = _a["show"], showRename = _b === void 0 ? function (v) { return v.toString(); } : _b; 40 var _b = _a["show"], showRename = _b === void 0 ? function (v) { return v.toString(); } : _b; 43 … var _b = _a.nested, nested = _b === void 0 ? { show: function (v) { return v.toString(); } } : _b; 46 var _b = _a.prop, prop = _b === void 0 ? ["hello", 1234] : _b; 49 var _b = _a.prop, prop = _b === void 0 ? "foo" : _b;
|
D | contextuallyTypedBindingInitializerNegative.js | 32 var _b = _a.show, showRename = _b === void 0 ? function (v) { return v; } : _b; 35 var _b = _a["show"], showRename = _b === void 0 ? function (v) { return v; } : _b; 38 var _b = _a["show"], showRename = _b === void 0 ? function (v) { return v; } : _b; 41 var _b = _a.nested, nestedRename = _b === void 0 ? { show: function (v) { return v; } } : _b; 45 var _b = _a.prop, prop = _b === void 0 ? [101, 1234] : _b; 48 var _b = _a.prop, prop = _b === void 0 ? "baz" : _b;
|
D | destructuringParameterDeclaration2.js | 86 var _b = _a === void 0 ? [undefined, null, undefined] : _a, a = _b[0], z = _b[1], y = _b[2]; 89 …var _b = _a === void 0 ? [[undefined], undefined, [[undefined, undefined]]] : _a, a = _b[0][0], b … 94 var _b = _a.z, x = _b.x, j = _b.y.j; 97 var _b = _a === void 0 ? { z: 10 } : _a, z = _b.z; 100 var _b = _a.z, z = _b === void 0 ? 10 : _b; 103 var _b = _a === void 0 ? { b: "hello" } : _a, b = _b.b; 112 var a = _a[0], b = _a[1], _b = _a[2][0][0], c = _b === void 0 ? 1 : _b; 148 var _b = _a.x, number = _b[0], number = _b[1], number = _b[2];
|
D | optionalParameterInDestructuringWithInitializer.js | 65 var _b = _a === void 0 ? { a: 1, b: 2 } : _a, a = _b.a, b = _b.b; 70 var _b = _a === void 0 ? { a: 1, b: 2 } : _a, a = _b.a, _c = _b.b, b = _c === void 0 ? 3 : _c; 75 var _b = _a === void 0 ? { a: 1 } : _a, a = _b.a, b = _b.b; 80 …var _b = _a === void 0 ? { a: { b: 1, c: 2 }, d: 3 } : _a, _c = _b.a, b = _c.b, c = _c.c, d = _b.d; 85 …var _b = _a === void 0 ? { a: { b: 1, c: 2 }, d: 3 } : _a, _c = _b.a, b = _c.b, _d = _c.c, c = _d … 90 …var _b = _a === void 0 ? { a: { b: 1, c: 2 }, d: 3 } : _a, _c = _b.a, _d = _c === void 0 ? { b: 4,… 95 …_b = _a === void 0 ? { a: { b: 1, c: 2 }, d: 3 } : _a, _c = _b.a, _d = _c === void 0 ? { b: 4, c: … 100 var _b = _a === void 0 ? {} : _a, bar = _b.bar; 105 var _b = _a === void 0 ? {} : _a, _c = _b.bar, bar = _c === void 0 ? null : _c;
|
D | es5-asyncFunctionArrayLiterals.js | 52 return __generator(this, function (_b) { argument 53 switch (_b.label) { 58 x = _a.concat([_b.sent()]); 67 return __generator(this, function (_b) { argument 68 switch (_b.label) { 73 …x = __spreadArray.apply(void 0, [__spreadArray.apply(void 0, _a.concat([(_b.sent()), true])), [z],… 82 return __generator(this, function (_b) { argument 83 switch (_b.label) { 88 x = __spreadArray.apply(void 0, _a.concat([[_b.sent()], false])); 109 return __generator(this, function (_b) { argument [all …]
|
D | genericObjectRest.js | 51 let _a = obj, _b = a, a5 = _a[_b], r5 = __rest(_a, [typeof _b === "symbol" ? _b : _b + ""]); 56 …let _a = obj, _b = sa, a1 = _a[_b], _c = sb, b1 = _a[_c], r1 = __rest(_a, [typeof _b === "symbol" … 59 …let _a = obj, _b = k1, a1 = _a[_b], _c = k2, a2 = _a[_c], r1 = __rest(_a, [typeof _b === "symbol" … 62 …let _a = obj, _b = k1, a1 = _a[_b], _c = k2, a2 = _a[_c], r1 = __rest(_a, [typeof _b === "symbol" …
|