Skip to content

Commit

Permalink
fixup! Normative: Add public and private class fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Aug 14, 2019
1 parent 32bb006 commit a4a0348
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -20136,7 +20136,7 @@ <h1>Static Semantics: Early Errors</h1>
<li>It is a Syntax Error if |Initializer| is present and |Initializer| Contains |SuperCall| is *true*.</li>
</ul>

<emu-grammar>ClassElementName : PrivateIdentifier `;`</emu-grammar>
<emu-grammar>ClassElementName : PrivateIdentifier</emu-grammar>
<ul>
<li>It is a Syntax Error if StringValue of |PrivateIdentifier| is `"#constructor"`.</li>
</ul>
Expand Down Expand Up @@ -20333,14 +20333,7 @@ <h1>Static Semantics: PropName</h1>
</emu-alg>

<emu-grammar>
ClassElementName[Yield, Await] : PropertyName[?Yield, ?Await]
</emu-grammar>
<emu-alg>
1. Return PropName of |PropertyName|.
</emu-alg>

<emu-grammar>
ClassElementName[Yield, Await] : PrivateIdentifier
ClassElementName : PrivateIdentifier
</emu-grammar>
<emu-alg>
1. Return ~empty~.
Expand Down Expand Up @@ -20423,13 +20416,6 @@ <h1>Static Semantics: PrivateBoundIdentifiers</h1>
1. Return a new empty List.
</emu-alg>

<emu-grammar>
ClassElementList : ClassElement
</emu-grammar>
<emu-alg>
1. Return PrivateBoundIdentifiers of |ClassElement|.
</emu-alg>

<emu-grammar>
ClassElementList : ClassElementList ClassElement
</emu-grammar>
Expand All @@ -20438,13 +20424,6 @@ <h1>Static Semantics: PrivateBoundIdentifiers</h1>
1. Append to _names_ the elements of PrivateBoundIdentifiers of |ClassElement|.
1. Return _names_.
</emu-alg>

<emu-grammar>
ClassBody : ClassElementList
</emu-grammar>
<emu-alg>
1. Return PrivateBoundIdentifiers of |ClassElementList|.
</emu-alg>
</emu-clause>

<emu-clause id="sec-class-definitions-static-semantics-containsarguments">
Expand Down

0 comments on commit a4a0348

Please sign in to comment.