diff --git a/spec.html b/spec.html index 77be680..5ca6e68 100644 --- a/spec.html +++ b/spec.html @@ -243,8 +243,446 @@
Generator instances are initially created with the internal slots described in
+ Internal Slot + | ++ Type + | ++ Description + | +
---|---|---|
+ [[GeneratorState]] + | ++ *undefined*, ~suspendedStart~, ~suspendedYield~, ~executing~, or ~completed~ + | ++ The current execution state of the generator. + | +
+ [[GeneratorContext]] + | ++ an execution context + | ++ The execution context that is used when executing the code of this generator. + | +
+ [[GeneratorAsyncContextMapping]] + | ++ a List of Async Context Mapping Records + | ++ The value of the agent's [[AsyncContextMapping]] to use the next time this generator is resumed. + | +
+ [[GeneratorBrand]] + | ++ a String or ~empty~ + | ++ A brand used to distinguish different kinds of generators. The [[GeneratorBrand]] of generators declared by ECMAScript source text is always ~empty~. + | +
AsyncGenerator instances are initially created with the internal slots described below:
+Internal Slot | +Type | +Description | +
---|---|---|
[[AsyncGeneratorState]] | +*undefined*, ~suspendedStart~, ~suspendedYield~, ~executing~, ~awaiting-return~, or ~completed~ | +The current execution state of the async generator. | +
[[AsyncGeneratorContext]] | +an execution context | +The execution context that is used when executing the code of this async generator. | +
[[AsyncGeneratorQueue]] | +a List of AsyncGeneratorRequest Records | +Records which represent requests to resume the async generator. Except during state transitions, it is non-empty if and only if [[AsyncGeneratorState]] is either ~executing~ or ~awaiting-return~. | +
[[AsyncGeneratorAsyncContextMapping]] | +a List of Async Context Mapping Records | +The value of the agent's [[AsyncContextMapping]] to use the next time this generator is resumed. | +
[[GeneratorBrand]] | +a String or ~empty~ | +A brand used to distinguish different kinds of async generators. The [[GeneratorBrand]] of async generators declared by ECMAScript source text is always ~empty~. | +