Home
last modified time | relevance | path

Searched refs:_b (Results 1 – 25 of 532) sorted by relevance

12345678910>>...22

/third_party/typescript/tests/baselines/reference/
DdestructuringWithLiteralInitializers2.js37 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 …]
Des5-asyncFunctionBinaryExpressions.js141 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 …]
DshorthandPropertyAssignmentsInDestructuring.js122 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 …]
Des5-yieldFunctionObjectLiterals.js70 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 …]
DdestructuringParameterDeclaration1ES5iterable.js122 …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 …]
Des5-asyncFunctionForOfStatements.js96 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 …]
DdestructuringWithLiteralInitializers.js77 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…
Des5-asyncFunctionObjectLiterals.js57 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 …]
DdestructuringParameterDeclaration1ES5.js110 … 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 …]
Des5-asyncFunctionNewExpressions.js116 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), [z])))();
171 var _a, _b, _c, _d;
[all …]
Des5-asyncFunctionSwitchStatements.js108 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 …]
Des5-asyncFunctionCallExpressions.js117 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 …]
DdeclarationsAndAssignments.js193 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 …]
DcontextuallyTypedBindingInitializerNegative.js32 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;
DcontextuallyTypedBindingInitializer.js34 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;
DdestructuringParameterDeclaration2.js86 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];
DoptionalParameterInDestructuringWithInitializer.js65 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;
Des5-asyncFunctionArrayLiterals.js52 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())])), [z]]);
82 return __generator(this, function (_b) { argument
83 switch (_b.label) {
88 x = __spreadArray.apply(void 0, _a.concat([[_b.sent()]]));
109 return __generator(this, function (_b) { argument
[all …]
DgenericObjectRest.js51 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" …
Des5-asyncFunctionForInStatements.js53 var _a, _b, _i;
60 for (_b in _c.sent())
61 _a.push(_b);
79 var _a, _b, _i;
84 for (_b in y)
85 _a.push(_b);
105 var _a, _b, _i;
110 for (_b in y)
111 _a.push(_b);
131 var _a, _b, _i;
[all …]
Des5-asyncFunctionWithStatements.js48 return __generator(this, function (_b) { argument
49 switch (_b.label) {
52 _a = _b.sent();
53 _b.label = 2;
58 _b.label = 3;
67 return __generator(this, function (_b) { argument
68 switch (_b.label) {
71 _b.label = 1;
78 _b.sent();
81 _b.label = 3;
[all …]
DdeclarationEmitDestructuring2.js9 …var _b = _a === void 0 ? { x: 10, y: [2, 4, 6, 8] } : _a, _c = _b.x, x = _c === void 0 ? 10 : _c, …
12 var _b = _a === void 0 ? [1, 2, 3, 4] : _a, a = _b[0], b = _b[1], c = _b[2], d = _b[3];
15 …[1][0], c = _a[2][0][0], _b = _a[3], _c = _b.x, x = _c === void 0 ? 10 : _c, _d = _b.y, a = _d[0],…
18 …][0], c = _a[2][0][0], _b = _a[3], _c = _b.x, x = _c === void 0 ? 10 : _c, _d = _b.y, y = _d === v…
DdestructuringParameterDeclaration7ES5.js17 function foo(_a, _b) {
18 var foo = _b.foo, bar = _b.bar;
20 function baz(_a, _b) {
21 var foo = _b.foo, bar = _b.bar;
23 function one(_a, _b) { }
24 function two(_a, _b) {
25 var a = _b[0], b = _b[1], c = _b[2];
DunusedVariablesWithUnderscoreInBindingElement.js96 var _b = [1, 2], a2 = _b[0], _b2 = _b[1];
102 var _b = [1, 2], a2 = _b[0], _b2 = _b[1];
106 …var _a = [1, [[2, 3]], 4, 5], _a1 = _a[0], _b = _a[1][0], _b1 = _b[0], c1 = _b[1], d1 = _a[2], _e1…
114 var _b = { a2: 1, b2: 1 }, a2 = _b.a2, _b2 = _b.b2; variable
120 var _b = { a2: 1, b2: 1 }, a2 = _b.a2, _b2 = _b.b2; variable
124 …: { b111: 1, b112: 1 } }, c1: 1, d1: 1 }, _a1 = _a.a1, _b = _a.b1.b11, _b111 = _b.b111, b112 = _b.…
133 var _b = { a2: 1, b2: 1 }, _a2 = _b.a2, _b2 = _b.b2; variable
Des5-asyncFunctionLongObjectLiteral.js71 return __generator(this, function (_b) { argument
72 switch (_b.label) {
77 _a.a = _b.sent();
80 _a.b = _b.sent();
83 _a.c = _b.sent();
86 _a.d = _b.sent();
88 case 5: return [2 /*return*/, (_a.e = _b.sent(),
95 return __generator(this, function (_b) { argument
96 switch (_b.label) {
101 _a.a = _b.sent();
[all …]

12345678910>>...22