TypeScript/tests/baselines/reference/staticPrototypePropertyOnClass.symbols
2015-04-15 16:44:20 -07:00

44 lines
1.4 KiB
Plaintext

=== tests/cases/compiler/staticPrototypePropertyOnClass.ts ===
class c1 {
>c1 : Symbol(c1, Decl(staticPrototypePropertyOnClass.ts, 0, 0))
}
class c2<T> {
>c2 : Symbol(c2, Decl(staticPrototypePropertyOnClass.ts, 1, 1))
>T : Symbol(T, Decl(staticPrototypePropertyOnClass.ts, 2, 9))
}
class c3 {
>c3 : Symbol(c3, Decl(staticPrototypePropertyOnClass.ts, 3, 1))
constructor() {
}
}
class c4 {
>c4 : Symbol(c4, Decl(staticPrototypePropertyOnClass.ts, 7, 1))
constructor(param: string);
>param : Symbol(param, Decl(staticPrototypePropertyOnClass.ts, 9, 16))
constructor(param: number);
>param : Symbol(param, Decl(staticPrototypePropertyOnClass.ts, 10, 16))
constructor(param: any) {
>param : Symbol(param, Decl(staticPrototypePropertyOnClass.ts, 11, 16))
}
}
var a = c1;
>a : Symbol(a, Decl(staticPrototypePropertyOnClass.ts, 14, 3))
>c1 : Symbol(c1, Decl(staticPrototypePropertyOnClass.ts, 0, 0))
var b = c2;
>b : Symbol(b, Decl(staticPrototypePropertyOnClass.ts, 15, 3))
>c2 : Symbol(c2, Decl(staticPrototypePropertyOnClass.ts, 1, 1))
var c = c3;
>c : Symbol(c, Decl(staticPrototypePropertyOnClass.ts, 16, 3))
>c3 : Symbol(c3, Decl(staticPrototypePropertyOnClass.ts, 3, 1))
var d = c4;
>d : Symbol(d, Decl(staticPrototypePropertyOnClass.ts, 17, 3))
>c4 : Symbol(c4, Decl(staticPrototypePropertyOnClass.ts, 7, 1))