rename fields to elements in src/class-elements

This commit is contained in:
Leo Balter 2018-11-15 13:27:33 -05:00 committed by Rick Waldron
parent 9084e6cea9
commit 41844c7c08
91 changed files with 91 additions and 91 deletions

View File

@ -10,7 +10,7 @@ esid: sec-runtime-semantics-classdefinitionevaluation
function evaluate() { function evaluate() {
class C { class C {
/*{ fields }*/ /*{ elements }*/
} }
} }

View File

@ -10,7 +10,7 @@ esid: sec-runtime-semantics-classdefinitionevaluation
function evaluate() { function evaluate() {
var C = class { var C = class {
/*{ fields }*/ /*{ elements }*/
}; };
} }

View File

@ -45,7 +45,7 @@ function fn() {
throw new Test262Error(); throw new Test262Error();
} }
//- fields //- elements
[noRef] = fn(); [noRef] = fn();
//- error //- error
ReferenceError ReferenceError

View File

@ -47,7 +47,7 @@ var obj = {
} }
}; };
//- fields //- elements
[obj] [obj]
//- error //- error
Test262Error Test262Error

View File

@ -45,7 +45,7 @@ var obj = {
[Symbol.toPrimitive]: {} [Symbol.toPrimitive]: {}
}; };
//- fields //- elements
[obj] = refErrorIfEvaluated; [obj] = refErrorIfEvaluated;
//- error //- error
TypeError TypeError

View File

@ -45,7 +45,7 @@ var obj = {
[Symbol.toPrimitive]: 42 [Symbol.toPrimitive]: 42
}; };
//- fields //- elements
[obj] = refErrorIfEvaluated; [obj] = refErrorIfEvaluated;
//- error //- error
TypeError TypeError

View File

@ -62,7 +62,7 @@ var obj3 = {
valueOf: function() { return s3; } valueOf: function() { return s3; }
}; };
//- fields //- elements
[obj1] = 42; [obj1] = 42;
[obj2] = 43; [obj2] = 43;
[obj3] = 44; [obj3] = 44;

View File

@ -59,7 +59,7 @@ var obj3 = {
valueOf: function() { return "f"; } valueOf: function() { return "f"; }
}; };
//- fields //- elements
[obj1] = 42; [obj1] = 42;
[obj2] = 43; [obj2] = 43;
[obj3] = 44; [obj3] = 44;

View File

@ -47,7 +47,7 @@ var obj = {
} }
}; };
//- fields //- elements
[obj] [obj]
//- error //- error
Test262Error Test262Error

View File

@ -48,7 +48,7 @@ var obj = {
} }
}; };
//- fields //- elements
[obj] [obj]
//- error //- error
Test262Error Test262Error

View File

@ -21,7 +21,7 @@ features: [class-fields-public, computed-property-names]
//- setup //- setup
var x = "b"; var x = "b";
//- fields //- elements
[x] = 42; [10] = "meep"; ["not initialized"] [x] = 42; [10] = "meep"; ["not initialized"]
//- assertions //- assertions

View File

@ -22,7 +22,7 @@ features: [class-fields-public, Symbol, computed-property-names]
var x = Symbol(); var x = Symbol();
var y = Symbol(); var y = Symbol();
//- fields //- elements
[x]; [y] = 42 [x]; [y] = 42
//- assertions //- assertions
assert.sameValue(Object.hasOwnProperty.call(C.prototype, x), false); assert.sameValue(Object.hasOwnProperty.call(C.prototype, x), false);

View File

@ -19,7 +19,7 @@ features: [class-fields-public]
//- setup //- setup
var ctor; var ctor;
//- fields //- elements
constructor() { constructor() {
ctor = this.foo; ctor = this.foo;
} }

View File

@ -9,7 +9,7 @@ esid: prod-FieldDefinition
---*/ ---*/
class C { class C {
/*{ fields }*/ /*{ elements }*/
} }
/*{ assertions }*/ /*{ assertions }*/

View File

@ -9,7 +9,7 @@ esid: prod-FieldDefinition
---*/ ---*/
var C = class { var C = class {
/*{ fields }*/ /*{ elements }*/
} }
/*{ assertions }*/ /*{ assertions }*/

View File

@ -62,7 +62,7 @@ template: productions
features: [class-fields-private] features: [class-fields-private]
---*/ ---*/
//- fields //- elements
#\u{6F}; #\u{6F};
#\u2118; #\u2118;
#ZW_\u200C_NJ; #ZW_\u200C_NJ;

View File

@ -21,7 +21,7 @@ features: [class-fields-public]
var x = 0; var x = 0;
function fn1() { x += 1; } function fn1() { x += 1; }
function fn2() { throw new Test262Error(); } function fn2() { throw new Test262Error(); }
//- fields //- elements
x = fn1(); x = fn1();
y = fn2(); y = fn2();
z = fn1(); z = fn1();

View File

@ -20,7 +20,7 @@ includes: [propertyHelper.js]
//- setup //- setup
var x = false; var x = false;
//- fields //- elements
[x] = x; [x] = x;
//- assertions //- assertions
var c1 = new C(); var c1 = new C();

View File

@ -29,7 +29,7 @@ includes: [propertyHelper.js]
//- setup //- setup
var x = 1; var x = 1;
//- fields //- elements
[x++] = x++; [x++] = x++;
[x++] = x++; [x++] = x++;
//- assertions //- assertions

View File

@ -18,7 +18,7 @@ includes: [propertyHelper.js]
features: [class-fields-public] features: [class-fields-public]
---*/ ---*/
//- fields //- elements
a a
b = 42; b = 42;
//- assertions //- assertions

View File

@ -21,7 +21,7 @@ features: [class-fields-public]
//- setup //- setup
const fn = function() {} const fn = function() {}
//- fields //- elements
a; b = 42; a; b = 42;
c = fn c = fn
//- assertions //- assertions

View File

@ -20,7 +20,7 @@ template: productions
features: [class-methods-private] features: [class-methods-private]
---*/ ---*/
//- fields //- elements
#m = 'test262'; #m = 'test262';
//- privateinspectionfunctions //- privateinspectionfunctions
method() { method() {

View File

@ -20,7 +20,7 @@ template: productions
features: [class-methods-private] features: [class-methods-private]
---*/ ---*/
//- fields //- elements
get #m() { return 'test262'; } get #m() { return 'test262'; }
//- privateinspectionfunctions //- privateinspectionfunctions
method() { method() {

View File

@ -20,7 +20,7 @@ template: productions
features: [class-methods-private] features: [class-methods-private]
---*/ ---*/
//- fields //- elements
#m() { return 'test262'; } #m() { return 'test262'; }
//- privateinspectionfunctions //- privateinspectionfunctions
method() { method() {

View File

@ -21,7 +21,7 @@ template: productions
features: [class-fields-private] features: [class-fields-private]
---*/ ---*/
//- fields //- elements
#x; #y #x; #y
//- privateinspectionfunctions //- privateinspectionfunctions
x() { x() {

View File

@ -11,7 +11,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
async *m() { return 42; } /*{ fields }*/; async *m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -11,7 +11,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
async m() { return 42; } /*{ fields }*/; async m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
*m() { return 42; } /*{ fields }*/; *m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
m() { return 42; } /*{ fields }*/; m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -11,7 +11,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
static async *m() { return 42; } /*{ fields }*/; static async *m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -11,7 +11,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
static async m() { return 42; } /*{ fields }*/; static async m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
static *m() { return 42; } /*{ fields }*/; static *m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
static m() { return 42; } /*{ fields }*/; static m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -12,7 +12,7 @@ includes: [propertyHelper.js]
class C { class C {
foo = "foobar"; foo = "foobar";
m() { return 42 } m() { return 42 }
/*{ fields }*/ /*{ elements }*/
m2() { return 39 } m2() { return 39 }
bar = "barbaz"; bar = "barbaz";
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
/*{ fields }*/ /*{ elements }*/
foo = "foobar" foo = "foobar"
bar = "barbaz"; bar = "barbaz";
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
/*{ fields }*/ /*{ elements }*/
m() { return 42; } m() { return 42; }
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
/*{ fields }*/; /*{ elements }*/;
*m() { return 42; } *m() { return 42; }
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
/*{ fields }*/; /*{ elements }*/;
m() { return 42; } m() { return 42; }
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -9,7 +9,7 @@ esid: prod-FieldDefinition
---*/ ---*/
class C { class C {
/*{ fields }*/ /*{ elements }*/
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
/*{ fields }*/; *m() { return 42; } /*{ elements }*/; *m() { return 42; }
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
class C { class C {
/*{ fields }*/; m() { return 42; } /*{ elements }*/; m() { return 42; }
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ esid: prod-FieldDefinition
class C { class C {
;;;; ;;;;
;;;;;;/*{ fields }*/;;;;;;; ;;;;;;/*{ elements }*/;;;;;;;
;;;; ;;;;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -11,7 +11,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
async *m() { return 42; } /*{ fields }*/; async *m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -11,7 +11,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
async m() { return 42; } /*{ fields }*/; async m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
*m() { return 42; } /*{ fields }*/; *m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
m() { return 42; } /*{ fields }*/; m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -11,7 +11,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
static async *m() { return 42; } /*{ fields }*/; static async *m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -11,7 +11,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
static async m() { return 42; } /*{ fields }*/; static async m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
static *m() { return 42; } /*{ fields }*/; static *m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
static m() { return 42; } /*{ fields }*/; static m() { return 42; } /*{ elements }*/;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -12,7 +12,7 @@ includes: [propertyHelper.js]
var C = class { var C = class {
foo = "foobar"; foo = "foobar";
m() { return 42 } m() { return 42 }
/*{ fields }*/ /*{ elements }*/
m2() { return 39 } m2() { return 39 }
bar = "barbaz"; bar = "barbaz";
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
/*{ fields }*/ /*{ elements }*/
foo = "foobar" foo = "foobar"
bar = "barbaz"; bar = "barbaz";
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
/*{ fields }*/ /*{ elements }*/
m() { return 42; } m() { return 42; }
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
/*{ fields }*/; /*{ elements }*/;
*m() { return 42; } *m() { return 42; }
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
/*{ fields }*/; /*{ elements }*/;
m() { return 42; } m() { return 42; }
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -9,7 +9,7 @@ esid: prod-FieldDefinition
---*/ ---*/
var C = class { var C = class {
/*{ fields }*/ /*{ elements }*/
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
/*{ fields }*/; *m() { return 42; } /*{ elements }*/; *m() { return 42; }
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ includes: [propertyHelper.js]
---*/ ---*/
var C = class { var C = class {
/*{ fields }*/; m() { return 42; } /*{ elements }*/; m() { return 42; }
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -10,7 +10,7 @@ esid: prod-FieldDefinition
var C = class { var C = class {
;;;; ;;;;
;;;;;;/*{ fields }*/;;;;;;; ;;;;;;/*{ elements }*/;;;;;;;
;;;; ;;;;
/*{ privateinspectionfunctions }*/ /*{ privateinspectionfunctions }*/
} }

View File

@ -33,7 +33,7 @@ includes: [propertyHelper.js, compareArray.js]
//- setup //- setup
var x = []; var x = [];
var y = Symbol(); var y = Symbol();
//- fields //- elements
[y] = (x.push("a"), "old_value"); [y] = (x.push("a"), "old_value");
[y] = (x.push("b"), "same_value"); [y] = (x.push("b"), "same_value");
[y] = (x.push("c"), "same_value"); [y] = (x.push("c"), "same_value");

View File

@ -32,7 +32,7 @@ includes: [propertyHelper.js, compareArray.js]
//- setup //- setup
var x = []; var x = [];
//- fields //- elements
y = (x.push("a"), "old_value"); y = (x.push("a"), "old_value");
["y"] = (x.push("b"), "another_value"); ["y"] = (x.push("b"), "another_value");
"y" = (x.push("c"), "same_value"); "y" = (x.push("c"), "same_value");

View File

@ -55,7 +55,7 @@ template: productions
features: [class-fields-public] features: [class-fields-public]
---*/ ---*/
//- fields //- elements
$ = 1; _ = 1; \u{6F} = 1; \u2118 = 1; ZW_\u200C_NJ = 1; ZW_\u200D_J = 1 $ = 1; _ = 1; \u{6F} = 1; \u2118 = 1; ZW_\u200C_NJ = 1; ZW_\u200D_J = 1
//- assertions //- assertions
assert.sameValue(c.$, 1); assert.sameValue(c.$, 1);

View File

@ -55,7 +55,7 @@ template: productions
features: [class-fields-public] features: [class-fields-public]
---*/ ---*/
//- fields //- elements
$; _; \u{6F}; \u2118; ZW_\u200C_NJ; ZW_\u200D_J $; _; \u{6F}; \u2118; ZW_\u200C_NJ; ZW_\u200D_J
//- assertions //- assertions
c.$ = 1; c.$ = 1;

View File

@ -53,7 +53,7 @@ template: productions
features: [class-methods-private] features: [class-methods-private]
---*/ ---*/
//- fields //- elements
#$_; #__; #\u{6F}_; #℘_; #ZW__NJ_; #ZW__J_; #$_; #__; #\u{6F}_; #℘_; #ZW__NJ_; #ZW__J_;
get #$() { get #$() {
return this.#$_; return this.#$_;

View File

@ -53,7 +53,7 @@ template: productions
features: [class-methods-private] features: [class-methods-private]
---*/ ---*/
//- fields //- elements
#$_; #__; #\u{6F}_; #\u2118_; #ZW_\u200C_NJ_; #ZW_\u200D_J_; #$_; #__; #\u{6F}_; #\u2118_; #ZW_\u200C_NJ_; #ZW_\u200D_J_;
get #$() { get #$() {
return this.#$_; return this.#$_;

View File

@ -52,7 +52,7 @@ template: productions
features: [class-methods-private] features: [class-methods-private]
---*/ ---*/
//- fields //- elements
#$_; #__; #\u{6F}_; #℘_; #ZW__NJ_; #ZW__J_; #$_; #__; #\u{6F}_; #℘_; #ZW__NJ_; #ZW__J_;
#$() { #$() {
return this.#$_; return this.#$_;

View File

@ -52,7 +52,7 @@ template: productions
features: [class-methods-private] features: [class-methods-private]
---*/ ---*/
//- fields //- elements
#$_; #__; #\u{6F}_; #\u2118_; #ZW_\u200C_NJ_; #ZW_\u200D_J_; #$_; #__; #\u{6F}_; #\u2118_; #ZW_\u200C_NJ_; #ZW_\u200D_J_;
#$() { #$() {
return this.#$_; return this.#$_;

View File

@ -52,7 +52,7 @@ template: productions
features: [class-methods-private] features: [class-methods-private]
---*/ ---*/
//- fields //- elements
#$_; #__; #\u{6F}_; #℘_; #ZW__NJ_; #ZW__J_; #$_; #__; #\u{6F}_; #℘_; #ZW__NJ_; #ZW__J_;
set #$(value) { set #$(value) {
this.#$_ = value; this.#$_ = value;

View File

@ -52,7 +52,7 @@ template: productions
features: [class-methods-private] features: [class-methods-private]
---*/ ---*/
//- fields //- elements
#$_; #__; #\u{6F}_; #\u2118_; #ZW_\u200C_NJ_; #ZW_\u200D_J_; #$_; #__; #\u{6F}_; #\u2118_; #ZW_\u200C_NJ_; #ZW_\u200D_J_;
set #$(value) { set #$(value) {
this.#$_ = value; this.#$_ = value;

View File

@ -53,7 +53,7 @@ template: productions
features: [class-fields-private] features: [class-fields-private]
---*/ ---*/
//- fields //- elements
#$; #_; #\u{6F}; #℘; #ZW__NJ; #ZW__J #$; #_; #\u{6F}; #℘; #ZW__NJ; #ZW__J
//- privateinspectionfunctions //- privateinspectionfunctions
$(value) { $(value) {

View File

@ -53,7 +53,7 @@ template: productions
features: [class-fields-private] features: [class-fields-private]
---*/ ---*/
//- fields //- elements
#$ = 1; #_ = 1; #\u{6F} = 1; #℘ = 1; #ZW__NJ = 1; #ZW__J = 1 #$ = 1; #_ = 1; #\u{6F} = 1; #℘ = 1; #ZW__NJ = 1; #ZW__J = 1
//- privateinspectionfunctions //- privateinspectionfunctions
$() { $() {

View File

@ -53,7 +53,7 @@ template: productions
features: [class-fields-private] features: [class-fields-private]
---*/ ---*/
//- fields //- elements
#$ = 1; #_ = 1; #\u{6F} = 1; #\u2118 = 1; #ZW_\u200C_NJ = 1; #ZW_\u200D_J = 1 #$ = 1; #_ = 1; #\u{6F} = 1; #\u2118 = 1; #ZW_\u200C_NJ = 1; #ZW_\u200D_J = 1
//- privateinspectionfunctions //- privateinspectionfunctions
$() { $() {

View File

@ -53,7 +53,7 @@ template: productions
features: [class-fields-private] features: [class-fields-private]
---*/ ---*/
//- fields //- elements
#$; #_; #\u{6F}; #\u2118; #ZW_\u200C_NJ; #ZW_\u200D_J #$; #_; #\u{6F}; #\u2118; #ZW_\u200C_NJ; #ZW_\u200D_J
//- privateinspectionfunctions //- privateinspectionfunctions
$(value) { $(value) {

View File

@ -58,7 +58,7 @@ flags: [async]
features: [class-static-methods-private] features: [class-static-methods-private]
---*/ ---*/
//- fields //- elements
static async * #$(value) { static async * #$(value) {
yield * await value; yield * await value;
} }

View File

@ -58,7 +58,7 @@ flags: [async]
features: [class-static-methods-private] features: [class-static-methods-private]
---*/ ---*/
//- fields //- elements
static async * #$(value) { static async * #$(value) {
yield * await value; yield * await value;
} }

View File

@ -58,7 +58,7 @@ flags: [async]
features: [class-static-methods-private] features: [class-static-methods-private]
---*/ ---*/
//- fields //- elements
static async #$(value) { static async #$(value) {
return await value; return await value;
} }

View File

@ -58,7 +58,7 @@ flags: [async]
features: [class-static-methods-private] features: [class-static-methods-private]
---*/ ---*/
//- fields //- elements
static async #$(value) { static async #$(value) {
return await value; return await value;
} }

View File

@ -57,7 +57,7 @@ template: productions
features: [class-static-methods-private] features: [class-static-methods-private]
---*/ ---*/
//- fields //- elements
static * #$(value) { static * #$(value) {
yield * value; yield * value;
} }

View File

@ -57,7 +57,7 @@ template: productions
features: [class-static-methods-private] features: [class-static-methods-private]
---*/ ---*/
//- fields //- elements
static * #$(value) { static * #$(value) {
yield * value; yield * value;
} }

View File

@ -54,7 +54,7 @@ template: productions
features: [class-static-methods-private] features: [class-static-methods-private]
---*/ ---*/
//- fields //- elements
static #$(value) { static #$(value) {
return value; return value;
} }

View File

@ -54,7 +54,7 @@ template: productions
features: [class-static-methods-private] features: [class-static-methods-private]
---*/ ---*/
//- fields //- elements
static #$(value) { static #$(value) {
return value; return value;
} }

View File

@ -54,7 +54,7 @@ template: productions
features: [class-static-fields-private] features: [class-static-fields-private]
---*/ ---*/
//- fields //- elements
static #$; static #_; static #\u{6F}; static #℘; static #ZW__NJ; static #ZW__J static #$; static #_; static #\u{6F}; static #℘; static #ZW__NJ; static #ZW__J
//- privateinspectionfunctions //- privateinspectionfunctions
static $(value) { static $(value) {

View File

@ -54,7 +54,7 @@ template: productions
features: [class-static-fields-private] features: [class-static-fields-private]
---*/ ---*/
//- fields //- elements
static #$; static #_; static #\u{6F}; static #℘; static #ZW__NJ; static #ZW__J static #$; static #_; static #\u{6F}; static #℘; static #ZW__NJ; static #ZW__J
//- privateinspectionfunctions //- privateinspectionfunctions
static $(value) { static $(value) {

View File

@ -54,7 +54,7 @@ template: productions
features: [class-static-fields-private] features: [class-static-fields-private]
---*/ ---*/
//- fields //- elements
static #$; static #_; static #\u{6F}; static #\u2118; static #ZW_\u200C_NJ; static #ZW_\u200D_J static #$; static #_; static #\u{6F}; static #\u2118; static #ZW_\u200C_NJ; static #ZW_\u200D_J
//- privateinspectionfunctions //- privateinspectionfunctions
static $(value) { static $(value) {

View File

@ -54,7 +54,7 @@ template: productions
features: [class-static-fields-private] features: [class-static-fields-private]
---*/ ---*/
//- fields //- elements
static #$ = 1; static #_ = 1; static #\u{6F} = 1; static #℘ = 1; static #ZW__NJ = 1; static #ZW__J = 1 static #$ = 1; static #_ = 1; static #\u{6F} = 1; static #℘ = 1; static #ZW__NJ = 1; static #ZW__J = 1
//- privateinspectionfunctions //- privateinspectionfunctions
static $() { static $() {

View File

@ -54,7 +54,7 @@ template: productions
features: [class-static-fields-private] features: [class-static-fields-private]
---*/ ---*/
//- fields //- elements
static #$ = 1; static #_ = 1; static #\u{6F} = 1; static #℘ = 1; static #ZW__NJ = 1; static #ZW__J = 1 static #$ = 1; static #_ = 1; static #\u{6F} = 1; static #℘ = 1; static #ZW__NJ = 1; static #ZW__J = 1
//- privateinspectionfunctions //- privateinspectionfunctions
static $() { static $() {

View File

@ -54,7 +54,7 @@ template: productions
features: [class-static-fields-private] features: [class-static-fields-private]
---*/ ---*/
//- fields //- elements
static #$ = 1; static #_ = 1; static #\u{6F} = 1; static #\u2118 = 1; static #ZW_\u200C_NJ = 1; static #ZW_\u200D_J = 1 static #$ = 1; static #_ = 1; static #\u{6F} = 1; static #\u2118 = 1; static #ZW_\u200C_NJ = 1; static #ZW_\u200D_J = 1
//- privateinspectionfunctions //- privateinspectionfunctions
static $() { static $() {

View File

@ -54,7 +54,7 @@ template: productions
features: [class-static-fields-private] features: [class-static-fields-private]
---*/ ---*/
//- fields //- elements
static #$; static #_; static #\u{6F}; static #\u2118; static #ZW_\u200C_NJ; static #ZW_\u200D_J static #$; static #_; static #\u{6F}; static #\u2118; static #ZW_\u200C_NJ; static #ZW_\u200D_J
//- privateinspectionfunctions //- privateinspectionfunctions
static $(value) { static $(value) {

View File

@ -21,7 +21,7 @@ template: productions
features: [class-static-fields-private] features: [class-static-fields-private]
---*/ ---*/
//- fields //- elements
static #x; static #y static #x; static #y
//- privateinspectionfunctions //- privateinspectionfunctions
static x() { static x() {

View File

@ -21,7 +21,7 @@ template: productions
features: [class-static-methods-private, class-static-fields-private] features: [class-static-methods-private, class-static-fields-private]
---*/ ---*/
//- fields //- elements
static #xVal; static #yVal static #xVal; static #yVal
//- privateinspectionfunctions //- privateinspectionfunctions
static #x(value) { static #x(value) {

View File

@ -18,7 +18,7 @@ includes: [propertyHelper.js]
features: [class-fields-public] features: [class-fields-public]
---*/ ---*/
//- fields //- elements
'a'; "b"; 'c' = 39; 'a'; "b"; 'c' = 39;
"d" = 42 "d" = 42
//- assertions //- assertions