=================================================================== 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