114 lines
No EOL
3 KiB
Text
114 lines
No EOL
3 KiB
Text
===================================================================
|
|
JsFile: out.js
|
|
mapUrl: out.js.map
|
|
sourceRoot:
|
|
sources: tests/cases/compiler/a.ts,tests/cases/compiler/b.ts
|
|
sourcesContent: ["\nvar a = 0;\nconsole.log(a);\n","var b = 0;\nconsole.log(b);"]
|
|
===================================================================
|
|
-------------------------------------------------------------------
|
|
emittedFile:out.js
|
|
sourceFile:tests/cases/compiler/a.ts
|
|
-------------------------------------------------------------------
|
|
>>>var a = 0;
|
|
1 >
|
|
2 >^^^^
|
|
3 > ^
|
|
4 > ^^^
|
|
5 > ^
|
|
6 > ^
|
|
7 > ^^^^^^->
|
|
1 >
|
|
>
|
|
2 >var
|
|
3 > a
|
|
4 > =
|
|
5 > 0
|
|
6 > ;
|
|
1 >Emitted(1, 1) Source(2, 1) + SourceIndex(0)
|
|
2 >Emitted(1, 5) Source(2, 5) + SourceIndex(0)
|
|
3 >Emitted(1, 6) Source(2, 6) + SourceIndex(0)
|
|
4 >Emitted(1, 9) Source(2, 9) + SourceIndex(0)
|
|
5 >Emitted(1, 10) Source(2, 10) + SourceIndex(0)
|
|
6 >Emitted(1, 11) Source(2, 11) + SourceIndex(0)
|
|
---
|
|
>>>console.log(a);
|
|
1->
|
|
2 >^^^^^^^
|
|
3 > ^
|
|
4 > ^^^
|
|
5 > ^
|
|
6 > ^
|
|
7 > ^
|
|
8 > ^
|
|
1->
|
|
>
|
|
2 >console
|
|
3 > .
|
|
4 > log
|
|
5 > (
|
|
6 > a
|
|
7 > )
|
|
8 > ;
|
|
1->Emitted(2, 1) Source(3, 1) + SourceIndex(0)
|
|
2 >Emitted(2, 8) Source(3, 8) + SourceIndex(0)
|
|
3 >Emitted(2, 9) Source(3, 9) + SourceIndex(0)
|
|
4 >Emitted(2, 12) Source(3, 12) + SourceIndex(0)
|
|
5 >Emitted(2, 13) Source(3, 13) + SourceIndex(0)
|
|
6 >Emitted(2, 14) Source(3, 14) + SourceIndex(0)
|
|
7 >Emitted(2, 15) Source(3, 15) + SourceIndex(0)
|
|
8 >Emitted(2, 16) Source(3, 16) + SourceIndex(0)
|
|
---
|
|
-------------------------------------------------------------------
|
|
emittedFile:out.js
|
|
sourceFile:tests/cases/compiler/b.ts
|
|
-------------------------------------------------------------------
|
|
>>>var b = 0;
|
|
1 >
|
|
2 >^^^^
|
|
3 > ^
|
|
4 > ^^^
|
|
5 > ^
|
|
6 > ^
|
|
7 > ^^^^^^->
|
|
1 >
|
|
2 >var
|
|
3 > b
|
|
4 > =
|
|
5 > 0
|
|
6 > ;
|
|
1 >Emitted(3, 1) Source(1, 1) + SourceIndex(1)
|
|
2 >Emitted(3, 5) Source(1, 5) + SourceIndex(1)
|
|
3 >Emitted(3, 6) Source(1, 6) + SourceIndex(1)
|
|
4 >Emitted(3, 9) Source(1, 9) + SourceIndex(1)
|
|
5 >Emitted(3, 10) Source(1, 10) + SourceIndex(1)
|
|
6 >Emitted(3, 11) Source(1, 11) + SourceIndex(1)
|
|
---
|
|
>>>console.log(b);
|
|
1->
|
|
2 >^^^^^^^
|
|
3 > ^
|
|
4 > ^^^
|
|
5 > ^
|
|
6 > ^
|
|
7 > ^
|
|
8 > ^
|
|
9 > ^^^^^^^^^^^^^^^->
|
|
1->
|
|
>
|
|
2 >console
|
|
3 > .
|
|
4 > log
|
|
5 > (
|
|
6 > b
|
|
7 > )
|
|
8 > ;
|
|
1->Emitted(4, 1) Source(2, 1) + SourceIndex(1)
|
|
2 >Emitted(4, 8) Source(2, 8) + SourceIndex(1)
|
|
3 >Emitted(4, 9) Source(2, 9) + SourceIndex(1)
|
|
4 >Emitted(4, 12) Source(2, 12) + SourceIndex(1)
|
|
5 >Emitted(4, 13) Source(2, 13) + SourceIndex(1)
|
|
6 >Emitted(4, 14) Source(2, 14) + SourceIndex(1)
|
|
7 >Emitted(4, 15) Source(2, 15) + SourceIndex(1)
|
|
8 >Emitted(4, 16) Source(2, 16) + SourceIndex(1)
|
|
---
|
|
>>>//# sourceMappingURL=out.js.map |