/third_party/typescript/tests/baselines/reference/ |
D | emitter.forAwait(target=es2017).js | 55 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 56 var m = o[Symbol.asyncIterator], i; 57 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 79 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 80 var m = o[Symbol.asyncIterator], i; 81 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 103 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 104 var m = o[Symbol.asyncIterator], i; 105 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 111 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); [all …]
|
D | emitter.forAwait(target=es2015).js | 64 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 65 var m = o[Symbol.asyncIterator], i; 66 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 99 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 100 var m = o[Symbol.asyncIterator], i; 101 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 125 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 126 var m = o[Symbol.asyncIterator], i; 127 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 133 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); [all …]
|
D | types.forAwait.es2018.3.errors.txt | 2 …Await.es2018.3.ts(3,27): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha… 3 …Await.es2018.3.ts(5,21): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha… 4 …wait.es2018.3.ts(10,27): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha… 5 …wait.es2018.3.ts(12,21): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha… 14 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite… 18 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite… 25 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite… 29 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite…
|
D | emitter.asyncGenerators.objectLiteralMethods.es2015.js | 49 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 51 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 68 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 70 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 88 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 90 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 107 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 108 var m = o[Symbol.asyncIterator], i; 109 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 120 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); [all …]
|
D | emitter.asyncGenerators.functionDeclarations.es2015.js | 35 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 37 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 52 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 54 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 70 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 72 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 87 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 88 var m = o[Symbol.asyncIterator], i; 89 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 100 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); [all …]
|
D | emitter.asyncGenerators.functionExpressions.es2015.js | 35 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 37 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 52 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 54 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 70 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 72 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 87 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 88 var m = o[Symbol.asyncIterator], i; 89 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 100 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); [all …]
|
D | emitter.asyncGenerators.classMethods.es2015.js | 66 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 68 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 85 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 87 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 105 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 107 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 124 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 125 var m = o[Symbol.asyncIterator], i; 126 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 137 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); [all …]
|
D | emitter.forAwait(target=es5).js | 91 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 92 var m = o[Symbol.asyncIterator], i; 93 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 173 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 174 var m = o[Symbol.asyncIterator], i; 175 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 246 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 247 var m = o[Symbol.asyncIterator], i; 248 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 254 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); [all …]
|
D | generatorAssignability.types | 163 const o = {[Symbol.asyncIterator]: syncGenerator}; 164 >o : { [Symbol.asyncIterator]: () => Generator<1 | 2, void, unknown>; } 165 >{[Symbol.asyncIterator]: syncGenerator} : { [Symbol.asyncIterator]: () => Generator<1 | 2, void, u… 166 >[Symbol.asyncIterator] : () => Generator<1 | 2, void, unknown> 167 >Symbol.asyncIterator : symbol 169 >asyncIterator : symbol 174 >o : { [Symbol.asyncIterator]: () => Generator<1 | 2, void, unknown>; }
|
D | emitter.asyncGenerators.objectLiteralMethods.es5.js | 76 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 78 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 125 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 127 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 181 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 183 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 236 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 237 var m = o[Symbol.asyncIterator], i; 238 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 249 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); [all …]
|
D | emitter.asyncGenerators.functionExpressions.es5.js | 62 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 64 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 109 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 111 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 163 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 165 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 216 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 217 var m = o[Symbol.asyncIterator], i; 218 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 229 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); [all …]
|
D | emitter.asyncGenerators.functionDeclarations.es5.js | 62 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 64 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 109 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 111 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 163 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 165 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 216 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 217 var m = o[Symbol.asyncIterator], i; 218 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 229 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); [all …]
|
D | emitter.asyncGenerators.classMethods.es5.js | 93 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 95 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 145 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 147 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 204 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 206 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () … 262 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 263 var m = o[Symbol.asyncIterator], i; 264 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()… 275 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); [all …]
|
D | generatorAssignability.symbols | 144 const o = {[Symbol.asyncIterator]: syncGenerator}; 146 >[Symbol.asyncIterator] : Symbol([Symbol.asyncIterator], Decl(generatorAssignability.ts, 64, 15)) 147 >Symbol.asyncIterator : Symbol(SymbolConstructor.asyncIterator, Decl(lib.es2018.asynciterable.d.ts,… 149 >asyncIterator : Symbol(SymbolConstructor.asyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --…
|
D | types.forAwait.es2018.2.errors.txt | 1 …Await.es2018.2.ts(6,27): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha… 2 …Await.es2018.2.ts(8,21): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha… 17 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite… 21 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite…
|
D | types.asyncGenerators.es2018.2.errors.txt | 1 …ators.es2018.2.ts(2,12): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha… 2 …ts(8,12): error TS2504: Type 'Promise<number[]>' must have a '[Symbol.asyncIterator]()' method tha… 19 The types returned by '[Symbol.asyncIterator]().next(...)' are incompatible between these types. 25 The types returned by '[Symbol.asyncIterator]().next(...)' are incompatible between these types. 48 …tors.es2018.2.ts(74,12): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha… 55 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite… 63 !!! error TS2504: Type 'Promise<number[]>' must have a '[Symbol.asyncIterator]()' method that retur… 96 !!! error TS2322: The types returned by '[Symbol.asyncIterator]().next(...)' are incompatible b… 110 !!! error TS2322: The types returned by '[Symbol.asyncIterator]().next(...)' are incompatible b… 200 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite…
|
D | operationsAvailableOnPromisedType.js | 70 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 71 var m = o[Symbol.asyncIterator], i; 72 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
|
D | asyncImportNestedYield.js | 36 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 38 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
|
D | objectRestSpread.js | 39 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 41 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
|
/third_party/node/test/parallel/ |
D | test-stream-readable-async-iterators.js | 27 stream[Symbol.asyncIterator] = Readable.prototype[Symbol.asyncIterator]; 45 const iter = Readable.prototype[Symbol.asyncIterator].call(stream); 77 const iter = readable[Symbol.asyncIterator](); 92 const iter = readable[Symbol.asyncIterator](); 121 const iter = readable[Symbol.asyncIterator](); 162 const iter = readable[Symbol.asyncIterator](); 204 const iterator = readable[Symbol.asyncIterator](); 415 const { done } = await readable[Symbol.asyncIterator]().next(); 434 readable[Symbol.asyncIterator]().next(), 490 const iter = transform[Symbol.asyncIterator](); [all …]
|
/third_party/typescript/lib/ |
D | lib.es2018.asynciterable.d.ts | 29 readonly asyncIterator: symbol; property 40 [Symbol.asyncIterator](): AsyncIterator<T>; 44 [Symbol.asyncIterator](): AsyncIterableIterator<T>;
|
D | lib.es2018.asyncgenerator.d.ts | 28 [Symbol.asyncIterator](): AsyncGenerator<T, TReturn, TNext>;
|
/third_party/typescript/src/lib/ |
D | es2018.asynciterable.d.ts | 9 readonly asyncIterator: symbol; property 20 [Symbol.asyncIterator](): AsyncIterator<T>; 24 [Symbol.asyncIterator](): AsyncIterableIterator<T>;
|
/third_party/node/deps/npm/node_modules/readable-stream/lib/internal/streams/ |
D | from.js | 20 …} else if (iterable && iterable[Symbol.asyncIterator]) iterator = iterable[Symbol.asyncIterator]()…
|
/third_party/node/deps/npm/node_modules/es-abstract/ |
D | GetIntrinsic.js | 66 …otype%': asyncGenIterator && hasSymbols && Symbol.asyncIterator ? asyncGenIterator[Symbol.asyncIte…
|