Skip to content
Snippets Groups Projects
Unverified Commit 3d258fd2 authored by Rick Waldron's avatar Rick Waldron Committed by GitHub
Browse files

Merge pull request #1359 from leobalter/class-private-tags

Split class fields tags
parents 77c70a51 6f8c89df
No related branches found
No related tags found
No related merge requests found
Showing
with 21 additions and 19 deletions
......@@ -13,7 +13,8 @@ BigInt
# Class Fields
# https://github.com/tc39/proposal-class-fields
class-fields
class-fields-public
class-fields-private
# Promise.prototype.finally
# https://github.com/tc39/proposal-promise-finally
......
......@@ -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
......
......@@ -4,7 +4,7 @@
/*---
path: language/statements/class/fields-evaluation-error-
name: field definitions in a class declaration
features: [class-fields]
features: [class, class-fields-public]
esid: sec-runtime-semantics-classdefinitionevaluation
---*/
......
......@@ -4,7 +4,7 @@
/*---
path: language/expressions/class/fields-evaluation-error-
name: field definitions in a class expression
features: [class-fields]
features: [class, class-fields-public]
esid: sec-runtime-semantics-classdefinitionevaluation
---*/
......
......@@ -4,7 +4,7 @@
/*---
path: language/statements/class/fields-
name: field definitions in a class declaration
features: [class-fields]
features: [class, class-fields-public]
esid: prod-FieldDefinition
---*/
......
......@@ -4,7 +4,7 @@
/*---
path: language/expressions/class/fields-
name: field definitions in a class expression
features: [class-fields]
features: [class, class-fields-public]
esid: prod-FieldDefinition
---*/
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -17,7 +17,7 @@ info: |
1. If the StringValue of Identifier is "arguments", return true.
...
For all other grammatical productions, recurse on all nonterminals. If any piece returns true, then return true. Otherwise return false.
features: [class-fields]
features: [class, class-fields-public]
template: initializer-eval-arguments
---*/
......
......@@ -16,7 +16,7 @@ info: |
ScriptBody:StatementList
It is a Syntax Error if StatementList Contains NewTarget.
features: [class-fields]
features: [class, class-fields-public]
template: initializer-eval-newtarget
---*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment