1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
=== tests/cases/compiler/staticAsIdentifier.ts ===
class C1 {
>C1 : Symbol(C1, Decl(staticAsIdentifier.ts, 0, 0))
static static
>static : Symbol(C1.static, Decl(staticAsIdentifier.ts, 0, 10))
[x: string]: string;
>x : Symbol(x, Decl(staticAsIdentifier.ts, 2, 5))
}
class C2 {
>C2 : Symbol(C2, Decl(staticAsIdentifier.ts, 3, 1))
static static
>static : Symbol(C2.static, Decl(staticAsIdentifier.ts, 5, 10))
m() {}
>m : Symbol(C2.m, Decl(staticAsIdentifier.ts, 6, 17))
}
class C3 {
>C3 : Symbol(C3, Decl(staticAsIdentifier.ts, 8, 1))
static static p: string;
>static : Symbol(C3.static, Decl(staticAsIdentifier.ts, 10, 10))
>p : Symbol(C3.p, Decl(staticAsIdentifier.ts, 11, 17))
}
class C4 {
>C4 : Symbol(C4, Decl(staticAsIdentifier.ts, 12, 1))
static static foo() {}
>static : Symbol(C4.static, Decl(staticAsIdentifier.ts, 14, 10))
>foo : Symbol(C4.foo, Decl(staticAsIdentifier.ts, 15, 17))
}
class C5 {
>C5 : Symbol(C5, Decl(staticAsIdentifier.ts, 16, 1))
static static
>static : Symbol(C5.static, Decl(staticAsIdentifier.ts, 18, 10))
}
class C6 {
>C6 : Symbol(C6, Decl(staticAsIdentifier.ts, 20, 1))
static
static
>static : Symbol(C6.static, Decl(staticAsIdentifier.ts, 22, 10))
}
class C7 extends C6 {
>C7 : Symbol(C7, Decl(staticAsIdentifier.ts, 25, 1))
>C6 : Symbol(C6, Decl(staticAsIdentifier.ts, 20, 1))
static override static
>static : Symbol(C7.static, Decl(staticAsIdentifier.ts, 27, 21))
}
|