2014-07-13 01:04:16 +02:00
|
|
|
===================================================================
|
|
|
|
JsFile: sourceMapValidationWithComments.js
|
|
|
|
mapUrl: sourceMapValidationWithComments.js.map
|
|
|
|
sourceRoot:
|
|
|
|
sources: sourceMapValidationWithComments.ts
|
|
|
|
===================================================================
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
emittedFile:tests/cases/compiler/sourceMapValidationWithComments.js
|
|
|
|
sourceFile:sourceMapValidationWithComments.ts
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
>>>var DebugClass = (function () {
|
|
|
|
1 >
|
|
|
|
2 >^^^^
|
|
|
|
3 > ^^^^^^^^^^
|
|
|
|
4 > ^^^^^^^^^^^^^^->
|
|
|
|
1 >
|
|
|
|
2 >class
|
|
|
|
3 > DebugClass
|
|
|
|
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
|
|
|
2 >Emitted(1, 5) Source(1, 7) + SourceIndex(0)
|
|
|
|
3 >Emitted(1, 15) Source(1, 17) + SourceIndex(0)
|
|
|
|
---
|
|
|
|
>>> function DebugClass() {
|
|
|
|
1->^^^^
|
|
|
|
2 > ^^^^^^^^^
|
|
|
|
3 > ^^^^^^^^^^
|
|
|
|
1->
|
|
|
|
2 > class
|
|
|
|
3 > DebugClass
|
|
|
|
1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) name (DebugClass)
|
|
|
|
2 >Emitted(2, 14) Source(1, 7) + SourceIndex(0) name (DebugClass)
|
|
|
|
3 >Emitted(2, 24) Source(1, 17) + SourceIndex(0) name (DebugClass)
|
|
|
|
---
|
|
|
|
>>> }
|
|
|
|
1 >^^^^
|
|
|
|
2 > ^
|
|
|
|
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
|
|
|
1 > {
|
|
|
|
>
|
|
|
|
> public static debugFunc() {
|
|
|
|
>
|
|
|
|
> // Start Debugger Test Code
|
|
|
|
> var i = 0;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> // End Debugger Test Code
|
|
|
|
>
|
|
|
|
>
|
|
|
|
> return true;
|
|
|
|
> }
|
|
|
|
>
|
|
|
|
2 > }
|
|
|
|
1 >Emitted(3, 5) Source(21, 1) + SourceIndex(0) name (DebugClass.constructor)
|
|
|
|
2 >Emitted(3, 6) Source(21, 2) + SourceIndex(0) name (DebugClass.constructor)
|
|
|
|
---
|
|
|
|
>>> DebugClass.debugFunc = function () {
|
|
|
|
1->^^^^
|
|
|
|
2 > ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
3 > ^^^
|
2014-08-12 00:54:12 +02:00
|
|
|
4 > ^^^^^^^^^->
|
2014-07-13 01:04:16 +02:00
|
|
|
1->
|
|
|
|
2 > debugFunc
|
|
|
|
3 >
|
|
|
|
1->Emitted(4, 5) Source(3, 19) + SourceIndex(0) name (DebugClass)
|
|
|
|
2 >Emitted(4, 25) Source(3, 28) + SourceIndex(0) name (DebugClass)
|
|
|
|
3 >Emitted(4, 28) Source(3, 5) + SourceIndex(0) name (DebugClass)
|
|
|
|
---
|
2014-08-12 00:54:12 +02:00
|
|
|
>>> // Start Debugger Test Code
|
|
|
|
1->^^^^^^^^
|
|
|
|
2 >
|
|
|
|
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
1->public static debugFunc() {
|
2014-07-13 01:04:16 +02:00
|
|
|
>
|
|
|
|
> // Start Debugger Test Code
|
|
|
|
>
|
2014-08-12 00:54:12 +02:00
|
|
|
2 >
|
|
|
|
3 > // Start Debugger Test Code
|
|
|
|
1->Emitted(5, 9) Source(6, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(5, 9) Source(5, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
3 >Emitted(5, 36) Source(5, 36) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
---
|
|
|
|
>>> var i = 0;
|
|
|
|
1 >^^^^^^^^^^^^
|
|
|
|
2 > ^
|
|
|
|
3 > ^^^
|
|
|
|
4 > ^
|
|
|
|
5 > ^
|
|
|
|
1 >
|
|
|
|
> var
|
|
|
|
2 > i
|
|
|
|
3 > =
|
|
|
|
4 > 0
|
|
|
|
5 > ;
|
|
|
|
1 >Emitted(6, 13) Source(6, 13) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(6, 14) Source(6, 14) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
3 >Emitted(6, 17) Source(6, 17) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
4 >Emitted(6, 18) Source(6, 18) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
5 >Emitted(6, 19) Source(6, 19) + SourceIndex(0) name (DebugClass.debugFunc)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
|
|
|
>>> i++;
|
|
|
|
1 >^^^^^^^^
|
|
|
|
2 > ^
|
|
|
|
3 > ^^
|
|
|
|
4 > ^
|
|
|
|
5 > ^->
|
|
|
|
1 >
|
|
|
|
>
|
|
|
|
2 > i
|
|
|
|
3 > ++
|
|
|
|
4 > ;
|
2014-08-12 00:54:12 +02:00
|
|
|
1 >Emitted(7, 9) Source(7, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(7, 10) Source(7, 10) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
3 >Emitted(7, 12) Source(7, 12) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
4 >Emitted(7, 13) Source(7, 13) + SourceIndex(0) name (DebugClass.debugFunc)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
|
|
|
>>> i++;
|
|
|
|
1->^^^^^^^^
|
|
|
|
2 > ^
|
|
|
|
3 > ^^
|
|
|
|
4 > ^
|
|
|
|
5 > ^->
|
|
|
|
1->
|
|
|
|
>
|
|
|
|
2 > i
|
|
|
|
3 > ++
|
|
|
|
4 > ;
|
2014-08-12 00:54:12 +02:00
|
|
|
1->Emitted(8, 9) Source(8, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(8, 10) Source(8, 10) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
3 >Emitted(8, 12) Source(8, 12) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
4 >Emitted(8, 13) Source(8, 13) + SourceIndex(0) name (DebugClass.debugFunc)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
|
|
|
>>> i++;
|
|
|
|
1->^^^^^^^^
|
|
|
|
2 > ^
|
|
|
|
3 > ^^
|
|
|
|
4 > ^
|
|
|
|
5 > ^->
|
|
|
|
1->
|
|
|
|
>
|
|
|
|
2 > i
|
|
|
|
3 > ++
|
|
|
|
4 > ;
|
2014-08-12 00:54:12 +02:00
|
|
|
1->Emitted(9, 9) Source(9, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(9, 10) Source(9, 10) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
3 >Emitted(9, 12) Source(9, 12) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
4 >Emitted(9, 13) Source(9, 13) + SourceIndex(0) name (DebugClass.debugFunc)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
|
|
|
>>> i++;
|
|
|
|
1->^^^^^^^^
|
|
|
|
2 > ^
|
|
|
|
3 > ^^
|
|
|
|
4 > ^
|
|
|
|
5 > ^->
|
|
|
|
1->
|
|
|
|
>
|
|
|
|
2 > i
|
|
|
|
3 > ++
|
|
|
|
4 > ;
|
2014-08-12 00:54:12 +02:00
|
|
|
1->Emitted(10, 9) Source(10, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(10, 10) Source(10, 10) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
3 >Emitted(10, 12) Source(10, 12) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
4 >Emitted(10, 13) Source(10, 13) + SourceIndex(0) name (DebugClass.debugFunc)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
|
|
|
>>> i++;
|
|
|
|
1->^^^^^^^^
|
|
|
|
2 > ^
|
|
|
|
3 > ^^
|
|
|
|
4 > ^
|
|
|
|
5 > ^->
|
|
|
|
1->
|
|
|
|
>
|
|
|
|
2 > i
|
|
|
|
3 > ++
|
|
|
|
4 > ;
|
2014-08-12 00:54:12 +02:00
|
|
|
1->Emitted(11, 9) Source(11, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(11, 10) Source(11, 10) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
3 >Emitted(11, 12) Source(11, 12) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
4 >Emitted(11, 13) Source(11, 13) + SourceIndex(0) name (DebugClass.debugFunc)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
|
|
|
>>> i++;
|
|
|
|
1->^^^^^^^^
|
|
|
|
2 > ^
|
|
|
|
3 > ^^
|
|
|
|
4 > ^
|
|
|
|
5 > ^->
|
|
|
|
1->
|
|
|
|
>
|
|
|
|
2 > i
|
|
|
|
3 > ++
|
|
|
|
4 > ;
|
2014-08-12 00:54:12 +02:00
|
|
|
1->Emitted(12, 9) Source(12, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(12, 10) Source(12, 10) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
3 >Emitted(12, 12) Source(12, 12) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
4 >Emitted(12, 13) Source(12, 13) + SourceIndex(0) name (DebugClass.debugFunc)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
|
|
|
>>> i++;
|
|
|
|
1->^^^^^^^^
|
|
|
|
2 > ^
|
|
|
|
3 > ^^
|
|
|
|
4 > ^
|
|
|
|
5 > ^->
|
|
|
|
1->
|
|
|
|
>
|
|
|
|
2 > i
|
|
|
|
3 > ++
|
|
|
|
4 > ;
|
2014-08-12 00:54:12 +02:00
|
|
|
1->Emitted(13, 9) Source(13, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(13, 10) Source(13, 10) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
3 >Emitted(13, 12) Source(13, 12) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
4 >Emitted(13, 13) Source(13, 13) + SourceIndex(0) name (DebugClass.debugFunc)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
|
|
|
>>> i++;
|
|
|
|
1->^^^^^^^^
|
|
|
|
2 > ^
|
|
|
|
3 > ^^
|
|
|
|
4 > ^
|
|
|
|
5 > ^->
|
|
|
|
1->
|
|
|
|
>
|
|
|
|
2 > i
|
|
|
|
3 > ++
|
|
|
|
4 > ;
|
2014-08-12 00:54:12 +02:00
|
|
|
1->Emitted(14, 9) Source(14, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(14, 10) Source(14, 10) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
3 >Emitted(14, 12) Source(14, 12) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
4 >Emitted(14, 13) Source(14, 13) + SourceIndex(0) name (DebugClass.debugFunc)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
|
|
|
>>> i++;
|
|
|
|
1->^^^^^^^^
|
|
|
|
2 > ^
|
|
|
|
3 > ^^
|
|
|
|
4 > ^
|
2014-08-16 00:16:17 +02:00
|
|
|
5 > ^^^^^^^^^^^^^^^^^^^^^^->
|
2014-07-13 01:04:16 +02:00
|
|
|
1->
|
|
|
|
>
|
|
|
|
2 > i
|
|
|
|
3 > ++
|
|
|
|
4 > ;
|
2014-08-12 00:54:12 +02:00
|
|
|
1->Emitted(15, 9) Source(15, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(15, 10) Source(15, 10) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
3 >Emitted(15, 12) Source(15, 12) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
4 >Emitted(15, 13) Source(15, 13) + SourceIndex(0) name (DebugClass.debugFunc)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
2014-08-16 00:16:17 +02:00
|
|
|
>>> // End Debugger Test Code
|
2014-07-13 01:04:16 +02:00
|
|
|
1->^^^^^^^^
|
2014-08-16 00:16:17 +02:00
|
|
|
2 >
|
|
|
|
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
1->
|
|
|
|
> // End Debugger Test Code
|
|
|
|
>
|
|
|
|
>
|
|
|
|
>
|
|
|
|
2 >
|
|
|
|
3 > // End Debugger Test Code
|
|
|
|
1->Emitted(16, 9) Source(19, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(16, 9) Source(16, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
3 >Emitted(16, 34) Source(16, 34) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
---
|
|
|
|
>>> return true;
|
|
|
|
1 >^^^^^^^^
|
2014-07-13 01:04:16 +02:00
|
|
|
2 > ^^^^^^
|
|
|
|
3 > ^
|
|
|
|
4 > ^^^^
|
|
|
|
5 > ^
|
2014-08-16 00:16:17 +02:00
|
|
|
1 >
|
2014-07-13 01:04:16 +02:00
|
|
|
>
|
|
|
|
>
|
|
|
|
>
|
|
|
|
2 > return
|
|
|
|
3 >
|
|
|
|
4 > true
|
|
|
|
5 > ;
|
2014-08-16 00:16:17 +02:00
|
|
|
1 >Emitted(17, 9) Source(19, 9) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(17, 15) Source(19, 15) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
3 >Emitted(17, 16) Source(19, 16) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
4 >Emitted(17, 20) Source(19, 20) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
5 >Emitted(17, 21) Source(19, 21) + SourceIndex(0) name (DebugClass.debugFunc)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
|
|
|
>>> };
|
|
|
|
1 >^^^^
|
|
|
|
2 > ^
|
|
|
|
3 > ^^^^^^^^^^^^^^^^^^->
|
|
|
|
1 >
|
|
|
|
>
|
|
|
|
2 > }
|
2014-08-16 00:16:17 +02:00
|
|
|
1 >Emitted(18, 5) Source(20, 5) + SourceIndex(0) name (DebugClass.debugFunc)
|
|
|
|
2 >Emitted(18, 6) Source(20, 6) + SourceIndex(0) name (DebugClass.debugFunc)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
|
|
|
>>> return DebugClass;
|
|
|
|
1->^^^^
|
|
|
|
2 > ^^^^^^^^^^^^^^^^^
|
|
|
|
1->
|
|
|
|
>
|
|
|
|
2 > }
|
2014-08-16 00:16:17 +02:00
|
|
|
1->Emitted(19, 5) Source(21, 1) + SourceIndex(0) name (DebugClass)
|
|
|
|
2 >Emitted(19, 22) Source(21, 2) + SourceIndex(0) name (DebugClass)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
|
|
|
>>>})();
|
|
|
|
1 >
|
|
|
|
2 >^
|
|
|
|
3 >
|
|
|
|
4 > ^^^^
|
|
|
|
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
|
|
|
1 >
|
|
|
|
2 >}
|
|
|
|
3 >
|
|
|
|
4 > class DebugClass {
|
|
|
|
>
|
|
|
|
> public static debugFunc() {
|
|
|
|
>
|
|
|
|
> // Start Debugger Test Code
|
|
|
|
> var i = 0;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> i++;
|
|
|
|
> // End Debugger Test Code
|
|
|
|
>
|
|
|
|
>
|
|
|
|
> return true;
|
|
|
|
> }
|
|
|
|
> }
|
2014-08-16 00:16:17 +02:00
|
|
|
1 >Emitted(20, 1) Source(21, 1) + SourceIndex(0) name (DebugClass)
|
|
|
|
2 >Emitted(20, 2) Source(21, 2) + SourceIndex(0) name (DebugClass)
|
|
|
|
3 >Emitted(20, 2) Source(1, 1) + SourceIndex(0)
|
|
|
|
4 >Emitted(20, 6) Source(21, 2) + SourceIndex(0)
|
2014-07-13 01:04:16 +02:00
|
|
|
---
|
|
|
|
>>>//# sourceMappingURL=sourceMapValidationWithComments.js.map
|