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

24 lines
693 B
Plaintext

=== tests/cases/compiler/nestedSelf.ts ===
module M {
>M : Symbol(M, Decl(nestedSelf.ts, 0, 0))
export class C {
>C : Symbol(C, Decl(nestedSelf.ts, 0, 10))
public n = 42;
>n : Symbol(n, Decl(nestedSelf.ts, 1, 17))
public foo() { [1,2,3].map((x) => { return this.n * x; })}
>foo : Symbol(foo, Decl(nestedSelf.ts, 2, 17))
>[1,2,3].map : Symbol(Array.map, Decl(lib.d.ts, 1115, 92))
>map : Symbol(Array.map, Decl(lib.d.ts, 1115, 92))
>x : Symbol(x, Decl(nestedSelf.ts, 3, 31))
>this.n : Symbol(n, Decl(nestedSelf.ts, 1, 17))
>this : Symbol(C, Decl(nestedSelf.ts, 0, 10))
>n : Symbol(n, Decl(nestedSelf.ts, 1, 17))
>x : Symbol(x, Decl(nestedSelf.ts, 3, 31))
}
}