mirror of https://github.com/tc39/test262.git
rename fields to elements in src/class-elements
This commit is contained in:
parent
9084e6cea9
commit
41844c7c08
|
@ -10,7 +10,7 @@ esid: sec-runtime-semantics-classdefinitionevaluation
|
|||
|
||||
function evaluate() {
|
||||
class C {
|
||||
/*{ fields }*/
|
||||
/*{ elements }*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ esid: sec-runtime-semantics-classdefinitionevaluation
|
|||
|
||||
function evaluate() {
|
||||
var C = class {
|
||||
/*{ fields }*/
|
||||
/*{ elements }*/
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ function fn() {
|
|||
throw new Test262Error();
|
||||
}
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
[noRef] = fn();
|
||||
//- error
|
||||
ReferenceError
|
||||
|
|
|
@ -47,7 +47,7 @@ var obj = {
|
|||
}
|
||||
};
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
[obj]
|
||||
//- error
|
||||
Test262Error
|
||||
|
|
|
@ -45,7 +45,7 @@ var obj = {
|
|||
[Symbol.toPrimitive]: {}
|
||||
};
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
[obj] = refErrorIfEvaluated;
|
||||
//- error
|
||||
TypeError
|
||||
|
|
|
@ -45,7 +45,7 @@ var obj = {
|
|||
[Symbol.toPrimitive]: 42
|
||||
};
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
[obj] = refErrorIfEvaluated;
|
||||
//- error
|
||||
TypeError
|
||||
|
|
|
@ -62,7 +62,7 @@ var obj3 = {
|
|||
valueOf: function() { return s3; }
|
||||
};
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
[obj1] = 42;
|
||||
[obj2] = 43;
|
||||
[obj3] = 44;
|
||||
|
|
|
@ -59,7 +59,7 @@ var obj3 = {
|
|||
valueOf: function() { return "f"; }
|
||||
};
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
[obj1] = 42;
|
||||
[obj2] = 43;
|
||||
[obj3] = 44;
|
||||
|
|
|
@ -47,7 +47,7 @@ var obj = {
|
|||
}
|
||||
};
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
[obj]
|
||||
//- error
|
||||
Test262Error
|
||||
|
|
|
@ -48,7 +48,7 @@ var obj = {
|
|||
}
|
||||
};
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
[obj]
|
||||
//- error
|
||||
Test262Error
|
||||
|
|
|
@ -21,7 +21,7 @@ features: [class-fields-public, computed-property-names]
|
|||
//- setup
|
||||
var x = "b";
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
[x] = 42; [10] = "meep"; ["not initialized"]
|
||||
//- assertions
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ features: [class-fields-public, Symbol, computed-property-names]
|
|||
var x = Symbol();
|
||||
var y = Symbol();
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
[x]; [y] = 42
|
||||
//- assertions
|
||||
assert.sameValue(Object.hasOwnProperty.call(C.prototype, x), false);
|
||||
|
|
|
@ -19,7 +19,7 @@ features: [class-fields-public]
|
|||
|
||||
//- setup
|
||||
var ctor;
|
||||
//- fields
|
||||
//- elements
|
||||
constructor() {
|
||||
ctor = this.foo;
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ esid: prod-FieldDefinition
|
|||
---*/
|
||||
|
||||
class C {
|
||||
/*{ fields }*/
|
||||
/*{ elements }*/
|
||||
}
|
||||
|
||||
/*{ assertions }*/
|
||||
|
|
|
@ -9,7 +9,7 @@ esid: prod-FieldDefinition
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
/*{ fields }*/
|
||||
/*{ elements }*/
|
||||
}
|
||||
|
||||
/*{ assertions }*/
|
||||
|
|
|
@ -62,7 +62,7 @@ template: productions
|
|||
features: [class-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#\u{6F};
|
||||
#\u2118;
|
||||
#ZW_\u200C_NJ;
|
||||
|
|
|
@ -21,7 +21,7 @@ features: [class-fields-public]
|
|||
var x = 0;
|
||||
function fn1() { x += 1; }
|
||||
function fn2() { throw new Test262Error(); }
|
||||
//- fields
|
||||
//- elements
|
||||
x = fn1();
|
||||
y = fn2();
|
||||
z = fn1();
|
||||
|
|
|
@ -20,7 +20,7 @@ includes: [propertyHelper.js]
|
|||
|
||||
//- setup
|
||||
var x = false;
|
||||
//- fields
|
||||
//- elements
|
||||
[x] = x;
|
||||
//- assertions
|
||||
var c1 = new C();
|
||||
|
|
|
@ -29,7 +29,7 @@ includes: [propertyHelper.js]
|
|||
|
||||
//- setup
|
||||
var x = 1;
|
||||
//- fields
|
||||
//- elements
|
||||
[x++] = x++;
|
||||
[x++] = x++;
|
||||
//- assertions
|
||||
|
|
|
@ -18,7 +18,7 @@ includes: [propertyHelper.js]
|
|||
features: [class-fields-public]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
a
|
||||
b = 42;
|
||||
//- assertions
|
||||
|
|
|
@ -21,7 +21,7 @@ features: [class-fields-public]
|
|||
//- setup
|
||||
const fn = function() {}
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
a; b = 42;
|
||||
c = fn
|
||||
//- assertions
|
||||
|
|
|
@ -20,7 +20,7 @@ template: productions
|
|||
features: [class-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#m = 'test262';
|
||||
//- privateinspectionfunctions
|
||||
method() {
|
||||
|
|
|
@ -20,7 +20,7 @@ template: productions
|
|||
features: [class-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
get #m() { return 'test262'; }
|
||||
//- privateinspectionfunctions
|
||||
method() {
|
||||
|
|
|
@ -20,7 +20,7 @@ template: productions
|
|||
features: [class-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#m() { return 'test262'; }
|
||||
//- privateinspectionfunctions
|
||||
method() {
|
||||
|
|
|
@ -21,7 +21,7 @@ template: productions
|
|||
features: [class-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#x; #y
|
||||
//- privateinspectionfunctions
|
||||
x() {
|
||||
|
|
|
@ -11,7 +11,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
async *m() { return 42; } /*{ fields }*/;
|
||||
async *m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
async m() { return 42; } /*{ fields }*/;
|
||||
async m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
*m() { return 42; } /*{ fields }*/;
|
||||
*m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
m() { return 42; } /*{ fields }*/;
|
||||
m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
static async *m() { return 42; } /*{ fields }*/;
|
||||
static async *m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
static async m() { return 42; } /*{ fields }*/;
|
||||
static async m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
static *m() { return 42; } /*{ fields }*/;
|
||||
static *m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
static m() { return 42; } /*{ fields }*/;
|
||||
static m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ includes: [propertyHelper.js]
|
|||
class C {
|
||||
foo = "foobar";
|
||||
m() { return 42 }
|
||||
/*{ fields }*/
|
||||
/*{ elements }*/
|
||||
m2() { return 39 }
|
||||
bar = "barbaz";
|
||||
/*{ privateinspectionfunctions }*/
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
/*{ fields }*/
|
||||
/*{ elements }*/
|
||||
foo = "foobar"
|
||||
bar = "barbaz";
|
||||
/*{ privateinspectionfunctions }*/
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
/*{ fields }*/
|
||||
/*{ elements }*/
|
||||
m() { return 42; }
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
/*{ fields }*/;
|
||||
/*{ elements }*/;
|
||||
*m() { return 42; }
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
/*{ fields }*/;
|
||||
/*{ elements }*/;
|
||||
m() { return 42; }
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ esid: prod-FieldDefinition
|
|||
---*/
|
||||
|
||||
class C {
|
||||
/*{ fields }*/
|
||||
/*{ elements }*/
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
/*{ fields }*/; *m() { return 42; }
|
||||
/*{ elements }*/; *m() { return 42; }
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
class C {
|
||||
/*{ fields }*/; m() { return 42; }
|
||||
/*{ elements }*/; m() { return 42; }
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ esid: prod-FieldDefinition
|
|||
|
||||
class C {
|
||||
;;;;
|
||||
;;;;;;/*{ fields }*/;;;;;;;
|
||||
;;;;;;/*{ elements }*/;;;;;;;
|
||||
;;;;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
async *m() { return 42; } /*{ fields }*/;
|
||||
async *m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
async m() { return 42; } /*{ fields }*/;
|
||||
async m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
*m() { return 42; } /*{ fields }*/;
|
||||
*m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
m() { return 42; } /*{ fields }*/;
|
||||
m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
static async *m() { return 42; } /*{ fields }*/;
|
||||
static async *m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
static async m() { return 42; } /*{ fields }*/;
|
||||
static async m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
static *m() { return 42; } /*{ fields }*/;
|
||||
static *m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
static m() { return 42; } /*{ fields }*/;
|
||||
static m() { return 42; } /*{ elements }*/;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ includes: [propertyHelper.js]
|
|||
var C = class {
|
||||
foo = "foobar";
|
||||
m() { return 42 }
|
||||
/*{ fields }*/
|
||||
/*{ elements }*/
|
||||
m2() { return 39 }
|
||||
bar = "barbaz";
|
||||
/*{ privateinspectionfunctions }*/
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
/*{ fields }*/
|
||||
/*{ elements }*/
|
||||
foo = "foobar"
|
||||
bar = "barbaz";
|
||||
/*{ privateinspectionfunctions }*/
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
/*{ fields }*/
|
||||
/*{ elements }*/
|
||||
m() { return 42; }
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
/*{ fields }*/;
|
||||
/*{ elements }*/;
|
||||
*m() { return 42; }
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
/*{ fields }*/;
|
||||
/*{ elements }*/;
|
||||
m() { return 42; }
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ esid: prod-FieldDefinition
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
/*{ fields }*/
|
||||
/*{ elements }*/
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
/*{ fields }*/; *m() { return 42; }
|
||||
/*{ elements }*/; *m() { return 42; }
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ includes: [propertyHelper.js]
|
|||
---*/
|
||||
|
||||
var C = class {
|
||||
/*{ fields }*/; m() { return 42; }
|
||||
/*{ elements }*/; m() { return 42; }
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ esid: prod-FieldDefinition
|
|||
|
||||
var C = class {
|
||||
;;;;
|
||||
;;;;;;/*{ fields }*/;;;;;;;
|
||||
;;;;;;/*{ elements }*/;;;;;;;
|
||||
;;;;
|
||||
/*{ privateinspectionfunctions }*/
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ includes: [propertyHelper.js, compareArray.js]
|
|||
//- setup
|
||||
var x = [];
|
||||
var y = Symbol();
|
||||
//- fields
|
||||
//- elements
|
||||
[y] = (x.push("a"), "old_value");
|
||||
[y] = (x.push("b"), "same_value");
|
||||
[y] = (x.push("c"), "same_value");
|
||||
|
|
|
@ -32,7 +32,7 @@ includes: [propertyHelper.js, compareArray.js]
|
|||
|
||||
//- setup
|
||||
var x = [];
|
||||
//- fields
|
||||
//- elements
|
||||
y = (x.push("a"), "old_value");
|
||||
["y"] = (x.push("b"), "another_value");
|
||||
"y" = (x.push("c"), "same_value");
|
||||
|
|
|
@ -55,7 +55,7 @@ template: productions
|
|||
features: [class-fields-public]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
$ = 1; _ = 1; \u{6F} = 1; \u2118 = 1; ZW_\u200C_NJ = 1; ZW_\u200D_J = 1
|
||||
//- assertions
|
||||
assert.sameValue(c.$, 1);
|
||||
|
|
|
@ -55,7 +55,7 @@ template: productions
|
|||
features: [class-fields-public]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
$; _; \u{6F}; \u2118; ZW_\u200C_NJ; ZW_\u200D_J
|
||||
//- assertions
|
||||
c.$ = 1;
|
||||
|
|
|
@ -53,7 +53,7 @@ template: productions
|
|||
features: [class-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#$_; #__; #\u{6F}_; #℘_; #ZW__NJ_; #ZW__J_;
|
||||
get #$() {
|
||||
return this.#$_;
|
||||
|
|
|
@ -53,7 +53,7 @@ template: productions
|
|||
features: [class-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#$_; #__; #\u{6F}_; #\u2118_; #ZW_\u200C_NJ_; #ZW_\u200D_J_;
|
||||
get #$() {
|
||||
return this.#$_;
|
||||
|
|
|
@ -52,7 +52,7 @@ template: productions
|
|||
features: [class-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#$_; #__; #\u{6F}_; #℘_; #ZW__NJ_; #ZW__J_;
|
||||
#$() {
|
||||
return this.#$_;
|
||||
|
|
|
@ -52,7 +52,7 @@ template: productions
|
|||
features: [class-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#$_; #__; #\u{6F}_; #\u2118_; #ZW_\u200C_NJ_; #ZW_\u200D_J_;
|
||||
#$() {
|
||||
return this.#$_;
|
||||
|
|
|
@ -52,7 +52,7 @@ template: productions
|
|||
features: [class-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#$_; #__; #\u{6F}_; #℘_; #ZW__NJ_; #ZW__J_;
|
||||
set #$(value) {
|
||||
this.#$_ = value;
|
||||
|
|
|
@ -52,7 +52,7 @@ template: productions
|
|||
features: [class-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#$_; #__; #\u{6F}_; #\u2118_; #ZW_\u200C_NJ_; #ZW_\u200D_J_;
|
||||
set #$(value) {
|
||||
this.#$_ = value;
|
||||
|
|
|
@ -53,7 +53,7 @@ template: productions
|
|||
features: [class-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#$; #_; #\u{6F}; #℘; #ZW__NJ; #ZW__J
|
||||
//- privateinspectionfunctions
|
||||
$(value) {
|
||||
|
|
|
@ -53,7 +53,7 @@ template: productions
|
|||
features: [class-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#$ = 1; #_ = 1; #\u{6F} = 1; #℘ = 1; #ZW__NJ = 1; #ZW__J = 1
|
||||
//- privateinspectionfunctions
|
||||
$() {
|
||||
|
|
|
@ -53,7 +53,7 @@ template: productions
|
|||
features: [class-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#$ = 1; #_ = 1; #\u{6F} = 1; #\u2118 = 1; #ZW_\u200C_NJ = 1; #ZW_\u200D_J = 1
|
||||
//- privateinspectionfunctions
|
||||
$() {
|
||||
|
|
|
@ -53,7 +53,7 @@ template: productions
|
|||
features: [class-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
#$; #_; #\u{6F}; #\u2118; #ZW_\u200C_NJ; #ZW_\u200D_J
|
||||
//- privateinspectionfunctions
|
||||
$(value) {
|
||||
|
|
|
@ -58,7 +58,7 @@ flags: [async]
|
|||
features: [class-static-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static async * #$(value) {
|
||||
yield * await value;
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ flags: [async]
|
|||
features: [class-static-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static async * #$(value) {
|
||||
yield * await value;
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ flags: [async]
|
|||
features: [class-static-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static async #$(value) {
|
||||
return await value;
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ flags: [async]
|
|||
features: [class-static-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static async #$(value) {
|
||||
return await value;
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ template: productions
|
|||
features: [class-static-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static * #$(value) {
|
||||
yield * value;
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ template: productions
|
|||
features: [class-static-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static * #$(value) {
|
||||
yield * value;
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ template: productions
|
|||
features: [class-static-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static #$(value) {
|
||||
return value;
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ template: productions
|
|||
features: [class-static-methods-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static #$(value) {
|
||||
return value;
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ template: productions
|
|||
features: [class-static-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static #$; static #_; static #\u{6F}; static #℘; static #ZW__NJ; static #ZW__J
|
||||
//- privateinspectionfunctions
|
||||
static $(value) {
|
||||
|
|
|
@ -54,7 +54,7 @@ template: productions
|
|||
features: [class-static-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static #$; static #_; static #\u{6F}; static #℘; static #ZW__NJ; static #ZW__J
|
||||
//- privateinspectionfunctions
|
||||
static $(value) {
|
||||
|
|
|
@ -54,7 +54,7 @@ template: productions
|
|||
features: [class-static-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static #$; static #_; static #\u{6F}; static #\u2118; static #ZW_\u200C_NJ; static #ZW_\u200D_J
|
||||
//- privateinspectionfunctions
|
||||
static $(value) {
|
||||
|
|
|
@ -54,7 +54,7 @@ template: productions
|
|||
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
|
||||
//- privateinspectionfunctions
|
||||
static $() {
|
||||
|
|
|
@ -54,7 +54,7 @@ template: productions
|
|||
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
|
||||
//- privateinspectionfunctions
|
||||
static $() {
|
||||
|
|
|
@ -54,7 +54,7 @@ template: productions
|
|||
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
|
||||
//- privateinspectionfunctions
|
||||
static $() {
|
||||
|
|
|
@ -54,7 +54,7 @@ template: productions
|
|||
features: [class-static-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static #$; static #_; static #\u{6F}; static #\u2118; static #ZW_\u200C_NJ; static #ZW_\u200D_J
|
||||
//- privateinspectionfunctions
|
||||
static $(value) {
|
||||
|
|
|
@ -21,7 +21,7 @@ template: productions
|
|||
features: [class-static-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static #x; static #y
|
||||
//- privateinspectionfunctions
|
||||
static x() {
|
||||
|
|
|
@ -21,7 +21,7 @@ template: productions
|
|||
features: [class-static-methods-private, class-static-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
static #xVal; static #yVal
|
||||
//- privateinspectionfunctions
|
||||
static #x(value) {
|
||||
|
|
|
@ -18,7 +18,7 @@ includes: [propertyHelper.js]
|
|||
features: [class-fields-public]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
//- elements
|
||||
'a'; "b"; 'c' = 39;
|
||||
"d" = 42
|
||||
//- assertions
|
||||
|
|
Loading…
Reference in New Issue