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
|
=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithTypeArgumentInES6.ts ===
class B<T> {
>B : Symbol(B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 0))
>T : Symbol(T, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 8))
x: T;
>x : Symbol(B.x, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 12))
>T : Symbol(T, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 8))
B: T;
>B : Symbol(B.B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 1, 9))
>T : Symbol(T, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 8))
constructor(a: T) { this.B = a;}
>a : Symbol(a, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 3, 16))
>T : Symbol(T, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 8))
>this.B : Symbol(B.B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 1, 9))
>this : Symbol(B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 0))
>B : Symbol(B.B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 1, 9))
>a : Symbol(a, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 3, 16))
foo(): T {
>foo : Symbol(B.foo, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 3, 36))
>T : Symbol(T, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 8))
return this.x;
>this.x : Symbol(B.x, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 12))
>this : Symbol(B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 0))
>x : Symbol(B.x, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 12))
}
get BB(): T {
>BB : Symbol(B.BB, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 6, 5))
>T : Symbol(T, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 8))
return this.B;
>this.B : Symbol(B.B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 1, 9))
>this : Symbol(B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 0))
>B : Symbol(B.B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 1, 9))
}
set BBWith(c: T) {
>BBWith : Symbol(B.BBWith, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 9, 5))
>c : Symbol(c, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 10, 15))
>T : Symbol(T, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 8))
this.B = c;
>this.B : Symbol(B.B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 1, 9))
>this : Symbol(B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 0))
>B : Symbol(B.B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 1, 9))
>c : Symbol(c, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 10, 15))
}
}
|