Skip to content

Commit

Permalink
Editorial: Narrow "function object" to "ECMAScript function object" (#…
Browse files Browse the repository at this point in the history
…3144)

... in the declared type of parameters, returns, and record fields,
where appropriate.
  • Loading branch information
jmdyck authored and ljharb committed Aug 16, 2023
1 parent 9a75782 commit 0802e7d
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -4705,7 +4705,7 @@ <h1>The ClassFieldDefinition Record Specification Type</h1>
[[Initializer]]
</td>
<td>
a function object or ~empty~
an ECMAScript function object or ~empty~
</td>
<td>
The initializer of the field, if any.
Expand Down Expand Up @@ -4742,7 +4742,7 @@ <h1>The ClassStaticBlockDefinition Record Specification Type</h1>
[[BodyFunction]]
</td>
<td>
a function object
an ECMAScript function object
</td>
<td>
The function object to be called during static initialization of a class.
Expand Down Expand Up @@ -9314,7 +9314,7 @@ <h1>
Runtime Semantics: InstantiateFunctionObject (
_env_: an Environment Record,
_privateEnv_: a PrivateEnvironment Record or *null*,
): a function object
): an ECMAScript function object
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -13228,7 +13228,7 @@ <h1>
<emu-clause id="sec-ordinarycallbindthis" type="abstract operation">
<h1>
OrdinaryCallBindThis (
_F_: a function object,
_F_: an ECMAScript function object,
_calleeContext_: an execution context,
_thisArgument_: an ECMAScript language value,
): ~unused~
Expand Down Expand Up @@ -13260,7 +13260,7 @@ <h1>
<emu-clause id="sec-runtime-semantics-evaluatebody" type="sdo">
<h1>
Runtime Semantics: EvaluateBody (
_functionObject_: a function object,
_functionObject_: an ECMAScript function object,
_argumentsList_: a List of ECMAScript language values,
): either a normal completion containing an ECMAScript language value or an abrupt completion
</h1>
Expand Down Expand Up @@ -13325,7 +13325,7 @@ <h1>
<emu-clause id="sec-ordinarycallevaluatebody" type="abstract operation">
<h1>
OrdinaryCallEvaluateBody (
_F_: a function object,
_F_: an ECMAScript function object,
_argumentsList_: a List of ECMAScript language values,
): either a normal completion containing an ECMAScript language value or an abrupt completion
</h1>
Expand Down Expand Up @@ -13386,7 +13386,7 @@ <h1>
_thisMode_: ~lexical-this~ or ~non-lexical-this~,
_env_: an Environment Record,
_privateEnv_: a PrivateEnvironment Record or *null*,
): a function object
): an ECMAScript function object
</h1>
<dl class="header">
<dt>description</dt>
Expand Down Expand Up @@ -13585,7 +13585,7 @@ <h1>
<emu-clause id="sec-functiondeclarationinstantiation" type="abstract operation">
<h1>
FunctionDeclarationInstantiation (
_func_: a function object,
_func_: an ECMAScript function object,
_argumentsList_: a List of ECMAScript language values,
): either a normal completion containing ~unused~ or an abrupt completion
</h1>
Expand Down Expand Up @@ -23251,7 +23251,7 @@ <h1>Static Semantics: FunctionBodyContainsUseStrict ( ): a Boolean</h1>
<emu-clause id="sec-runtime-semantics-evaluatefunctionbody" oldids="sec-function-definitions-runtime-semantics-evaluatebody" type="sdo">
<h1>
Runtime Semantics: EvaluateFunctionBody (
_functionObject_: a function object,
_functionObject_: an ECMAScript function object,
_argumentsList_: a List of ECMAScript language values,
): either a normal completion containing an ECMAScript language value or an abrupt completion
</h1>
Expand All @@ -23269,7 +23269,7 @@ <h1>
Runtime Semantics: InstantiateOrdinaryFunctionObject (
_env_: an Environment Record,
_privateEnv_: a PrivateEnvironment Record or *null*,
): a function object
): an ECMAScript function object
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -23299,7 +23299,7 @@ <h1>
<h1>
Runtime Semantics: InstantiateOrdinaryFunctionExpression (
optional _name_: a property key or a Private Name,
): a function object
): an ECMAScript function object
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -23434,7 +23434,7 @@ <h1>Static Semantics: ConciseBodyContainsUseStrict ( ): a Boolean</h1>
<emu-clause id="sec-runtime-semantics-evaluateconcisebody" oldids="sec-arrow-function-definitions-runtime-semantics-evaluatebody" type="sdo">
<h1>
Runtime Semantics: EvaluateConciseBody (
_functionObject_: a function object,
_functionObject_: an ECMAScript function object,
_argumentsList_: a List of ECMAScript language values,
): either a normal completion containing an ECMAScript language value or an abrupt completion
</h1>
Expand All @@ -23451,7 +23451,7 @@ <h1>
<h1>
Runtime Semantics: InstantiateArrowFunctionExpression (
optional _name_: a property key or a Private Name,
): a function object
): an ECMAScript function object
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -23589,7 +23589,7 @@ <h1>
Runtime Semantics: DefineMethod (
_object_: an Object,
optional _functionPrototype_: an Object,
): either a normal completion containing a Record with fields [[Key]] (a property key) and [[Closure]] (a function object) or an abrupt completion
): either a normal completion containing a Record with fields [[Key]] (a property key) and [[Closure]] (an ECMAScript function object) or an abrupt completion
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -23792,7 +23792,7 @@ <h1>Static Semantics: Early Errors</h1>
<emu-clause id="sec-runtime-semantics-evaluategeneratorbody" oldids="sec-generator-function-definitions-runtime-semantics-evaluatebody" type="sdo">
<h1>
Runtime Semantics: EvaluateGeneratorBody (
_functionObject_: a function object,
_functionObject_: an ECMAScript function object,
_argumentsList_: a List of ECMAScript language values,
): a throw completion or a return completion
</h1>
Expand All @@ -23813,7 +23813,7 @@ <h1>
Runtime Semantics: InstantiateGeneratorFunctionObject (
_env_: an Environment Record,
_privateEnv_: a PrivateEnvironment Record or *null*,
): a function object
): an ECMAScript function object
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -23845,7 +23845,7 @@ <h1>
<h1>
Runtime Semantics: InstantiateGeneratorFunctionExpression (
optional _name_: a property key or a Private Name,
): a function object
): an ECMAScript function object
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -24017,7 +24017,7 @@ <h1>Static Semantics: Early Errors</h1>
<emu-clause id="sec-runtime-semantics-evaluateasyncgeneratorbody" oldids="sec-asyncgenerator-definitions-evaluatebody" type="sdo">
<h1>
Runtime Semantics: EvaluateAsyncGeneratorBody (
_functionObject_: a function object,
_functionObject_: an ECMAScript function object,
_argumentsList_: a List of ECMAScript language values,
): a throw completion or a return completion
</h1>
Expand All @@ -24040,7 +24040,7 @@ <h1>
Runtime Semantics: InstantiateAsyncGeneratorFunctionObject (
_env_: an Environment Record,
_privateEnv_: a PrivateEnvironment Record or *null*,
): a function object
): an ECMAScript function object
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -24076,7 +24076,7 @@ <h1>
<h1>
Runtime Semantics: InstantiateAsyncGeneratorFunctionExpression (
optional _name_: a property key or a Private Name,
): a function object
): an ECMAScript function object
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -24639,7 +24639,7 @@ <h1>
<emu-clause id="sec-runtime-semantics-evaluateclassstaticblockbody" type="sdo">
<h1>
Runtime Semantics: EvaluateClassStaticBlockBody (
_functionObject_: a function object,
_functionObject_: an ECMAScript function object,
): either a normal completion containing an ECMAScript language value or an abrupt completion
</h1>
<dl class="header">
Expand Down Expand Up @@ -24961,7 +24961,7 @@ <h1>
Runtime Semantics: InstantiateAsyncFunctionObject (
_env_: an Environment Record,
_privateEnv_: a PrivateEnvironment Record or *null*,
): a function object
): an ECMAScript function object
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -24990,7 +24990,7 @@ <h1>
<h1>
Runtime Semantics: InstantiateAsyncFunctionExpression (
optional _name_: a property key or a Private Name,
): a function object
): an ECMAScript function object
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -25030,7 +25030,7 @@ <h1>
<emu-clause id="sec-runtime-semantics-evaluateasyncfunctionbody" oldids="sec-async-function-definitions-EvaluateBody" type="sdo">
<h1>
Runtime Semantics: EvaluateAsyncFunctionBody (
_functionObject_: a function object,
_functionObject_: an ECMAScript function object,
_argumentsList_: a List of ECMAScript language values,
): a return completion
</h1>
Expand Down Expand Up @@ -25137,7 +25137,7 @@ <h1>Static Semantics: AsyncConciseBodyContainsUseStrict ( ): a Boolean</h1>
<emu-clause id="sec-runtime-semantics-evaluateasyncconcisebody" oldids="sec-async-arrow-function-definitions-EvaluateBody" type="sdo">
<h1>
Runtime Semantics: EvaluateAsyncConciseBody (
_functionObject_: a function object,
_functionObject_: an ECMAScript function object,
_argumentsList_: a List of ECMAScript language values,
): a return completion
</h1>
Expand All @@ -25161,7 +25161,7 @@ <h1>
<h1>
Runtime Semantics: InstantiateAsyncArrowFunctionExpression (
optional _name_: a property key or a Private Name,
): a function object
): an ECMAScript function object
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -29993,7 +29993,7 @@ <h1>
_kind_: ~normal~, ~generator~, ~async~, or ~asyncGenerator~,
_parameterArgs_: a List of ECMAScript language values,
_bodyArg_: an ECMAScript language value,
): either a normal completion containing a function object or a throw completion
): either a normal completion containing an ECMAScript function object or a throw completion
</h1>
<dl class="header">
<dt>description</dt>
Expand Down

0 comments on commit 0802e7d

Please sign in to comment.