File: noUnusedLocals_destructuringAssignment.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (38 lines) | stat: -rw-r--r-- 1,372 bytes parent folder | download | duplicates (5)
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
=== tests/cases/compiler/noUnusedLocals_destructuringAssignment.ts ===
class C {
>C : Symbol(C, Decl(noUnusedLocals_destructuringAssignment.ts, 0, 0))

    private x = 0;
>x : Symbol(C.x, Decl(noUnusedLocals_destructuringAssignment.ts, 0, 9))

    m(): number {
>m : Symbol(C.m, Decl(noUnusedLocals_destructuringAssignment.ts, 1, 18))

        let x: number;
>x : Symbol(x, Decl(noUnusedLocals_destructuringAssignment.ts, 4, 11))

        ({ x } = this);
>x : Symbol(x, Decl(noUnusedLocals_destructuringAssignment.ts, 5, 10))
>this : Symbol(C, Decl(noUnusedLocals_destructuringAssignment.ts, 0, 0))

        return x;
>x : Symbol(x, Decl(noUnusedLocals_destructuringAssignment.ts, 4, 11))
    }

    private f(): Function {
>f : Symbol(C.f, Decl(noUnusedLocals_destructuringAssignment.ts, 7, 5))
>Function : Symbol(Function, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))

        let f: Function;
>f : Symbol(f, Decl(noUnusedLocals_destructuringAssignment.ts, 10, 11))
>Function : Symbol(Function, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))

        ({ f } = this);
>f : Symbol(f, Decl(noUnusedLocals_destructuringAssignment.ts, 11, 10))
>this : Symbol(C, Decl(noUnusedLocals_destructuringAssignment.ts, 0, 0))

        return f;
>f : Symbol(f, Decl(noUnusedLocals_destructuringAssignment.ts, 10, 11))
    }
}