@@ -25,9 +25,6 @@ <h1>Syntax</h1>
25
25
` struct` [no LineTerminator here ] BindingIdentifier [? Yield , ? Await ] StructTail [? Yield , ? Await ]
26
26
[+ Default ] ` struct` [no LineTerminator here ] StructTail [? Yield , ? Await ]
27
27
28
- StructExpression [Yield , Await ] :
29
- ` struct` [no LineTerminator here ] BindingIdentifier [? Yield , ? Await ]? StructTail [? Yield , ? Await ]
30
-
31
28
StructTail [Yield , Await ] :
32
29
ClassHeritage [? Yield , ? Await ]? ` {` StructBody [? Yield , ? Await ]? ` }`
33
30
@@ -301,19 +298,6 @@ <h1>Runtime Semantics: Evaluation</h1>
301
298
1. Perform ? BindingStructDeclarationEvaluation of this | StructDeclaration | .
302
299
1. Return ~empty~ .
303
300
</emu-alg >
304
- <emu-grammar >StructExpression : ` struct` StructTail </emu-grammar >
305
- <emu-alg >
306
- 1. Let _value_ be ? StructDefinitionEvaluation of | StructTail | with arguments *undefined* and *""* .
307
- 1. Set _value_ .[[SourceText]] to the source text matched by | StructExpression | .
308
- 1. Return _value_ .
309
- </emu-alg >
310
- <emu-grammar >StructExpression : ` struct` BindingIdentifier StructTail </emu-grammar >
311
- <emu-alg >
312
- 1. Let _structName_ be StringValue of | BindingIdentifier | .
313
- 1. Let _value_ be ? StructDefinitionEvaluation of | StructTail | with arguments _structName_ and _structName_ .
314
- 1. Set _value_ .[[SourceText]] to the source text matched by | StructExpression | .
315
- 1. Return _value_ .
316
- </emu-alg >
317
301
</emu-clause >
318
302
</ins >
319
303
</emu-clause >
@@ -754,9 +738,6 @@ <h1>Syntax</h1>
754
738
` shared` [no LineTerminator here ] ` struct` [no LineTerminator here ] BindingIdentifier [? Yield , ? Await ] SharedStructTail [? Yield , ? Await ]
755
739
[+ Default ] ` shared` [no LineTerminator here ] ` struct` [no LineTerminator here ] SharedStructTail [? Yield , ? Await ]
756
740
757
- StructExpression [Yield , Await ] :
758
- ` shared` [no LineTerminator here ] ` struct` [no LineTerminator here ] BindingIdentifier [? Yield , ? Await ]? SharedStructTail [? Yield , ? Await ]
759
-
760
741
SharedStructTail [Yield , Await ] :
761
742
ClassHeritage [? Yield , ? Await ]? ` {` SharedStructBody [? Yield , ? Await ]? ` }`
762
743
@@ -1049,19 +1030,6 @@ <h1>Runtime Semantics: Evaluation</h1>
1049
1030
1. Perform ? BindingStructDeclarationEvaluation of this |StructDeclaration|.
1050
1031
1. Return ~empty~.
1051
1032
</emu-alg>
1052
- <emu-grammar>StructExpression : `shared` `struct` SharedStructTail</emu-grammar>
1053
- <emu-alg>
1054
- 1. Let _value_ be ? SharedStructDefinitionEvaluation of |SharedStructTail| with arguments *undefined* and *" " *.
1055
- 1. Set _value_.[[SourceText]] to the source text matched by |StructExpression|.
1056
- 1. Return _value_.
1057
- </emu-alg>
1058
- <emu-grammar>StructExpression : `shared` `struct` BindingIdentifier SharedStructTail</emu-grammar>
1059
- <emu-alg>
1060
- 1. Let _structName_ be StringValue of |BindingIdentifier|.
1061
- 1. Let _value_ be ? SharedStructDefinitionEvaluation of |SharedStructTail| with arguments _structName_ and _structName_.
1062
- 1. Set _value_.[[SourceText]] to the source text matched by |StructExpression|.
1063
- 1. Return _value_.
1064
- </emu-alg>
1065
1033
</emu-clause>
1066
1034
</ins>
1067
1035
</emu-clause>
0 commit comments