52 lines
2.5 KiB
Plaintext
52 lines
2.5 KiB
Plaintext
=== 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(x, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 12))
|
|
>T : Symbol(T, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 8))
|
|
|
|
B: T;
|
|
>B : Symbol(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, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 1, 9))
|
|
>this : Symbol(B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 0))
|
|
>B : Symbol(B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 1, 9))
|
|
>a : Symbol(a, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 3, 16))
|
|
|
|
foo(): T {
|
|
>foo : Symbol(foo, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 3, 36))
|
|
>T : Symbol(T, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 8))
|
|
|
|
return this.x;
|
|
>this.x : Symbol(x, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 12))
|
|
>this : Symbol(B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 0))
|
|
>x : Symbol(x, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 12))
|
|
}
|
|
get BB(): T {
|
|
>BB : Symbol(BB, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 6, 5))
|
|
>T : Symbol(T, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 8))
|
|
|
|
return this.B;
|
|
>this.B : Symbol(B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 1, 9))
|
|
>this : Symbol(B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 0))
|
|
>B : Symbol(B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 1, 9))
|
|
}
|
|
set BBWith(c: T) {
|
|
>BBWith : Symbol(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, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 1, 9))
|
|
>this : Symbol(B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 0, 0))
|
|
>B : Symbol(B, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 1, 9))
|
|
>c : Symbol(c, Decl(emitClassDeclarationWithTypeArgumentInES6.ts, 10, 15))
|
|
}
|
|
}
|