TypeScript/tests/baselines/reference/nestedSelf.symbols
2016-03-16 13:45:55 -07:00

24 lines
697 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(C.n, Decl(nestedSelf.ts, 1, 17))
public foo() { [1,2,3].map((x) => { return this.n * x; })}
>foo : Symbol(C.foo, Decl(nestedSelf.ts, 2, 17))
>[1,2,3].map : Symbol(Array.map, Decl(lib.d.ts, --, --))
>map : Symbol(Array.map, Decl(lib.d.ts, --, --))
>x : Symbol(x, Decl(nestedSelf.ts, 3, 31))
>this.n : Symbol(C.n, Decl(nestedSelf.ts, 1, 17))
>this : Symbol(C, Decl(nestedSelf.ts, 0, 10))
>n : Symbol(C.n, Decl(nestedSelf.ts, 1, 17))
>x : Symbol(x, Decl(nestedSelf.ts, 3, 31))
}
}