Skip to content
Snippets Groups Projects
Unverified Commit 3e2d3495 authored by Leo Balter's avatar Leo Balter
Browse files

Add features for class public fields

parent 358f03f8
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/*--- /*---
path: language/statements/class/fields-evaluation-error- path: language/statements/class/fields-evaluation-error-
name: field definitions in a class declaration name: field definitions in a class declaration
features: [class-fields] features: [class, class-fields-public]
esid: sec-runtime-semantics-classdefinitionevaluation esid: sec-runtime-semantics-classdefinitionevaluation
---*/ ---*/
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/*--- /*---
path: language/expressions/class/fields-evaluation-error- path: language/expressions/class/fields-evaluation-error-
name: field definitions in a class expression name: field definitions in a class expression
features: [class-fields] features: [class, class-fields-public]
esid: sec-runtime-semantics-classdefinitionevaluation esid: sec-runtime-semantics-classdefinitionevaluation
---*/ ---*/
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/*--- /*---
path: language/statements/class/fields- path: language/statements/class/fields-
name: field definitions in a class declaration name: field definitions in a class declaration
features: [class-fields] features: [class, class-fields-public]
esid: prod-FieldDefinition esid: prod-FieldDefinition
---*/ ---*/
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/*--- /*---
path: language/expressions/class/fields- path: language/expressions/class/fields-
name: field definitions in a class expression name: field definitions in a class expression
features: [class-fields] features: [class, class-fields-public]
esid: prod-FieldDefinition esid: prod-FieldDefinition
---*/ ---*/
......
...@@ -17,7 +17,7 @@ info: | ...@@ -17,7 +17,7 @@ info: |
1. If the StringValue of Identifier is "arguments", return true. 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. 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 template: initializer-eval-arguments
---*/ ---*/
......
...@@ -16,7 +16,7 @@ info: | ...@@ -16,7 +16,7 @@ info: |
ScriptBody:StatementList ScriptBody:StatementList
It is a Syntax Error if StatementList Contains NewTarget. It is a Syntax Error if StatementList Contains NewTarget.
features: [class-fields] features: [class, class-fields-public]
template: initializer-eval-newtarget template: initializer-eval-newtarget
---*/ ---*/
......
...@@ -16,7 +16,7 @@ info: | ...@@ -16,7 +16,7 @@ info: |
ScriptBody:StatementList ScriptBody:StatementList
It is a Syntax Error if StatementList Contains SuperCall. It is a Syntax Error if StatementList Contains SuperCall.
features: [class-fields] features: [class, class-fields-public]
template: initializer-eval-super-call template: initializer-eval-super-call
---*/ ---*/
......
...@@ -16,7 +16,7 @@ info: | ...@@ -16,7 +16,7 @@ info: |
ScriptBody:StatementList ScriptBody:StatementList
It is a Syntax Error if StatementList Contains SuperCall. It is a Syntax Error if StatementList Contains SuperCall.
features: [class-fields] features: [class, class-fields-public]
template: initializer-eval-super-call template: initializer-eval-super-call
---*/ ---*/
......
...@@ -16,7 +16,7 @@ info: | ...@@ -16,7 +16,7 @@ info: |
ScriptBody:StatementList ScriptBody:StatementList
It is a Syntax Error if StatementList Contains SuperCall. It is a Syntax Error if StatementList Contains SuperCall.
features: [class-fields] features: [class, class-fields-public]
template: initializer-eval-super-call template: initializer-eval-super-call
---*/ ---*/
......
...@@ -16,7 +16,7 @@ info: | ...@@ -16,7 +16,7 @@ info: |
ScriptBody:StatementList ScriptBody:StatementList
It is a Syntax Error if StatementList Contains SuperProperty. It is a Syntax Error if StatementList Contains SuperProperty.
features: [class-fields] features: [class, class-fields-public]
template: initializer-eval-super-property template: initializer-eval-super-property
---*/ ---*/
......
...@@ -16,7 +16,7 @@ info: | ...@@ -16,7 +16,7 @@ info: |
ScriptBody:StatementList ScriptBody:StatementList
It is a Syntax Error if StatementList Contains SuperProperty. It is a Syntax Error if StatementList Contains SuperProperty.
features: [class-fields] features: [class, class-fields-public]
template: initializer-eval-super-property template: initializer-eval-super-property
---*/ ---*/
......
...@@ -17,7 +17,7 @@ info: | ...@@ -17,7 +17,7 @@ info: |
1. If the StringValue of Identifier is "arguments", return true. 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. 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]
negative: negative:
type: SyntaxError type: SyntaxError
phase: early phase: early
......
...@@ -10,7 +10,7 @@ info: | ...@@ -10,7 +10,7 @@ info: |
PropertyNameInitializeropt PropertyNameInitializeropt
- It is a Syntax Error if Initializer is present and Initializer Contains SuperCall is true. - It is a Syntax Error if Initializer is present and Initializer Contains SuperCall is true.
features: [class-fields] features: [class, class-fields-public]
negative: negative:
type: SyntaxError type: SyntaxError
phase: early phase: early
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/*--- /*---
path: language/statements/class/fields-same-line-async-gen- path: language/statements/class/fields-same-line-async-gen-
name: field definitions after an async generator in the same line name: field definitions after an async generator in the same line
features: [class-fields, async-iteration] features: [class, class-fields-public, async-iteration]
flags: [async] flags: [async]
esid: prod-FieldDefinition esid: prod-FieldDefinition
includes: [propertyHelper.js] includes: [propertyHelper.js]
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/*--- /*---
path: language/statements/class/fields-same-line-async-method- path: language/statements/class/fields-same-line-async-method-
name: field definitions after an async method in the same line name: field definitions after an async method in the same line
features: [class-fields, async-functions] features: [class, class-fields-public, async-functions]
flags: [async] flags: [async]
esid: prod-FieldDefinition esid: prod-FieldDefinition
includes: [propertyHelper.js] includes: [propertyHelper.js]
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/*--- /*---
path: language/statements/class/fields-after-same-line-gen- path: language/statements/class/fields-after-same-line-gen-
name: field definitions after a generator in the same line name: field definitions after a generator in the same line
features: [generators, class-fields] features: [generators, class, class-fields-public]
esid: prod-FieldDefinition esid: prod-FieldDefinition
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/*--- /*---
path: language/statements/class/fields-after-same-line-method- path: language/statements/class/fields-after-same-line-method-
name: field definitions after a method in the same line name: field definitions after a method in the same line
features: [class-fields] features: [class, class-fields-public]
esid: prod-FieldDefinition esid: prod-FieldDefinition
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/*--- /*---
path: language/statements/class/fields-after-same-line-static-async-gen- path: language/statements/class/fields-after-same-line-static-async-gen-
name: field definitions after a static async generator in the same line name: field definitions after a static async generator in the same line
features: [class-fields, async-iteration] features: [class, class-fields-public, async-iteration]
flags: [async] flags: [async]
esid: prod-FieldDefinition esid: prod-FieldDefinition
includes: [propertyHelper.js] includes: [propertyHelper.js]
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/*--- /*---
path: language/statements/class/fields-after-same-line-static-async-method- path: language/statements/class/fields-after-same-line-static-async-method-
name: field definitions after a static async method in the same line name: field definitions after a static async method in the same line
features: [class-fields, async-functions] features: [class, class-fields-public, async-functions]
flags: [async] flags: [async]
esid: prod-FieldDefinition esid: prod-FieldDefinition
includes: [propertyHelper.js] includes: [propertyHelper.js]
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/*--- /*---
path: language/statements/class/fields-after-same-line-static-gen- path: language/statements/class/fields-after-same-line-static-gen-
name: field definitions after a static generator in the same line name: field definitions after a static generator in the same line
features: [generators, class-fields] features: [generators, class, class-fields-public]
esid: prod-FieldDefinition esid: prod-FieldDefinition
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment