Re-generate tests

This commit is contained in:
Mike Pennisi 2016-04-26 13:48:22 -04:00
parent eb1c382aa5
commit 73a7e23061
24 changed files with 234 additions and 240 deletions

View File

@ -5,26 +5,26 @@
description: SingleNameBinding with normal value iteration (arrow function expression) description: SingleNameBinding with normal value iteration (arrow function expression)
es6id: 14.2.16 es6id: 14.2.16
flags: [generated] flags: [generated]
info: > info: |
ArrowFunction : ArrowParameters => ConciseBody ArrowFunction : ArrowParameters => ConciseBody
[...] [...]
4. Let closure be FunctionCreate(Arrow, parameters, ConciseBody, scope, strict). 4. Let closure be FunctionCreate(Arrow, parameters, ConciseBody, scope, strict).
[...] [...]
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -36,9 +36,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,25 +5,24 @@
description: Spread operator applied to the only argument when evaluation throws (CallExpression) description: Spread operator applied to the only argument when evaluation throws (CallExpression)
es6id: 12.3.4.1 es6id: 12.3.4.1
features: [generators] features: [generators]
flags: [generated] flags: [generated]
info: > info: |
CallExpression : MemberExpression Arguments CallExpression : MemberExpression Arguments
[...] [...]
9. Return EvaluateDirectCall(func, thisValue, Arguments, tailCall). 9. Return EvaluateDirectCall(func, thisValue, Arguments, tailCall).
12.3.4.3 Runtime Semantics: EvaluateDirectCall 12.3.4.3 Runtime Semantics: EvaluateDirectCall
1. Let argList be ArgumentListEvaluation(arguments). 1. Let argList be ArgumentListEvaluation(arguments).
[...] [...]
6. Let result be Call(func, thisValue, argList). 6. Let result be Call(func, thisValue, argList).
[...] [...]
12.3.6.1 Runtime Semantics: ArgumentListEvaluation 12.3.6.1 Runtime Semantics: ArgumentListEvaluation
ArgumentList : ... AssignmentExpression ArgumentList : ... AssignmentExpression
1. Let list be an empty List. 1. Let list be an empty List.
2. Let spreadRef be the result of evaluating AssignmentExpression. 2. Let spreadRef be the result of evaluating AssignmentExpression.
3. Let spreadObj be GetValue(spreadRef). 3. Let spreadObj be GetValue(spreadRef).

View File

@ -5,25 +5,24 @@
description: Spread operator applied to the only argument with a valid iterator (CallExpression) description: Spread operator applied to the only argument with a valid iterator (CallExpression)
es6id: 12.3.4.1 es6id: 12.3.4.1
features: [Symbol.iterator] features: [Symbol.iterator]
flags: [generated] flags: [generated]
info: > info: |
CallExpression : MemberExpression Arguments CallExpression : MemberExpression Arguments
[...] [...]
9. Return EvaluateDirectCall(func, thisValue, Arguments, tailCall). 9. Return EvaluateDirectCall(func, thisValue, Arguments, tailCall).
12.3.4.3 Runtime Semantics: EvaluateDirectCall 12.3.4.3 Runtime Semantics: EvaluateDirectCall
1. Let argList be ArgumentListEvaluation(arguments). 1. Let argList be ArgumentListEvaluation(arguments).
[...] [...]
6. Let result be Call(func, thisValue, argList). 6. Let result be Call(func, thisValue, argList).
[...] [...]
12.3.6.1 Runtime Semantics: ArgumentListEvaluation 12.3.6.1 Runtime Semantics: ArgumentListEvaluation
ArgumentList : ... AssignmentExpression ArgumentList : ... AssignmentExpression
1. Let list be an empty List. 1. Let list be an empty List.
2. Let spreadRef be the result of evaluating AssignmentExpression. 2. Let spreadRef be the result of evaluating AssignmentExpression.
3. Let spreadObj be GetValue(spreadRef). 3. Let spreadObj be GetValue(spreadRef).

View File

@ -5,29 +5,29 @@
description: SingleNameBinding with normal value iteration (class expression method) description: SingleNameBinding with normal value iteration (class expression method)
es6id: 14.5.16 es6id: 14.5.16
flags: [generated] flags: [generated]
info: > info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail
1. If BindingIdentifieropt is not present, let className be undefined. 1. If BindingIdentifieropt is not present, let className be undefined.
2. Else, let className be StringValue of BindingIdentifier. 2. Else, let className be StringValue of BindingIdentifier.
3. Let value be the result of ClassDefinitionEvaluation of ClassTail 3. Let value be the result of ClassDefinitionEvaluation of ClassTail
with argument className. with argument className.
[...] [...]
14.5.14 Runtime Semantics: ClassDefinitionEvaluation 14.5.14 Runtime Semantics: ClassDefinitionEvaluation
21. For each ClassElement m in order from methods 21. For each ClassElement m in order from methods
a. If IsStatic of m is false, then a. If IsStatic of m is false, then
i. Let status be the result of performing i. Let status be the result of performing
PropertyDefinitionEvaluation for m with arguments proto and PropertyDefinitionEvaluation for m with arguments proto and
false. false.
[...] [...]
14.4.13 Runtime Semantics: PropertyDefinitionEvaluation 14.4.13 Runtime Semantics: PropertyDefinitionEvaluation
GeneratorMethod : GeneratorMethod :
* PropertyName ( StrictFormalParameters ) { GeneratorBody } * PropertyName ( StrictFormalParameters ) { GeneratorBody }
1. Let propKey be the result of evaluating PropertyName. 1. Let propKey be the result of evaluating PropertyName.
2. ReturnIfAbrupt(propKey). 2. ReturnIfAbrupt(propKey).
3. If the function code for this GeneratorMethod is strict mode code, 3. If the function code for this GeneratorMethod is strict mode code,
@ -35,20 +35,20 @@ info: >
4. Let scope be the running execution context's LexicalEnvironment. 4. Let scope be the running execution context's LexicalEnvironment.
5. Let closure be GeneratorFunctionCreate(Method, 5. Let closure be GeneratorFunctionCreate(Method,
StrictFormalParameters, GeneratorBody, scope, strict). StrictFormalParameters, GeneratorBody, scope, strict).
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -60,9 +60,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,29 +5,29 @@
description: SingleNameBinding with normal value iteration (static class expression generator method) description: SingleNameBinding with normal value iteration (static class expression generator method)
es6id: 14.5.16 es6id: 14.5.16
flags: [generated] flags: [generated]
info: > info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail
1. If BindingIdentifieropt is not present, let className be undefined. 1. If BindingIdentifieropt is not present, let className be undefined.
2. Else, let className be StringValue of BindingIdentifier. 2. Else, let className be StringValue of BindingIdentifier.
3. Let value be the result of ClassDefinitionEvaluation of ClassTail 3. Let value be the result of ClassDefinitionEvaluation of ClassTail
with argument className. with argument className.
[...] [...]
14.5.14 Runtime Semantics: ClassDefinitionEvaluation 14.5.14 Runtime Semantics: ClassDefinitionEvaluation
21. For each ClassElement m in order from methods 21. For each ClassElement m in order from methods
a. If IsStatic of m is false, then a. If IsStatic of m is false, then
b. Else, b. Else,
Let status be the result of performing PropertyDefinitionEvaluation Let status be the result of performing PropertyDefinitionEvaluation
for m with arguments F and false. for m with arguments F and false.
[...] [...]
14.4.13 Runtime Semantics: PropertyDefinitionEvaluation 14.4.13 Runtime Semantics: PropertyDefinitionEvaluation
GeneratorMethod : GeneratorMethod :
* PropertyName ( StrictFormalParameters ) { GeneratorBody } * PropertyName ( StrictFormalParameters ) { GeneratorBody }
1. Let propKey be the result of evaluating PropertyName. 1. Let propKey be the result of evaluating PropertyName.
2. ReturnIfAbrupt(propKey). 2. ReturnIfAbrupt(propKey).
3. If the function code for this GeneratorMethod is strict mode code, 3. If the function code for this GeneratorMethod is strict mode code,
@ -35,20 +35,20 @@ info: >
4. Let scope be the running execution context's LexicalEnvironment. 4. Let scope be the running execution context's LexicalEnvironment.
5. Let closure be GeneratorFunctionCreate(Method, 5. Let closure be GeneratorFunctionCreate(Method,
StrictFormalParameters, GeneratorBody, scope, strict). StrictFormalParameters, GeneratorBody, scope, strict).
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -60,9 +60,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,47 +5,47 @@
description: SingleNameBinding with normal value iteration (class expression method) description: SingleNameBinding with normal value iteration (class expression method)
es6id: 14.5.16 es6id: 14.5.16
flags: [generated] flags: [generated]
info: > info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail
1. If BindingIdentifieropt is not present, let className be undefined. 1. If BindingIdentifieropt is not present, let className be undefined.
2. Else, let className be StringValue of BindingIdentifier. 2. Else, let className be StringValue of BindingIdentifier.
3. Let value be the result of ClassDefinitionEvaluation of ClassTail 3. Let value be the result of ClassDefinitionEvaluation of ClassTail
with argument className. with argument className.
[...] [...]
14.5.14 Runtime Semantics: ClassDefinitionEvaluation 14.5.14 Runtime Semantics: ClassDefinitionEvaluation
21. For each ClassElement m in order from methods 21. For each ClassElement m in order from methods
a. If IsStatic of m is false, then a. If IsStatic of m is false, then
i. Let status be the result of performing i. Let status be the result of performing
PropertyDefinitionEvaluation for m with arguments proto and PropertyDefinitionEvaluation for m with arguments proto and
false. false.
[...] [...]
14.3.8 Runtime Semantics: DefineMethod 14.3.8 Runtime Semantics: DefineMethod
MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody } MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody }
[...] [...]
6. Let closure be FunctionCreate(kind, StrictFormalParameters, FunctionBody, 6. Let closure be FunctionCreate(kind, StrictFormalParameters, FunctionBody,
scope, strict). If functionPrototype was passed as a parameter then pass its scope, strict). If functionPrototype was passed as a parameter then pass its
value as the functionPrototype optional argument of FunctionCreate. value as the functionPrototype optional argument of FunctionCreate.
[...] [...]
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -57,9 +57,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,47 +5,47 @@
description: SingleNameBinding with normal value iteration (static class expression method) description: SingleNameBinding with normal value iteration (static class expression method)
es6id: 14.5.16 es6id: 14.5.16
flags: [generated] flags: [generated]
info: > info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail
1. If BindingIdentifieropt is not present, let className be undefined. 1. If BindingIdentifieropt is not present, let className be undefined.
2. Else, let className be StringValue of BindingIdentifier. 2. Else, let className be StringValue of BindingIdentifier.
3. Let value be the result of ClassDefinitionEvaluation of ClassTail 3. Let value be the result of ClassDefinitionEvaluation of ClassTail
with argument className. with argument className.
[...] [...]
14.5.14 Runtime Semantics: ClassDefinitionEvaluation 14.5.14 Runtime Semantics: ClassDefinitionEvaluation
21. For each ClassElement m in order from methods 21. For each ClassElement m in order from methods
a. If IsStatic of m is false, then a. If IsStatic of m is false, then
b. Else, b. Else,
Let status be the result of performing PropertyDefinitionEvaluation for Let status be the result of performing PropertyDefinitionEvaluation for
m with arguments F and false. m with arguments F and false.
[...] [...]
14.3.8 Runtime Semantics: DefineMethod 14.3.8 Runtime Semantics: DefineMethod
MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody } MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody }
[...] [...]
6. Let closure be FunctionCreate(kind, StrictFormalParameters, FunctionBody, 6. Let closure be FunctionCreate(kind, StrictFormalParameters, FunctionBody,
scope, strict). If functionPrototype was passed as a parameter then pass its scope, strict). If functionPrototype was passed as a parameter then pass its
value as the functionPrototype optional argument of FunctionCreate. value as the functionPrototype optional argument of FunctionCreate.
[...] [...]
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -57,9 +57,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,27 +5,27 @@
description: SingleNameBinding with normal value iteration (function expression) description: SingleNameBinding with normal value iteration (function expression)
es6id: 14.1.20 es6id: 14.1.20
flags: [generated] flags: [generated]
info: > info: |
FunctionExpression : function ( FormalParameters ) { FunctionBody } FunctionExpression : function ( FormalParameters ) { FunctionBody }
[...] [...]
3. Let closure be FunctionCreate(Normal, FormalParameters, FunctionBody, 3. Let closure be FunctionCreate(Normal, FormalParameters, FunctionBody,
scope, strict). scope, strict).
[...] [...]
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -37,9 +37,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,27 +5,27 @@
description: SingleNameBinding with normal value iteration (generator function expression) description: SingleNameBinding with normal value iteration (generator function expression)
es6id: 14.4.14 es6id: 14.4.14
flags: [generated] flags: [generated]
info: > info: |
GeneratorExpression : function * ( FormalParameters ) { GeneratorBody } GeneratorExpression : function * ( FormalParameters ) { GeneratorBody }
[...] [...]
3. Let closure be GeneratorFunctionCreate(Normal, FormalParameters, 3. Let closure be GeneratorFunctionCreate(Normal, FormalParameters,
GeneratorBody, scope, strict). GeneratorBody, scope, strict).
[...] [...]
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -37,9 +37,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,24 +5,23 @@
description: Spread operator applied to the only argument when evaluation throws (`new` operator) description: Spread operator applied to the only argument when evaluation throws (`new` operator)
es6id: 12.3.3.1 es6id: 12.3.3.1
features: [generators] features: [generators]
flags: [generated] flags: [generated]
info: > info: |
MemberExpression : new MemberExpression Arguments MemberExpression : new MemberExpression Arguments
1. Return EvaluateNew(MemberExpression, Arguments). 1. Return EvaluateNew(MemberExpression, Arguments).
12.3.3.1.1 Runtime Semantics: EvaluateNew 12.3.3.1.1 Runtime Semantics: EvaluateNew
6. If arguments is empty, let argList be an empty List. 6. If arguments is empty, let argList be an empty List.
7. Else, 7. Else,
a. Let argList be ArgumentListEvaluation of arguments. a. Let argList be ArgumentListEvaluation of arguments.
[...] [...]
12.3.6.1 Runtime Semantics: ArgumentListEvaluation 12.3.6.1 Runtime Semantics: ArgumentListEvaluation
ArgumentList : ... AssignmentExpression ArgumentList : ... AssignmentExpression
1. Let list be an empty List. 1. Let list be an empty List.
2. Let spreadRef be the result of evaluating AssignmentExpression. 2. Let spreadRef be the result of evaluating AssignmentExpression.
3. Let spreadObj be GetValue(spreadRef). 3. Let spreadObj be GetValue(spreadRef).

View File

@ -5,24 +5,23 @@
description: Spread operator applied to the only argument with a valid iterator (`new` operator) description: Spread operator applied to the only argument with a valid iterator (`new` operator)
es6id: 12.3.3.1 es6id: 12.3.3.1
features: [Symbol.iterator] features: [Symbol.iterator]
flags: [generated] flags: [generated]
info: > info: |
MemberExpression : new MemberExpression Arguments MemberExpression : new MemberExpression Arguments
1. Return EvaluateNew(MemberExpression, Arguments). 1. Return EvaluateNew(MemberExpression, Arguments).
12.3.3.1.1 Runtime Semantics: EvaluateNew 12.3.3.1.1 Runtime Semantics: EvaluateNew
6. If arguments is empty, let argList be an empty List. 6. If arguments is empty, let argList be an empty List.
7. Else, 7. Else,
a. Let argList be ArgumentListEvaluation of arguments. a. Let argList be ArgumentListEvaluation of arguments.
[...] [...]
12.3.6.1 Runtime Semantics: ArgumentListEvaluation 12.3.6.1 Runtime Semantics: ArgumentListEvaluation
ArgumentList : ... AssignmentExpression ArgumentList : ... AssignmentExpression
1. Let list be an empty List. 1. Let list be an empty List.
2. Let spreadRef be the result of evaluating AssignmentExpression. 2. Let spreadRef be the result of evaluating AssignmentExpression.
3. Let spreadObj be GetValue(spreadRef). 3. Let spreadObj be GetValue(spreadRef).

View File

@ -5,10 +5,10 @@
description: SingleNameBinding with normal value iteration (generator method) description: SingleNameBinding with normal value iteration (generator method)
es6id: 14.4.13 es6id: 14.4.13
flags: [generated] flags: [generated]
info: > info: |
GeneratorMethod : GeneratorMethod :
* PropertyName ( StrictFormalParameters ) { GeneratorBody } * PropertyName ( StrictFormalParameters ) { GeneratorBody }
1. Let propKey be the result of evaluating PropertyName. 1. Let propKey be the result of evaluating PropertyName.
2. ReturnIfAbrupt(propKey). 2. ReturnIfAbrupt(propKey).
3. If the function code for this GeneratorMethod is strict mode code, 3. If the function code for this GeneratorMethod is strict mode code,
@ -17,20 +17,20 @@ info: >
5. Let closure be GeneratorFunctionCreate(Method, 5. Let closure be GeneratorFunctionCreate(Method,
StrictFormalParameters, GeneratorBody, scope, strict). StrictFormalParameters, GeneratorBody, scope, strict).
[...] [...]
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -42,9 +42,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,29 +5,29 @@
description: SingleNameBinding with normal value iteration (method) description: SingleNameBinding with normal value iteration (method)
es6id: 14.3.8 es6id: 14.3.8
flags: [generated] flags: [generated]
info: > info: |
MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody } MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody }
[...] [...]
6. Let closure be FunctionCreate(kind, StrictFormalParameters, 6. Let closure be FunctionCreate(kind, StrictFormalParameters,
FunctionBody, scope, strict). If functionPrototype was passed as a FunctionBody, scope, strict). If functionPrototype was passed as a
parameter then pass its value as the functionPrototype optional argument parameter then pass its value as the functionPrototype optional argument
of FunctionCreate. of FunctionCreate.
[...] [...]
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -39,9 +39,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,11 +5,10 @@
description: Spread operator applied to the only argument when evaluation throws (SuperCall) description: Spread operator applied to the only argument when evaluation throws (SuperCall)
es6id: 12.3.5.1 es6id: 12.3.5.1
features: [generators] features: [generators]
flags: [generated] flags: [generated]
info: > info: |
SuperCall : super Arguments SuperCall : super Arguments
1. Let newTarget be GetNewTarget(). 1. Let newTarget be GetNewTarget().
2. If newTarget is undefined, throw a ReferenceError exception. 2. If newTarget is undefined, throw a ReferenceError exception.
3. Let func be GetSuperConstructor(). 3. Let func be GetSuperConstructor().
@ -18,9 +17,9 @@ info: >
[...] [...]
12.3.6.1 Runtime Semantics: ArgumentListEvaluation 12.3.6.1 Runtime Semantics: ArgumentListEvaluation
ArgumentList : ... AssignmentExpression ArgumentList : ... AssignmentExpression
1. Let list be an empty List. 1. Let list be an empty List.
2. Let spreadRef be the result of evaluating AssignmentExpression. 2. Let spreadRef be the result of evaluating AssignmentExpression.
3. Let spreadObj be GetValue(spreadRef). 3. Let spreadObj be GetValue(spreadRef).

View File

@ -5,11 +5,10 @@
description: Spread operator applied to the only argument with a valid iterator (SuperCall) description: Spread operator applied to the only argument with a valid iterator (SuperCall)
es6id: 12.3.5.1 es6id: 12.3.5.1
features: [Symbol.iterator] features: [Symbol.iterator]
flags: [generated] flags: [generated]
info: > info: |
SuperCall : super Arguments SuperCall : super Arguments
1. Let newTarget be GetNewTarget(). 1. Let newTarget be GetNewTarget().
2. If newTarget is undefined, throw a ReferenceError exception. 2. If newTarget is undefined, throw a ReferenceError exception.
3. Let func be GetSuperConstructor(). 3. Let func be GetSuperConstructor().
@ -18,9 +17,9 @@ info: >
[...] [...]
12.3.6.1 Runtime Semantics: ArgumentListEvaluation 12.3.6.1 Runtime Semantics: ArgumentListEvaluation
ArgumentList : ... AssignmentExpression ArgumentList : ... AssignmentExpression
1. Let list be an empty List. 1. Let list be an empty List.
2. Let spreadRef be the result of evaluating AssignmentExpression. 2. Let spreadRef be the result of evaluating AssignmentExpression.
3. Let spreadObj be GetValue(spreadRef). 3. Let spreadObj be GetValue(spreadRef).

View File

@ -5,27 +5,27 @@
description: SingleNameBinding with normal value iteration (class expression method) description: SingleNameBinding with normal value iteration (class expression method)
es6id: 14.5.16 es6id: 14.5.16
flags: [generated] flags: [generated]
info: > info: |
ClassDeclaration : class BindingIdentifier ClassTail ClassDeclaration : class BindingIdentifier ClassTail
1. Let className be StringValue of BindingIdentifier. 1. Let className be StringValue of BindingIdentifier.
2. Let value be the result of ClassDefinitionEvaluation of ClassTail with 2. Let value be the result of ClassDefinitionEvaluation of ClassTail with
argument className. argument className.
[...] [...]
14.5.14 Runtime Semantics: ClassDefinitionEvaluation 14.5.14 Runtime Semantics: ClassDefinitionEvaluation
21. For each ClassElement m in order from methods 21. For each ClassElement m in order from methods
a. If IsStatic of m is false, then a. If IsStatic of m is false, then
i. Let status be the result of performing i. Let status be the result of performing
PropertyDefinitionEvaluation for m with arguments proto and PropertyDefinitionEvaluation for m with arguments proto and
false. false.
[...] [...]
14.4.13 Runtime Semantics: PropertyDefinitionEvaluation 14.4.13 Runtime Semantics: PropertyDefinitionEvaluation
GeneratorMethod : * PropertyName ( StrictFormalParameters ) { GeneratorBody } GeneratorMethod : * PropertyName ( StrictFormalParameters ) { GeneratorBody }
1. Let propKey be the result of evaluating PropertyName. 1. Let propKey be the result of evaluating PropertyName.
2. ReturnIfAbrupt(propKey). 2. ReturnIfAbrupt(propKey).
3. If the function code for this GeneratorMethod is strict mode code, 3. If the function code for this GeneratorMethod is strict mode code,
@ -33,20 +33,20 @@ info: >
4. Let scope be the running execution context's LexicalEnvironment. 4. Let scope be the running execution context's LexicalEnvironment.
5. Let closure be GeneratorFunctionCreate(Method, 5. Let closure be GeneratorFunctionCreate(Method,
StrictFormalParameters, GeneratorBody, scope, strict). StrictFormalParameters, GeneratorBody, scope, strict).
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -58,9 +58,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,27 +5,27 @@
description: SingleNameBinding with normal value iteration (static class expression generator method) description: SingleNameBinding with normal value iteration (static class expression generator method)
es6id: 14.5.15 es6id: 14.5.15
flags: [generated] flags: [generated]
info: > info: |
ClassDeclaration : class BindingIdentifier ClassTail ClassDeclaration : class BindingIdentifier ClassTail
1. Let className be StringValue of BindingIdentifier. 1. Let className be StringValue of BindingIdentifier.
2. Let value be the result of ClassDefinitionEvaluation of ClassTail with 2. Let value be the result of ClassDefinitionEvaluation of ClassTail with
argument className. argument className.
[...] [...]
14.5.14 Runtime Semantics: ClassDefinitionEvaluation 14.5.14 Runtime Semantics: ClassDefinitionEvaluation
21. For each ClassElement m in order from methods 21. For each ClassElement m in order from methods
a. If IsStatic of m is false, then a. If IsStatic of m is false, then
b. Else, b. Else,
Let status be the result of performing PropertyDefinitionEvaluation for Let status be the result of performing PropertyDefinitionEvaluation for
m with arguments F and false. m with arguments F and false.
[...] [...]
14.4.13 Runtime Semantics: PropertyDefinitionEvaluation 14.4.13 Runtime Semantics: PropertyDefinitionEvaluation
GeneratorMethod : * PropertyName ( StrictFormalParameters ) { GeneratorBody } GeneratorMethod : * PropertyName ( StrictFormalParameters ) { GeneratorBody }
1. Let propKey be the result of evaluating PropertyName. 1. Let propKey be the result of evaluating PropertyName.
2. ReturnIfAbrupt(propKey). 2. ReturnIfAbrupt(propKey).
3. If the function code for this GeneratorMethod is strict mode code, 3. If the function code for this GeneratorMethod is strict mode code,
@ -33,20 +33,20 @@ info: >
4. Let scope be the running execution context's LexicalEnvironment. 4. Let scope be the running execution context's LexicalEnvironment.
5. Let closure be GeneratorFunctionCreate(Method, 5. Let closure be GeneratorFunctionCreate(Method,
StrictFormalParameters, GeneratorBody, scope, strict). StrictFormalParameters, GeneratorBody, scope, strict).
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -58,9 +58,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,46 +5,46 @@
description: SingleNameBinding with normal value iteration (class expression method) description: SingleNameBinding with normal value iteration (class expression method)
es6id: 14.5.15 es6id: 14.5.15
flags: [generated] flags: [generated]
info: > info: |
ClassDeclaration : class BindingIdentifier ClassTail ClassDeclaration : class BindingIdentifier ClassTail
1. Let className be StringValue of BindingIdentifier. 1. Let className be StringValue of BindingIdentifier.
2. Let value be the result of ClassDefinitionEvaluation of ClassTail with 2. Let value be the result of ClassDefinitionEvaluation of ClassTail with
argument className. argument className.
[...] [...]
14.5.14 Runtime Semantics: ClassDefinitionEvaluation 14.5.14 Runtime Semantics: ClassDefinitionEvaluation
21. For each ClassElement m in order from methods 21. For each ClassElement m in order from methods
a. If IsStatic of m is false, then a. If IsStatic of m is false, then
i. Let status be the result of performing i. Let status be the result of performing
PropertyDefinitionEvaluation for m with arguments proto and PropertyDefinitionEvaluation for m with arguments proto and
false. false.
[...] [...]
14.3.8 Runtime Semantics: DefineMethod 14.3.8 Runtime Semantics: DefineMethod
MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody } MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody }
[...] [...]
6. Let closure be FunctionCreate(kind, StrictFormalParameters, FunctionBody, 6. Let closure be FunctionCreate(kind, StrictFormalParameters, FunctionBody,
scope, strict). If functionPrototype was passed as a parameter then pass its scope, strict). If functionPrototype was passed as a parameter then pass its
value as the functionPrototype optional argument of FunctionCreate. value as the functionPrototype optional argument of FunctionCreate.
[...] [...]
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -56,9 +56,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,46 +5,46 @@
description: SingleNameBinding with normal value iteration (static class expression method) description: SingleNameBinding with normal value iteration (static class expression method)
es6id: 14.5.15 es6id: 14.5.15
flags: [generated] flags: [generated]
info: > info: |
ClassDeclaration : class BindingIdentifier ClassTail ClassDeclaration : class BindingIdentifier ClassTail
1. Let className be StringValue of BindingIdentifier. 1. Let className be StringValue of BindingIdentifier.
2. Let value be the result of ClassDefinitionEvaluation of ClassTail with 2. Let value be the result of ClassDefinitionEvaluation of ClassTail with
argument className. argument className.
[...] [...]
14.5.14 Runtime Semantics: ClassDefinitionEvaluation 14.5.14 Runtime Semantics: ClassDefinitionEvaluation
21. For each ClassElement m in order from methods 21. For each ClassElement m in order from methods
a. If IsStatic of m is false, then a. If IsStatic of m is false, then
b. Else, b. Else,
Let status be the result of performing PropertyDefinitionEvaluation for Let status be the result of performing PropertyDefinitionEvaluation for
m with arguments F and false. m with arguments F and false.
[...] [...]
14.3.8 Runtime Semantics: DefineMethod 14.3.8 Runtime Semantics: DefineMethod
MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody } MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody }
[...] [...]
6. Let closure be FunctionCreate(kind, StrictFormalParameters, FunctionBody, 6. Let closure be FunctionCreate(kind, StrictFormalParameters, FunctionBody,
scope, strict). If functionPrototype was passed as a parameter then pass its scope, strict). If functionPrototype was passed as a parameter then pass its
value as the functionPrototype optional argument of FunctionCreate. value as the functionPrototype optional argument of FunctionCreate.
[...] [...]
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -56,9 +56,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,9 +5,9 @@
description: SingleNameBinding with normal value iteration (`const` statement) description: SingleNameBinding with normal value iteration (`const` statement)
es6id: 13.3.1.4 es6id: 13.3.1.4
flags: [generated] flags: [generated]
info: > info: |
LexicalBinding : BindingPattern Initializer LexicalBinding : BindingPattern Initializer
1. Let rhs be the result of evaluating Initializer. 1. Let rhs be the result of evaluating Initializer.
2. Let value be GetValue(rhs). 2. Let value be GetValue(rhs).
3. ReturnIfAbrupt(value). 3. ReturnIfAbrupt(value).
@ -16,9 +16,9 @@ info: >
using value and env as the arguments. using value and env as the arguments.
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,28 +5,28 @@
description: SingleNameBinding with normal value iteration (function declaration) description: SingleNameBinding with normal value iteration (function declaration)
es6id: 14.1.19 es6id: 14.1.19
flags: [generated] flags: [generated]
info: > info: |
FunctionDeclaration : FunctionDeclaration :
function BindingIdentifier ( FormalParameters ) { FunctionBody } function BindingIdentifier ( FormalParameters ) { FunctionBody }
[...] [...]
3. Let F be FunctionCreate(Normal, FormalParameters, FunctionBody, 3. Let F be FunctionCreate(Normal, FormalParameters, FunctionBody,
scope, strict). scope, strict).
[...] [...]
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -38,9 +38,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,27 +5,27 @@
description: SingleNameBinding with normal value iteration (generator function declaration) description: SingleNameBinding with normal value iteration (generator function declaration)
es6id: 14.4.12 es6id: 14.4.12
flags: [generated] flags: [generated]
info: > info: |
GeneratorDeclaration : function * ( FormalParameters ) { GeneratorBody } GeneratorDeclaration : function * ( FormalParameters ) { GeneratorBody }
[...] [...]
2. Let F be GeneratorFunctionCreate(Normal, FormalParameters, 2. Let F be GeneratorFunctionCreate(Normal, FormalParameters,
GeneratorBody, scope, strict). GeneratorBody, scope, strict).
[...] [...]
9.2.1 [[Call]] ( thisArgument, argumentsList) 9.2.1 [[Call]] ( thisArgument, argumentsList)
[...] [...]
7. Let result be OrdinaryCallEvaluateBody(F, argumentsList). 7. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
[...] [...]
9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList ) 9.2.1.3 OrdinaryCallEvaluateBody ( F, argumentsList )
1. Let status be FunctionDeclarationInstantiation(F, argumentsList). 1. Let status be FunctionDeclarationInstantiation(F, argumentsList).
[...] [...]
9.2.12 FunctionDeclarationInstantiation(func, argumentsList) 9.2.12 FunctionDeclarationInstantiation(func, argumentsList)
[...] [...]
23. Let iteratorRecord be Record {[[iterator]]: 23. Let iteratorRecord be Record {[[iterator]]:
CreateListIterator(argumentsList), [[done]]: false}. CreateListIterator(argumentsList), [[done]]: false}.
@ -37,9 +37,9 @@ info: >
[...] [...]
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,9 +5,9 @@
description: SingleNameBinding with normal value iteration (`let` statement) description: SingleNameBinding with normal value iteration (`let` statement)
es6id: 13.3.1.4 es6id: 13.3.1.4
flags: [generated] flags: [generated]
info: > info: |
LexicalBinding : BindingPattern Initializer LexicalBinding : BindingPattern Initializer
1. Let rhs be the result of evaluating Initializer. 1. Let rhs be the result of evaluating Initializer.
2. Let value be GetValue(rhs). 2. Let value be GetValue(rhs).
3. ReturnIfAbrupt(value). 3. ReturnIfAbrupt(value).
@ -16,9 +16,9 @@ info: >
using value and env as the arguments. using value and env as the arguments.
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).

View File

@ -5,9 +5,9 @@
description: SingleNameBinding with normal value iteration (`var` statement) description: SingleNameBinding with normal value iteration (`var` statement)
es6id: 13.3.2.4 es6id: 13.3.2.4
flags: [generated] flags: [generated]
info: > info: |
VariableDeclaration : BindingPattern Initializer VariableDeclaration : BindingPattern Initializer
1. Let rhs be the result of evaluating Initializer. 1. Let rhs be the result of evaluating Initializer.
2. Let rval be GetValue(rhs). 2. Let rval be GetValue(rhs).
3. ReturnIfAbrupt(rval). 3. ReturnIfAbrupt(rval).
@ -15,9 +15,9 @@ info: >
BindingPattern passing rval and undefined as arguments. BindingPattern passing rval and undefined as arguments.
13.3.3.6 Runtime Semantics: IteratorBindingInitialization 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
SingleNameBinding : BindingIdentifier Initializeropt SingleNameBinding : BindingIdentifier Initializeropt
[...] [...]
4. If iteratorRecord.[[done]] is false, then 4. If iteratorRecord.[[done]] is false, then
a. Let next be IteratorStep(iteratorRecord.[[iterator]]). a. Let next be IteratorStep(iteratorRecord.[[iterator]]).