Add class-fields-private tags for matches using #

This commit is contained in:
Leo Balter 2017-11-28 12:08:58 -05:00
parent 77c70a514d
commit 358f03f824
No known key found for this signature in database
GPG Key ID: 507634D36E3F7CEE
26 changed files with 26 additions and 14 deletions

View File

@ -4,6 +4,7 @@
/*---
desc: Syntax error if you call delete on call expressions . privatename
template: delete-error
features: [class, class-fields-private, class-fields-public]
---*/
//- infieldsetup

View File

@ -13,7 +13,7 @@ info: |
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
features: [class-fields]
features: [class, class-fields-private, class-fields-public]
negative:
type: SyntaxError
phase: early

View File

@ -13,7 +13,7 @@ info: |
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
features: [class-fields]
features: [class, class-fields-private, class-fields-public]
negative:
type: SyntaxError
phase: early

View File

@ -11,7 +11,7 @@ info: |
UnaryExpression : delete UnaryExpression
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
features: [class-fields]
features: [class, class-fields-private, class-fields-public]
negative:
type: SyntaxError
phase: early

View File

@ -13,7 +13,7 @@ info: |
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
features: [class-fields]
features: [class, class-fields-private]
negative:
type: SyntaxError
phase: early

View File

@ -13,7 +13,7 @@ info: |
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
features: [class-fields]
features: [class, class-fields-private]
negative:
type: SyntaxError
phase: early

View File

@ -11,7 +11,7 @@ info: |
UnaryExpression : delete UnaryExpression
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
features: [class-fields]
features: [class, class-fields-private]
negative:
type: SyntaxError
phase: early

View File

@ -13,7 +13,7 @@ info: |
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
features: [class-fields]
features: [class, class-fields-private]
negative:
type: SyntaxError
phase: early

View File

@ -13,7 +13,7 @@ info: |
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
features: [class-fields]
features: [class, class-fields-private, class-fields-public]
negative:
type: SyntaxError
phase: early

View File

@ -11,7 +11,7 @@ info: |
UnaryExpression : delete UnaryExpression
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
features: [class-fields]
features: [class, class-fields-private, class-fields-public]
negative:
type: SyntaxError
phase: early

View File

@ -13,7 +13,7 @@ info: |
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
features: [class-fields]
features: [class, class-fields-private]
negative:
type: SyntaxError
phase: early

View File

@ -13,7 +13,7 @@ info: |
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
features: [class-fields]
features: [class, class-fields-private]
negative:
type: SyntaxError
phase: early

View File

@ -11,7 +11,7 @@ info: |
UnaryExpression : delete UnaryExpression
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
features: [class-fields]
features: [class, class-fields-private]
negative:
type: SyntaxError
phase: early

View File

@ -5,7 +5,7 @@
esid: sec-class-definitions-static-semantics-early-errors
path: language/statements/class/fields-private-arrow-fnc-
name: private field, arrow function expression
features: [arrow-function]
features: [class, arrow-function, class-fields-private]
---*/
throw "Test262: This statement should not be evaluated.";

View File

@ -5,6 +5,7 @@
esid: sec-class-definitions-static-semantics-early-errors
path: language/statements/class/fields-private-literal-name-
name: ClassElementName PrivateName
features: [class, class-fields-private]
---*/
throw "Test262: This statement should not be evaluated.";

View File

@ -5,6 +5,7 @@
esid: sec-class-definitions-static-semantics-early-errors
path: language/statements/class/fields-private-ternary-
name: private field, ternary expression
features: [class, class-fields-private]
---*/
throw "Test262: This statement should not be evaluated.";

View File

@ -5,6 +5,7 @@
esid: sec-class-definitions-static-semantics-early-errors
path: language/statements/class/fields-private-typeof-
name: private field, typeof expression
features: [class, class-fields-private]
---*/
throw "Test262: This statement should not be evaluated.";

View File

@ -5,6 +5,7 @@
esid: sec-class-definitions-static-semantics-early-errors
path: language/statements/class/fields-static-private-
name: static PrivateName
features: [class, class-fields-private]
---*/
throw "Test262: This statement should not be evaluated.";

View File

@ -5,7 +5,7 @@
esid: sec-class-definitions-static-semantics-early-errors
path: language/expressions/class/fields-private-arrow-fnc-
name: private field, arrow function expression
features: [arrow-function]
features: [class, arrow-function, class-fields-private]
---*/
throw "Test262: This statement should not be evaluated.";

View File

@ -5,6 +5,7 @@
esid: sec-class-definitions-static-semantics-early-errors
path: language/expressions/class/fields-private-literal-name-
name: ClassElementName PrivateName
features: [class, class-fields-private]
---*/
throw "Test262: This statement should not be evaluated.";

View File

@ -5,6 +5,7 @@
esid: sec-class-definitions-static-semantics-early-errors
path: language/expressions/class/fields-private-ternary-
name: private field, ternary expression
features: [class, class-fields-private]
---*/
throw "Test262: This statement should not be evaluated.";

View File

@ -5,6 +5,7 @@
esid: sec-class-definitions-static-semantics-early-errors
path: language/expressions/class/fields-private-typeof-
name: private field, typeof expression
features: [class, class-fields-private]
---*/
throw "Test262: This statement should not be evaluated.";

View File

@ -5,6 +5,7 @@
esid: sec-class-definitions-static-semantics-early-errors
path: language/expressions/class/fields-static-private-
name: static PrivateName
features: [class, class-fields-private]
---*/
throw "Test262: This statement should not be evaluated.";

View File

@ -4,6 +4,7 @@
/*---
desc: Syntax error if you call delete on member expressions . privatename
template: delete-error
features: [class-fields-private]
---*/
//- expression

View File

@ -17,6 +17,7 @@ info: |
PrivateName:
#IdentifierName
template: productions
features: [class-fields-private]
---*/
//- fields

View File

@ -17,6 +17,7 @@ info: |
PrivateName:
#IdentifierName
template: productions
features: [class-fields-private]
---*/
//- fields