351-class-prop
This commit is contained in:
parent
48ce5bcf1c
commit
6c6ee74eb0
@ -18,4 +18,51 @@ class Foo {
|
|||||||
static ["foo"] = 1;
|
static ["foo"] = 1;
|
||||||
static ["f" + "oo"];
|
static ["f" + "oo"];
|
||||||
static ["f" + "oo"] = 1;
|
static ["f" + "oo"] = 1;
|
||||||
|
|
||||||
|
get;
|
||||||
|
set;
|
||||||
|
static;
|
||||||
|
static = 1;
|
||||||
|
async;
|
||||||
|
foo; bar;
|
||||||
|
foo = 0; bar = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
class A1 {
|
||||||
|
static
|
||||||
|
a
|
||||||
|
static
|
||||||
|
}
|
||||||
|
|
||||||
|
class A2 {
|
||||||
|
get
|
||||||
|
*a(){}
|
||||||
|
}
|
||||||
|
|
||||||
|
class A3 {
|
||||||
|
static
|
||||||
|
*a(){}
|
||||||
|
}
|
||||||
|
|
||||||
|
class A4 {
|
||||||
|
async
|
||||||
|
a(){}
|
||||||
|
}
|
||||||
|
|
||||||
|
class A5 {
|
||||||
|
static
|
||||||
|
async
|
||||||
|
a
|
||||||
|
}
|
||||||
|
|
||||||
|
class A6 {
|
||||||
|
get
|
||||||
|
['a'](){}
|
||||||
|
}
|
||||||
|
|
||||||
|
class A7 {
|
||||||
|
static
|
||||||
|
get
|
||||||
|
static
|
||||||
|
(){}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,4 +18,44 @@ class Foo {
|
|||||||
static ["foo"] = 1;
|
static ["foo"] = 1;
|
||||||
static ["f" + "oo"];
|
static ["f" + "oo"];
|
||||||
static ["f" + "oo"] = 1;
|
static ["f" + "oo"] = 1;
|
||||||
|
|
||||||
|
get;
|
||||||
|
set;
|
||||||
|
static;
|
||||||
|
static = 1;
|
||||||
|
async;
|
||||||
|
foo;bar;
|
||||||
|
foo = 0;bar = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
class A1 {
|
||||||
|
static a;
|
||||||
|
static;
|
||||||
|
}
|
||||||
|
|
||||||
|
class A2 {
|
||||||
|
get;
|
||||||
|
*a() {}
|
||||||
|
}
|
||||||
|
|
||||||
|
class A3 {
|
||||||
|
static *a() {}
|
||||||
|
}
|
||||||
|
|
||||||
|
class A4 {
|
||||||
|
async;
|
||||||
|
a() {}
|
||||||
|
}
|
||||||
|
|
||||||
|
class A5 {
|
||||||
|
static async;
|
||||||
|
a;
|
||||||
|
}
|
||||||
|
|
||||||
|
class A6 {
|
||||||
|
get ['a']() {}
|
||||||
|
}
|
||||||
|
|
||||||
|
class A7 {
|
||||||
|
static get static() {}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,4 +10,46 @@ class Foo {
|
|||||||
static ["foo"]() {}
|
static ["foo"]() {}
|
||||||
static get foo() {}
|
static get foo() {}
|
||||||
static set foo(bar) {}
|
static set foo(bar) {}
|
||||||
|
static static() {}
|
||||||
|
|
||||||
|
get
|
||||||
|
() {}
|
||||||
|
|
||||||
|
set
|
||||||
|
() {}
|
||||||
|
|
||||||
|
static
|
||||||
|
() {}
|
||||||
|
|
||||||
|
async
|
||||||
|
() {}
|
||||||
|
|
||||||
|
static
|
||||||
|
get
|
||||||
|
() {}
|
||||||
|
|
||||||
|
static
|
||||||
|
set
|
||||||
|
() {}
|
||||||
|
|
||||||
|
static
|
||||||
|
static
|
||||||
|
() {}
|
||||||
|
|
||||||
|
static
|
||||||
|
async
|
||||||
|
() {}
|
||||||
|
|
||||||
|
static
|
||||||
|
a
|
||||||
|
() {}
|
||||||
|
|
||||||
|
get
|
||||||
|
async
|
||||||
|
() {}
|
||||||
|
|
||||||
|
static
|
||||||
|
get
|
||||||
|
static
|
||||||
|
() {}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,4 +10,27 @@ class Foo {
|
|||||||
static ["foo"]() {}
|
static ["foo"]() {}
|
||||||
static get foo() {}
|
static get foo() {}
|
||||||
static set foo(bar) {}
|
static set foo(bar) {}
|
||||||
|
static static() {}
|
||||||
|
|
||||||
|
get() {}
|
||||||
|
|
||||||
|
set() {}
|
||||||
|
|
||||||
|
static() {}
|
||||||
|
|
||||||
|
async() {}
|
||||||
|
|
||||||
|
static get() {}
|
||||||
|
|
||||||
|
static set() {}
|
||||||
|
|
||||||
|
static static() {}
|
||||||
|
|
||||||
|
static async() {}
|
||||||
|
|
||||||
|
static a() {}
|
||||||
|
|
||||||
|
get async() {}
|
||||||
|
|
||||||
|
static get static() {}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user