File: stringIndexingResults.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 (95 lines) | stat: -rw-r--r-- 2,998 bytes parent folder | download | duplicates (7)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
=== tests/cases/conformance/types/objectTypeLiteral/indexSignatures/stringIndexingResults.ts ===
class C {
>C : Symbol(C, Decl(stringIndexingResults.ts, 0, 0))

    [x: string]: string;
>x : Symbol(x, Decl(stringIndexingResults.ts, 1, 5))

    y = '';
>y : Symbol(C.y, Decl(stringIndexingResults.ts, 1, 24))
}

var c: C;
>c : Symbol(c, Decl(stringIndexingResults.ts, 5, 3))
>C : Symbol(C, Decl(stringIndexingResults.ts, 0, 0))

var r1 = c['y']; 
>r1 : Symbol(r1, Decl(stringIndexingResults.ts, 6, 3))
>c : Symbol(c, Decl(stringIndexingResults.ts, 5, 3))
>'y' : Symbol(C.y, Decl(stringIndexingResults.ts, 1, 24))

var r2 = c['a'];
>r2 : Symbol(r2, Decl(stringIndexingResults.ts, 7, 3))
>c : Symbol(c, Decl(stringIndexingResults.ts, 5, 3))

var r3 = c[1]; 
>r3 : Symbol(r3, Decl(stringIndexingResults.ts, 8, 3))
>c : Symbol(c, Decl(stringIndexingResults.ts, 5, 3))

interface I {
>I : Symbol(I, Decl(stringIndexingResults.ts, 8, 14))

    [x: string]: string;
>x : Symbol(x, Decl(stringIndexingResults.ts, 11, 5))

    y: string;
>y : Symbol(I.y, Decl(stringIndexingResults.ts, 11, 24))
}

var i: I
>i : Symbol(i, Decl(stringIndexingResults.ts, 15, 3))
>I : Symbol(I, Decl(stringIndexingResults.ts, 8, 14))

var r4 = i['y'];
>r4 : Symbol(r4, Decl(stringIndexingResults.ts, 16, 3))
>i : Symbol(i, Decl(stringIndexingResults.ts, 15, 3))
>'y' : Symbol(I.y, Decl(stringIndexingResults.ts, 11, 24))

var r5 = i['a'];
>r5 : Symbol(r5, Decl(stringIndexingResults.ts, 17, 3))
>i : Symbol(i, Decl(stringIndexingResults.ts, 15, 3))

var r6 = i[1]; 
>r6 : Symbol(r6, Decl(stringIndexingResults.ts, 18, 3))
>i : Symbol(i, Decl(stringIndexingResults.ts, 15, 3))

var a: {
>a : Symbol(a, Decl(stringIndexingResults.ts, 20, 3))

    [x: string]: string;
>x : Symbol(x, Decl(stringIndexingResults.ts, 21, 5))

    y: string;
>y : Symbol(y, Decl(stringIndexingResults.ts, 21, 24))
}

var r7 = a['y'];
>r7 : Symbol(r7, Decl(stringIndexingResults.ts, 25, 3))
>a : Symbol(a, Decl(stringIndexingResults.ts, 20, 3))
>'y' : Symbol(y, Decl(stringIndexingResults.ts, 21, 24))

var r8 = a['a'];
>r8 : Symbol(r8, Decl(stringIndexingResults.ts, 26, 3))
>a : Symbol(a, Decl(stringIndexingResults.ts, 20, 3))

var r9 = a[1];
>r9 : Symbol(r9, Decl(stringIndexingResults.ts, 27, 3))
>a : Symbol(a, Decl(stringIndexingResults.ts, 20, 3))

var b: { [x: string]: string } = { y: '' }
>b : Symbol(b, Decl(stringIndexingResults.ts, 29, 3))
>x : Symbol(x, Decl(stringIndexingResults.ts, 29, 10))
>y : Symbol(y, Decl(stringIndexingResults.ts, 29, 34))

var r10 = b['y'];
>r10 : Symbol(r10, Decl(stringIndexingResults.ts, 31, 3))
>b : Symbol(b, Decl(stringIndexingResults.ts, 29, 3))

var r11 = b['a'];
>r11 : Symbol(r11, Decl(stringIndexingResults.ts, 32, 3))
>b : Symbol(b, Decl(stringIndexingResults.ts, 29, 3))

var r12 = b[1];
>r12 : Symbol(r12, Decl(stringIndexingResults.ts, 33, 3))
>b : Symbol(b, Decl(stringIndexingResults.ts, 29, 3))