Skip to content

Commit

Permalink
Editorial: consolidate method cases of PropertyDefinitionEvaluation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot authored and ljharb committed Jul 28, 2021
1 parent e3e5af6 commit 99b36f0
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -17913,31 +17913,10 @@ <h1>Runtime Semantics: PropertyDefinitionEvaluation</h1>
1. Assert: _object_ is an ordinary, extensible object with no non-configurable properties.
1. Return ! CreateDataPropertyOrThrow(_object_, _propKey_, _propValue_).
</emu-alg>
<emu-grammar>
MethodDefinition :
ClassElementName `(` UniqueFormalParameters `)` `{` FunctionBody `}`
`get` ClassElementName `(` `)` `{` FunctionBody `}`
`set` ClassElementName `(` PropertySetParameterList `)` `{` FunctionBody `}`
</emu-grammar>
<emu-grammar>PropertyDefinition : MethodDefinition</emu-grammar>
<emu-alg>
1. Return ? MethodDefinitionEvaluation of |MethodDefinition| with arguments _object_ and *true*.
</emu-alg>
<emu-grammar>GeneratorMethod : `*` ClassElementName `(` UniqueFormalParameters `)` `{` GeneratorBody `}`</emu-grammar>
<emu-alg>
1. Return ? MethodDefinitionEvaluation of |GeneratorMethod| with arguments _object_ and *true*.
</emu-alg>
<emu-grammar>
AsyncGeneratorMethod : `async` `*` ClassElementName `(` UniqueFormalParameters `)` `{` AsyncGeneratorBody `}`
</emu-grammar>
<emu-alg>
1. Return ? MethodDefinitionEvaluation of |AsyncGeneratorMethod| with arguments _object_ and *true*.
</emu-alg>
<emu-grammar>
AsyncMethod : `async` ClassElementName `(` UniqueFormalParameters `)` `{` AsyncFunctionBody `}`
</emu-grammar>
<emu-alg>
1. Return ? MethodDefinitionEvaluation of |AsyncMethod| with arguments _object_ and *true*.
</emu-alg>
</emu-clause>
</emu-clause>

Expand Down

0 comments on commit 99b36f0

Please sign in to comment.