From a785b0832b071f505a694e1946182adeab84c972 Mon Sep 17 00:00:00 2001
From: Brian Terlson
Date: Mon, 12 Sep 2016 15:11:01 -0700
Subject: [PATCH] Editorial: %s/StrictFormalParameters/UniqueFormalParameters/g
(#690)
Closes #618.
---
spec.html | 60 +++++++++++++++++++++++++++----------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
diff --git a/spec.html b/spec.html
index 7459469339..dbdb6fc91b 100644
--- a/spec.html
+++ b/spec.html
@@ -17430,7 +17430,7 @@ Syntax
FunctionExpression :
`function` BindingIdentifier[~Yield]? `(` FormalParameters[~Yield] `)` `{` FunctionBody[~Yield] `}`
- StrictFormalParameters[Yield] :
+ UniqueFormalParameters[Yield] :
FormalParameters[?Yield]
FormalParameters[Yield] :
@@ -17482,7 +17482,7 @@ Static Semantics: Early Errors
-
- If the source code matching this production is strict mode code, the Early Error rules for StrictFormalParameters : FormalParameters are applied.
+ If the source code matching this production is strict mode code, the Early Error rules for UniqueFormalParameters : FormalParameters are applied.
-
If the source code matching this production is strict mode code, it is a Syntax Error if |BindingIdentifier| is the |IdentifierName| `eval` or the |IdentifierName| `arguments`.
@@ -17509,7 +17509,7 @@
Static Semantics: Early Errors
The LexicallyDeclaredNames of a |FunctionBody| does not include identifiers bound using var or function declarations.
- StrictFormalParameters : FormalParameters
+ UniqueFormalParameters : FormalParameters
-
It is a Syntax Error if BoundNames of |FormalParameters| contains any duplicate elements.
@@ -17978,7 +17978,7 @@
Supplemental Syntax
is recognized the following grammar is used to refine the interpretation of |CoverParenthesizedExpressionAndArrowParameterList|:
ArrowFormalParameters[Yield] :
- `(` StrictFormalParameters[?Yield] `)`
+ `(` UniqueFormalParameters[?Yield] `)`
@@ -18218,7 +18218,7 @@ Method Definitions
Syntax
MethodDefinition[Yield] :
- PropertyName[?Yield] `(` StrictFormalParameters[~Yield] `)` `{` FunctionBody[~Yield] `}`
+ PropertyName[?Yield] `(` UniqueFormalParameters[~Yield] `)` `{` FunctionBody[~Yield] `}`
GeneratorMethod[?Yield]
`get` PropertyName[?Yield] `(` `)` `{` FunctionBody[~Yield] `}`
`set` PropertyName[?Yield] `(` PropertySetParameterList `)` `{` FunctionBody[~Yield] `}`
@@ -18230,13 +18230,13 @@ Syntax
Static Semantics: Early Errors
- MethodDefinition : PropertyName `(` StrictFormalParameters `)` `{` FunctionBody `}`
+ MethodDefinition : PropertyName `(` UniqueFormalParameters `)` `{` FunctionBody `}`
-
- It is a Syntax Error if ContainsUseStrict of |FunctionBody| is *true* and IsSimpleParameterList of |StrictFormalParameters| is *false*.
+ It is a Syntax Error if ContainsUseStrict of |FunctionBody| is *true* and IsSimpleParameterList of |UniqueFormalParameters| is *false*.
-
- It is a Syntax Error if any element of the BoundNames of |StrictFormalParameters| also occurs in the LexicallyDeclaredNames of |FunctionBody|.
+ It is a Syntax Error if any element of the BoundNames of |UniqueFormalParameters| also occurs in the LexicallyDeclaredNames of |FunctionBody|.
MethodDefinition : `set` PropertyName `(` PropertySetParameterList `)` `{` FunctionBody `}`
@@ -18260,7 +18260,7 @@ Static Semantics: ComputedPropertyContains
MethodDefinition :
- PropertyName `(` StrictFormalParameters `)` `{` FunctionBody `}`
+ PropertyName `(` UniqueFormalParameters `)` `{` FunctionBody `}`
`get` PropertyName `(` `)` `{` FunctionBody `}`
`set` PropertyName `(` PropertySetParameterList `)` `{` FunctionBody `}`
@@ -18284,9 +18284,9 @@ Static Semantics: ExpectedArgumentCount
Static Semantics: HasDirectSuper
- MethodDefinition : PropertyName `(` StrictFormalParameters `)` `{` FunctionBody `}`
+ MethodDefinition : PropertyName `(` UniqueFormalParameters `)` `{` FunctionBody `}`
- 1. If |StrictFormalParameters| Contains |SuperCall| is *true*, return *true*.
+ 1. If |UniqueFormalParameters| Contains |SuperCall| is *true*, return *true*.
1. Return |FunctionBody| Contains |SuperCall|.
MethodDefinition : `get` PropertyName `(` `)` `{` FunctionBody `}`
@@ -18306,7 +18306,7 @@ Static Semantics: PropName
MethodDefinition :
- PropertyName `(` StrictFormalParameters `)` `{` FunctionBody `}`
+ PropertyName `(` UniqueFormalParameters `)` `{` FunctionBody `}`
`get` PropertyName `(` `)` `{` FunctionBody `}`
`set` PropertyName `(` PropertySetParameterList `)` `{` FunctionBody `}`
@@ -18318,7 +18318,7 @@ Static Semantics: PropName
Static Semantics: SpecialMethod
- MethodDefinition : PropertyName `(` StrictFormalParameters `)` `{` FunctionBody `}`
+ MethodDefinition : PropertyName `(` UniqueFormalParameters `)` `{` FunctionBody `}`
1. Return *false*.
@@ -18337,14 +18337,14 @@ Static Semantics: SpecialMethod
Runtime Semantics: DefineMethod
With parameters _object_ and optional parameter _functionPrototype_.
- MethodDefinition : PropertyName `(` StrictFormalParameters `)` `{` FunctionBody `}`
+ MethodDefinition : PropertyName `(` UniqueFormalParameters `)` `{` FunctionBody `}`
1. Let _propKey_ be the result of evaluating |PropertyName|.
1. ReturnIfAbrupt(_propKey_).
1. If the function code for this |MethodDefinition| is strict mode code, let _strict_ be *true*. Otherwise let _strict_ be *false*.
1. Let _scope_ be the running execution context's LexicalEnvironment.
1. If _functionPrototype_ was passed as a parameter, let _kind_ be ~Normal~; otherwise let _kind_ be ~Method~.
- 1. Let _closure_ be FunctionCreate(_kind_, |StrictFormalParameters|, |FunctionBody|, _scope_, _strict_). If _functionPrototype_ was passed as a parameter, then pass its value as the _prototype_ optional argument of FunctionCreate.
+ 1. Let _closure_ be FunctionCreate(_kind_, |UniqueFormalParameters|, |FunctionBody|, _scope_, _strict_). If _functionPrototype_ was passed as a parameter, then pass its value as the _prototype_ optional argument of FunctionCreate.
1. Perform MakeMethod(_closure_, _object_).
1. Return the Record{[[Key]]: _propKey_, [[Closure]]: _closure_}.
@@ -18355,7 +18355,7 @@ Runtime Semantics: DefineMethod
Runtime Semantics: PropertyDefinitionEvaluation
With parameters _object_ and _enumerable_.
- MethodDefinition : PropertyName `(` StrictFormalParameters `)` `{` FunctionBody `}`
+ MethodDefinition : PropertyName `(` UniqueFormalParameters `)` `{` FunctionBody `}`
1. Let _methodDef_ be DefineMethod of |MethodDefinition| with argument _object_.
1. ReturnIfAbrupt(_methodDef_).
@@ -18399,7 +18399,7 @@ Generator Function Definitions
Syntax
GeneratorMethod[Yield] :
- `*` PropertyName[?Yield] `(` StrictFormalParameters[+Yield] `)` `{` GeneratorBody `}`
+ `*` PropertyName[?Yield] `(` UniqueFormalParameters[+Yield] `)` `{` GeneratorBody `}`
GeneratorDeclaration[Yield, Default] :
`function` `*` BindingIdentifier[?Yield] `(` FormalParameters[+Yield] `)` `{` GeneratorBody `}`
@@ -18429,19 +18429,19 @@ Syntax
Static Semantics: Early Errors
- GeneratorMethod : `*` PropertyName `(` StrictFormalParameters `)` `{` GeneratorBody `}`
+ GeneratorMethod : `*` PropertyName `(` UniqueFormalParameters `)` `{` GeneratorBody `}`
-
It is a Syntax Error if HasDirectSuper of |GeneratorMethod| is *true*.
-
- It is a Syntax Error if |StrictFormalParameters| Contains |YieldExpression| is *true*.
+ It is a Syntax Error if |UniqueFormalParameters| Contains |YieldExpression| is *true*.
-
- It is a Syntax Error if ContainsUseStrict of |GeneratorBody| is *true* and IsSimpleParameterList of |StrictFormalParameters| is *false*.
+ It is a Syntax Error if ContainsUseStrict of |GeneratorBody| is *true* and IsSimpleParameterList of |UniqueFormalParameters| is *false*.
-
- It is a Syntax Error if any element of the BoundNames of |StrictFormalParameters| also occurs in the LexicallyDeclaredNames of |GeneratorBody|.
+ It is a Syntax Error if any element of the BoundNames of |UniqueFormalParameters| also occurs in the LexicallyDeclaredNames of |GeneratorBody|.
@@ -18453,7 +18453,7 @@ Static Semantics: Early Errors
-
- If the source code matching this production is strict mode code, the Early Error rules for StrictFormalParameters : FormalParameters are applied.
+ If the source code matching this production is strict mode code, the Early Error rules for UniqueFormalParameters : FormalParameters are applied.
-
If the source code matching this production is strict mode code, it is a Syntax Error if |BindingIdentifier| is the |IdentifierName| `eval` or the |IdentifierName| `arguments`.
@@ -18504,7 +18504,7 @@
Static Semantics: BoundNames
Static Semantics: ComputedPropertyContains
With parameter _symbol_.
- GeneratorMethod : `*` PropertyName `(` StrictFormalParameters `)` `{` GeneratorBody `}`
+ GeneratorMethod : `*` PropertyName `(` UniqueFormalParameters `)` `{` GeneratorBody `}`
1. Return the result of ComputedPropertyContains for |PropertyName| with argument _symbol_.
@@ -18534,9 +18534,9 @@ Static Semantics: Contains
Static Semantics: HasDirectSuper
- GeneratorMethod : `*` PropertyName `(` StrictFormalParameters `)` `{` GeneratorBody `}`
+ GeneratorMethod : `*` PropertyName `(` UniqueFormalParameters `)` `{` GeneratorBody `}`
- 1. If |StrictFormalParameters| Contains |SuperCall| is *true*, return *true*.
+ 1. If |UniqueFormalParameters| Contains |SuperCall| is *true*, return *true*.
1. Return |GeneratorBody| Contains |SuperCall|.
@@ -18583,7 +18583,7 @@ Static Semantics: IsFunctionDefinition
Static Semantics: PropName
- GeneratorMethod : `*` PropertyName `(` StrictFormalParameters `)` `{` GeneratorBody `}`
+ GeneratorMethod : `*` PropertyName `(` UniqueFormalParameters `)` `{` GeneratorBody `}`
1. Return PropName of |PropertyName|.
@@ -18635,13 +18635,13 @@ Runtime Semantics: InstantiateFunctionObject
Runtime Semantics: PropertyDefinitionEvaluation
With parameter _object_ and _enumerable_.
- GeneratorMethod : `*` PropertyName `(` StrictFormalParameters `)` `{` GeneratorBody `}`
+ GeneratorMethod : `*` PropertyName `(` UniqueFormalParameters `)` `{` GeneratorBody `}`
1. Let _propKey_ be the result of evaluating |PropertyName|.
1. ReturnIfAbrupt(_propKey_).
1. If the function code for this |GeneratorMethod| is strict mode code, let _strict_ be *true*. Otherwise let _strict_ be *false*.
1. Let _scope_ be the running execution context's LexicalEnvironment.
- 1. Let _closure_ be GeneratorFunctionCreate(~Method~, |StrictFormalParameters|, |GeneratorBody|, _scope_, _strict_).
+ 1. Let _closure_ be GeneratorFunctionCreate(~Method~, |UniqueFormalParameters|, |GeneratorBody|, _scope_, _strict_).
1. Perform MakeMethod(_closure_, _object_).
1. Let _prototype_ be ObjectCreate(%GeneratorPrototype%).
1. Perform DefinePropertyOrThrow(_closure_, `"prototype"`, PropertyDescriptor{[[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false*}).
@@ -23071,7 +23071,7 @@ Runtime Semantics: CreateDynamicFunction(_constructor_, _newTarget_, _kind_,
1. Let _parameters_ be the result of parsing _P_, interpreted as UTF-16 encoded Unicode text as described in , using _parameterGoal_ as the goal symbol. Throw a *SyntaxError* exception if the parse fails.
1. Let _body_ be the result of parsing _bodyText_, interpreted as UTF-16 encoded Unicode text as described in , using _goal_ as the goal symbol. Throw a *SyntaxError* exception if the parse fails.
1. If _bodyText_ is strict mode code, then let _strict_ be *true*, else let _strict_ be *false*.
- 1. If any static semantics errors are detected for _parameters_ or _body_, throw a *SyntaxError* or a *ReferenceError* exception, depending on the type of the error. If _strict_ is *true*, the Early Error rules for StrictFormalParameters : FormalParameters are applied. Parsing and early error detection may be interweaved in an implementation dependent manner.
+ 1. If any static semantics errors are detected for _parameters_ or _body_, throw a *SyntaxError* or a *ReferenceError* exception, depending on the type of the error. If _strict_ is *true*, the Early Error rules for UniqueFormalParameters : FormalParameters are applied. Parsing and early error detection may be interweaved in an implementation dependent manner.
1. If ContainsUseStrict of _body_ is *true* and IsSimpleParameterList of _parameters_ is *false*, throw a *SyntaxError* exception.
1. If any element of the BoundNames of _parameters_ also occurs in the LexicallyDeclaredNames of _body_, throw a *SyntaxError* exception.
1. If _body_ Contains |SuperCall| is *true*, throw a *SyntaxError* exception.
@@ -35418,7 +35418,7 @@ Statements
Functions and Classes
-
+