File: initializePropertiesWithRenamedLet.symbols

package info (click to toggle)
node-typescript 5.0.4%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 459,140 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (45 lines) | stat: -rw-r--r-- 1,772 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
39
40
41
42
43
44
45
=== tests/cases/compiler/initializePropertiesWithRenamedLet.ts ===
var x0;
>x0 : Symbol(x0, Decl(initializePropertiesWithRenamedLet.ts, 0, 3))

if (true) {
    let x0;
>x0 : Symbol(x0, Decl(initializePropertiesWithRenamedLet.ts, 2, 7))

    var obj1 = { x0: x0 };
>obj1 : Symbol(obj1, Decl(initializePropertiesWithRenamedLet.ts, 3, 7))
>x0 : Symbol(x0, Decl(initializePropertiesWithRenamedLet.ts, 3, 16))
>x0 : Symbol(x0, Decl(initializePropertiesWithRenamedLet.ts, 2, 7))

    var obj2 = { x0 };
>obj2 : Symbol(obj2, Decl(initializePropertiesWithRenamedLet.ts, 4, 7))
>x0 : Symbol(x0, Decl(initializePropertiesWithRenamedLet.ts, 4, 16))
}

var x, y, z;
>x : Symbol(x, Decl(initializePropertiesWithRenamedLet.ts, 7, 3))
>y : Symbol(y, Decl(initializePropertiesWithRenamedLet.ts, 7, 6))
>z : Symbol(z, Decl(initializePropertiesWithRenamedLet.ts, 7, 9))

if (true) {
    let { x: x } = { x: 0 };
>x : Symbol(x, Decl(initializePropertiesWithRenamedLet.ts, 9, 20))
>x : Symbol(x, Decl(initializePropertiesWithRenamedLet.ts, 9, 9))
>x : Symbol(x, Decl(initializePropertiesWithRenamedLet.ts, 9, 20))

    let { y } = { y: 0 };
>y : Symbol(y, Decl(initializePropertiesWithRenamedLet.ts, 10, 9))
>y : Symbol(y, Decl(initializePropertiesWithRenamedLet.ts, 10, 17))

    let z;
>z : Symbol(z, Decl(initializePropertiesWithRenamedLet.ts, 11, 7))

    ({ z: z } = { z: 0 });
>z : Symbol(z, Decl(initializePropertiesWithRenamedLet.ts, 12, 6))
>z : Symbol(z, Decl(initializePropertiesWithRenamedLet.ts, 11, 7))
>z : Symbol(z, Decl(initializePropertiesWithRenamedLet.ts, 12, 17))

    ({ z } = { z: 0 });
>z : Symbol(z, Decl(initializePropertiesWithRenamedLet.ts, 13, 6))
>z : Symbol(z, Decl(initializePropertiesWithRenamedLet.ts, 13, 14))
}