File: declarationMapsOutFile2.sourcemap.txt

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 (141 lines) | stat: -rw-r--r-- 3,613 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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
===================================================================
JsFile: bundle.d.ts
mapUrl: bundle.d.ts.map
sourceRoot: 
sources: tests/cases/compiler/a.ts,tests/cases/compiler/index.ts
===================================================================
-------------------------------------------------------------------
emittedFile:bundle.d.ts
sourceFile:tests/cases/compiler/a.ts
-------------------------------------------------------------------
>>>declare class Foo {
1 >
2 >^^^^^^^^^^^^^^
3 >              ^^^
1 >
2 >class 
3 >              Foo
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
2 >Emitted(1, 15) Source(1, 7) + SourceIndex(0)
3 >Emitted(1, 18) Source(1, 10) + SourceIndex(0)
---
>>>    doThing(x: {
1 >^^^^
2 >    ^^^^^^^
3 >           ^
4 >            ^^^
5 >               ^^^^->
1 > {
  >    
2 >    doThing
3 >           (
4 >            x: 
1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0)
2 >Emitted(2, 12) Source(2, 12) + SourceIndex(0)
3 >Emitted(2, 13) Source(2, 13) + SourceIndex(0)
4 >Emitted(2, 16) Source(2, 16) + SourceIndex(0)
---
>>>        a: number;
1->^^^^^^^^
2 >        ^
3 >         ^^
4 >           ^^^^^^
5 >                 ^
1->{
2 >        a
3 >         : 
4 >           number
5 >                 
1->Emitted(3, 9) Source(2, 17) + SourceIndex(0)
2 >Emitted(3, 10) Source(2, 18) + SourceIndex(0)
3 >Emitted(3, 12) Source(2, 20) + SourceIndex(0)
4 >Emitted(3, 18) Source(2, 26) + SourceIndex(0)
5 >Emitted(3, 19) Source(2, 26) + SourceIndex(0)
---
>>>    }): {
1 >^^^^^
2 >     ^^^^^^^^^^^^^^->
1 >}
1 >Emitted(4, 6) Source(2, 27) + SourceIndex(0)
---
>>>        b: number;
>>>    };
>>>    static make(): Foo;
1->^^^^
2 >    ^^^^^^
3 >          ^
4 >           ^^^^
1->) {
  >        return {b: x.a};
  >    }
  >    
2 >    static
3 >           
4 >           make
1->Emitted(7, 5) Source(5, 5) + SourceIndex(0)
2 >Emitted(7, 11) Source(5, 11) + SourceIndex(0)
3 >Emitted(7, 12) Source(5, 12) + SourceIndex(0)
4 >Emitted(7, 16) Source(5, 16) + SourceIndex(0)
---
>>>}
1 >^
2 > ^^^^^^^^^^^^^^^^^^^^^->
1 >() {
  >        return new Foo();
  >    }
  >}
1 >Emitted(8, 2) Source(8, 2) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:bundle.d.ts
sourceFile:tests/cases/compiler/index.ts
-------------------------------------------------------------------
>>>declare const c: Foo;
1->
2 >^^^^^^^^
3 >        ^^^^^^
4 >              ^
5 >               ^^^^^
6 >                    ^
1->
2 >
3 >        const 
4 >              c
5 >                = new Foo()
6 >                    ;
1->Emitted(9, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(9, 9) Source(1, 1) + SourceIndex(1)
3 >Emitted(9, 15) Source(1, 7) + SourceIndex(1)
4 >Emitted(9, 16) Source(1, 8) + SourceIndex(1)
5 >Emitted(9, 21) Source(1, 20) + SourceIndex(1)
6 >Emitted(9, 22) Source(1, 21) + SourceIndex(1)
---
>>>declare let x: {
1 >
2 >^^^^^^^^
3 >        ^^^^
4 >            ^
5 >             ^^->
1 >
  >c.doThing({a: 42});
  >
  >
2 >
3 >        let 
4 >            x
1 >Emitted(10, 1) Source(4, 1) + SourceIndex(1)
2 >Emitted(10, 9) Source(4, 1) + SourceIndex(1)
3 >Emitted(10, 13) Source(4, 5) + SourceIndex(1)
4 >Emitted(10, 14) Source(4, 6) + SourceIndex(1)
---
>>>    b: number;
>>>};
1->^
2 > ^
3 >  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1-> = c.doThing({a: 12})
2 > ;
1->Emitted(12, 2) Source(4, 27) + SourceIndex(1)
2 >Emitted(12, 3) Source(4, 28) + SourceIndex(1)
---
>>>//# sourceMappingURL=bundle.d.ts.map