File: reExportGlobalDeclaration1.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 (51 lines) | stat: -rw-r--r-- 1,418 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
46
47
48
49
50
51
=== tests/cases/compiler/file1.d.ts ===
declare var x: number;
>x : Symbol(x, Decl(file1.d.ts, 0, 11))

declare var x1: number;
>x1 : Symbol(x1, Decl(file1.d.ts, 1, 11))

declare let {a, b}: {a: number, b: number};
>a : Symbol(a, Decl(file1.d.ts, 2, 13))
>b : Symbol(b, Decl(file1.d.ts, 2, 15))
>a : Symbol(a, Decl(file1.d.ts, 2, 21))
>b : Symbol(b, Decl(file1.d.ts, 2, 31))

=== tests/cases/compiler/file2.ts ===
export {x, x as y};
>x : Symbol(x, Decl(file2.ts, 0, 8))
>x : Symbol(x, Decl(file1.d.ts, 0, 11))
>y : Symbol(y, Decl(file2.ts, 0, 10))

export {x1, x1 as y1};
>x1 : Symbol(x1, Decl(file2.ts, 1, 8))
>x1 : Symbol(x1, Decl(file1.d.ts, 1, 11))
>y1 : Symbol(y1, Decl(file2.ts, 1, 11))

export {a, a as a1};
>a : Symbol(a, Decl(file2.ts, 3, 8))
>a : Symbol(a, Decl(file1.d.ts, 2, 13))
>a1 : Symbol(a1, Decl(file2.ts, 3, 10))

export {b, b as b1};
>b : Symbol(b, Decl(file2.ts, 4, 8))
>b : Symbol(b, Decl(file1.d.ts, 2, 15))
>b1 : Symbol(b1, Decl(file2.ts, 4, 10))


export {x as z};
>x : Symbol(x, Decl(file1.d.ts, 0, 11))
>z : Symbol(z, Decl(file2.ts, 7, 8))

export {x1 as z1};
>x1 : Symbol(x1, Decl(file1.d.ts, 1, 11))
>z1 : Symbol(z1, Decl(file2.ts, 8, 8))

export {a as a2};
>a : Symbol(a, Decl(file1.d.ts, 2, 13))
>a2 : Symbol(a2, Decl(file2.ts, 9, 8))

export {b as b2};
>b : Symbol(b, Decl(file1.d.ts, 2, 15))
>b2 : Symbol(b2, Decl(file2.ts, 10, 8))