Lines Matching refs:TestGenerator
63 function TestGenerator(g, expected_values_for_next, class
113 TestGenerator(function* g1() { },
118 TestGenerator(function* g2() { yield 1; },
123 TestGenerator(function* g3() { yield 1; yield 2; },
128 TestGenerator(function* g4() { yield 1; yield 2; return 3; },
133 TestGenerator(function* g5() { return 1; },
138 TestGenerator(function* g6() { var x = yield 1; return x; },
143 TestGenerator(function* g7() { var x = yield 1; yield 2; return x; },
148 TestGenerator(function* g8() { for (var x = 0; x < 4; x++) { yield x; } },
154 TestGenerator(
165 TestGenerator(
176 TestGenerator(
187 TestGenerator(
202 TestGenerator(
215 TestGenerator(
232 TestGenerator(
248 TestGenerator(function* g16() { yield "baz"; gc(); yield "qux"; },
254 TestGenerator(
264 TestGenerator(
276 TestGenerator(
287 TestGenerator(
293 TestGenerator(
299 TestGenerator(
305 TestGenerator(
314 TestGenerator(
327 TestGenerator(
341 TestGenerator(
348 TestGenerator(
385 TestGenerator(GeneratorFunction(),
390 TestGenerator(new GeneratorFunction(),
395 TestGenerator(GeneratorFunction('yield 1;'),
400 TestGenerator(
407 TestGenerator(