OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GeneratorFunction
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/v8/test/mjsunit/es6/
generators-runtime.js
31
// http://people.mozilla.org/~jorendorff/es6-draft.html#sec-
generatorfunction
-objects
36
var
GeneratorFunction
= GeneratorFunctionPrototype.constructor;
115
// This tests the object that would be called "
GeneratorFunction
", if it were
118
assertSame(GeneratorFunctionPrototype,
GeneratorFunction
.prototype);
119
assertTrue(g instanceof
GeneratorFunction
);
121
assertSame(Function, Object.getPrototypeOf(
GeneratorFunction
));
128
assertTrue(!(f instanceof
GeneratorFunction
));
130
assertTrue((new
GeneratorFunction
()) instanceof
GeneratorFunction
);
131
assertTrue(
GeneratorFunction
() instanceof GeneratorFunction)
[
all
...]
generators-iteration.js
32
var
GeneratorFunction
= (function*(){yield 1;}).__proto__.constructor;
106
if (g instanceof
GeneratorFunction
) {
385
TestGenerator(
GeneratorFunction
(),
390
TestGenerator(new
GeneratorFunction
(),
395
TestGenerator(
GeneratorFunction
('yield 1;'),
401
function() { return
GeneratorFunction
('x', 'y', 'yield x + y;')(1, 2) },
/external/chromium_org/v8/src/
generator.js
80
GeneratorFunction
, DONT_ENUM | DONT_DELETE | READ_ONLY);
81
%InternalSetPrototype(
GeneratorFunction
, $Function);
82
%SetCode(
GeneratorFunction
, GeneratorFunctionConstructor);
/external/chromium_org/v8/test/mjsunit/harmony/
object-literals-method.js
130
var
GeneratorFunction
= function*() {}.__proto__.constructor;
195
assertEquals(
GeneratorFunction
.prototype,
/external/chromium_org/tools/ipc_fuzzer/mutate/
generate.cc
[
all
...]
Completed in 1182 milliseconds