File: sourceMap-StringLiteralWithNewLine.sourcemap.txt

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 (154 lines) | stat: -rw-r--r-- 4,277 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
142
143
144
145
146
147
148
149
150
151
152
153
154
===================================================================
JsFile: sourceMap-StringLiteralWithNewLine.js
mapUrl: sourceMap-StringLiteralWithNewLine.js.map
sourceRoot: 
sources: sourceMap-StringLiteralWithNewLine.ts
===================================================================
-------------------------------------------------------------------
emittedFile:tests/cases/compiler/sourceMap-StringLiteralWithNewLine.js
sourceFile:sourceMap-StringLiteralWithNewLine.ts
-------------------------------------------------------------------
>>>var Foo;
1 >
2 >^^^^
3 >    ^^^
4 >       ^
5 >        ^^^^^^^^^^->
1 >interface Document {
  >}
  >interface Window {
  >    document: Document;
  >}
  >declare var window: Window;
  >
  >
2 >module 
3 >    Foo
4 >        {
  >           var x = "test1";
  >           var y = "test 2\
  >       isn't this a lot of fun";
  >           var z = window.document;
  >       }
1 >Emitted(1, 1) Source(8, 1) + SourceIndex(0)
2 >Emitted(1, 5) Source(8, 8) + SourceIndex(0)
3 >Emitted(1, 8) Source(8, 11) + SourceIndex(0)
4 >Emitted(1, 9) Source(13, 2) + SourceIndex(0)
---
>>>(function (Foo) {
1->
2 >^^^^^^^^^^^
3 >           ^^^
4 >              ^^^^^^^->
1->
2 >module 
3 >           Foo
1->Emitted(2, 1) Source(8, 1) + SourceIndex(0)
2 >Emitted(2, 12) Source(8, 8) + SourceIndex(0)
3 >Emitted(2, 15) Source(8, 11) + SourceIndex(0)
---
>>>    var x = "test1";
1->^^^^
2 >    ^^^^
3 >        ^
4 >         ^^^
5 >            ^^^^^^^
6 >                   ^
1-> {
  >    
2 >    var 
3 >        x
4 >          = 
5 >            "test1"
6 >                   ;
1->Emitted(3, 5) Source(9, 5) + SourceIndex(0)
2 >Emitted(3, 9) Source(9, 9) + SourceIndex(0)
3 >Emitted(3, 10) Source(9, 10) + SourceIndex(0)
4 >Emitted(3, 13) Source(9, 13) + SourceIndex(0)
5 >Emitted(3, 20) Source(9, 20) + SourceIndex(0)
6 >Emitted(3, 21) Source(9, 21) + SourceIndex(0)
---
>>>    var y = "test 2\
1 >^^^^
2 >    ^^^^
3 >        ^
4 >         ^^^
5 >            ^^^^^^^^^^^^^^->
1 >
  >    
2 >    var 
3 >        y
4 >          = 
1 >Emitted(4, 5) Source(10, 5) + SourceIndex(0)
2 >Emitted(4, 9) Source(10, 9) + SourceIndex(0)
3 >Emitted(4, 10) Source(10, 10) + SourceIndex(0)
4 >Emitted(4, 13) Source(10, 13) + SourceIndex(0)
---
>>>isn't this a lot of fun";
1->^^^^^^^^^^^^^^^^^^^^^^^^
2 >                        ^
3 >                         ^^^^->
1->"test 2\
  >isn't this a lot of fun"
2 >                        ;
1->Emitted(5, 25) Source(11, 25) + SourceIndex(0)
2 >Emitted(5, 26) Source(11, 26) + SourceIndex(0)
---
>>>    var z = window.document;
1->^^^^
2 >    ^^^^
3 >        ^
4 >         ^^^
5 >            ^^^^^^
6 >                  ^
7 >                   ^^^^^^^^
8 >                           ^
1->
  >    
2 >    var 
3 >        z
4 >          = 
5 >            window
6 >                  .
7 >                   document
8 >                           ;
1->Emitted(6, 5) Source(12, 5) + SourceIndex(0)
2 >Emitted(6, 9) Source(12, 9) + SourceIndex(0)
3 >Emitted(6, 10) Source(12, 10) + SourceIndex(0)
4 >Emitted(6, 13) Source(12, 13) + SourceIndex(0)
5 >Emitted(6, 19) Source(12, 19) + SourceIndex(0)
6 >Emitted(6, 20) Source(12, 20) + SourceIndex(0)
7 >Emitted(6, 28) Source(12, 28) + SourceIndex(0)
8 >Emitted(6, 29) Source(12, 29) + SourceIndex(0)
---
>>>})(Foo || (Foo = {}));
1 >
2 >^
3 > ^^
4 >   ^^^
5 >      ^^^^^
6 >           ^^^
7 >              ^^^^^^^^
8 >                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
  >
2 >}
3 > 
4 >   Foo
5 >      
6 >           Foo
7 >               {
  >                  var x = "test1";
  >                  var y = "test 2\
  >              isn't this a lot of fun";
  >                  var z = window.document;
  >              }
1 >Emitted(7, 1) Source(13, 1) + SourceIndex(0)
2 >Emitted(7, 2) Source(13, 2) + SourceIndex(0)
3 >Emitted(7, 4) Source(8, 8) + SourceIndex(0)
4 >Emitted(7, 7) Source(8, 11) + SourceIndex(0)
5 >Emitted(7, 12) Source(8, 8) + SourceIndex(0)
6 >Emitted(7, 15) Source(8, 11) + SourceIndex(0)
7 >Emitted(7, 23) Source(13, 2) + SourceIndex(0)
---
>>>//# sourceMappingURL=sourceMap-StringLiteralWithNewLine.js.map