-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1660 from rwaldron/restore-spectranaut-tests
Restore class field tests: public, private (+static)
- Loading branch information
Showing
1,428 changed files
with
107,353 additions
and
2,313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
src/class-fields/grammar-field-classelementname-initializer-alt.case
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
// Copyright (C) 2018 Rick Waldron. All rights reserved. | ||
// This code is governed by the BSD license found in the LICENSE file. | ||
|
||
/*--- | ||
desc: FieldDefinition, ClassElementName, PropertyName = Initializer Syntax | ||
info: | | ||
|
||
ClassElement : | ||
... | ||
FieldDefinition ; | ||
; | ||
|
||
FieldDefinition : | ||
ClassElementName Initializer _opt | ||
|
||
ClassElementName : | ||
PropertyName | ||
PrivateName | ||
|
||
PropertyName : | ||
LiteralPropertyName | ||
ComputedPropertyName | ||
|
||
LiteralPropertyName : | ||
IdentifierName | ||
|
||
Initializer : | ||
= AssignmentExpression | ||
|
||
IdentifierName :: | ||
IdentifierStart | ||
IdentifierName IdentifierPart | ||
|
||
IdentifierStart :: | ||
UnicodeIDStart | ||
$ | ||
_ | ||
\ UnicodeEscapeSequence | ||
|
||
IdentifierPart :: | ||
UnicodeIDContinue | ||
$ | ||
\ UnicodeEscapeSequence | ||
<ZWNJ> <ZWJ> | ||
|
||
UnicodeIDStart :: | ||
any Unicode code point with the Unicode property "ID_Start" | ||
|
||
UnicodeIDContinue :: | ||
any Unicode code point with the Unicode property "ID_Continue" | ||
|
||
|
||
NOTE 3 | ||
The sets of code points with Unicode properties "ID_Start" and | ||
"ID_Continue" include, respectively, the code points with Unicode | ||
properties "Other_ID_Start" and "Other_ID_Continue". | ||
|
||
template: syntax/valid | ||
features: [class-fields-public] | ||
---*/ | ||
|
||
//- fields | ||
$ = 1; | ||
_ = 2; | ||
\u{6F} = 3; | ||
℘ = 4; // DO NOT CHANGE THE NAME OF THIS FIELD | ||
ZW__NJ = 5; // DO NOT CHANGE THE NAME OF THIS FIELD | ||
ZW__J = 6; // DO NOT CHANGE THE NAME OF THIS FIELD |
68 changes: 68 additions & 0 deletions
68
src/class-fields/grammar-field-classelementname-initializer.case
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
// Copyright (C) 2018 Rick Waldron. All rights reserved. | ||
// This code is governed by the BSD license found in the LICENSE file. | ||
|
||
/*--- | ||
desc: FieldDefinition, ClassElementName, PropertyName = Initializer Syntax | ||
info: | | ||
|
||
ClassElement : | ||
... | ||
FieldDefinition ; | ||
; | ||
|
||
FieldDefinition : | ||
ClassElementName Initializer _opt | ||
|
||
ClassElementName : | ||
PropertyName | ||
PrivateName | ||
|
||
PropertyName : | ||
LiteralPropertyName | ||
ComputedPropertyName | ||
|
||
LiteralPropertyName : | ||
IdentifierName | ||
|
||
Initializer : | ||
= AssignmentExpression | ||
|
||
IdentifierName :: | ||
IdentifierStart | ||
IdentifierName IdentifierPart | ||
|
||
IdentifierStart :: | ||
UnicodeIDStart | ||
$ | ||
_ | ||
\ UnicodeEscapeSequence | ||
|
||
IdentifierPart :: | ||
UnicodeIDContinue | ||
$ | ||
\ UnicodeEscapeSequence | ||
<ZWNJ> <ZWJ> | ||
|
||
UnicodeIDStart :: | ||
any Unicode code point with the Unicode property "ID_Start" | ||
|
||
UnicodeIDContinue :: | ||
any Unicode code point with the Unicode property "ID_Continue" | ||
|
||
|
||
NOTE 3 | ||
The sets of code points with Unicode properties "ID_Start" and | ||
"ID_Continue" include, respectively, the code points with Unicode | ||
properties "Other_ID_Start" and "Other_ID_Continue". | ||
|
||
template: syntax/valid | ||
features: [class-fields-public] | ||
---*/ | ||
|
||
//- fields | ||
$ = 1; | ||
_ = 2; | ||
\u{6F} = 3; | ||
\u2118 = 4; | ||
ZW_\u200C_NJ = 5; | ||
ZW_\u200D_J = 6; |
Oops, something went wrong.