108 lines
3.4 KiB
Text
108 lines
3.4 KiB
Text
|
===================================================================
|
||
|
JsFile: sourceMapValidationClassWithDefaultConstructor.js
|
||
|
mapUrl: sourceMapValidationClassWithDefaultConstructor.js.map
|
||
|
sourceRoot:
|
||
|
sources: sourceMapValidationClassWithDefaultConstructor.ts
|
||
|
===================================================================
|
||
|
-------------------------------------------------------------------
|
||
|
emittedFile:tests/cases/compiler/sourceMapValidationClassWithDefaultConstructor.js
|
||
|
sourceFile:sourceMapValidationClassWithDefaultConstructor.ts
|
||
|
-------------------------------------------------------------------
|
||
|
>>>var Greeter = (function () {
|
||
|
1 >
|
||
|
2 >^^^^
|
||
|
3 > ^^^^^^^
|
||
|
4 > ^^^^^^^^^^^^^^->
|
||
|
1 >
|
||
|
2 >class
|
||
|
3 > Greeter
|
||
|
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
||
|
2 >Emitted(1, 5) Source(1, 7) + SourceIndex(0)
|
||
|
3 >Emitted(1, 12) Source(1, 14) + SourceIndex(0)
|
||
|
---
|
||
|
>>> function Greeter() {
|
||
|
1->^^^^
|
||
|
2 > ^^^^^^^^^
|
||
|
3 > ^^^^^^^
|
||
|
4 > ^->
|
||
|
1->
|
||
|
2 > class
|
||
|
3 > Greeter
|
||
|
1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) name (Greeter)
|
||
|
2 >Emitted(2, 14) Source(1, 7) + SourceIndex(0) name (Greeter)
|
||
|
3 >Emitted(2, 21) Source(1, 14) + SourceIndex(0) name (Greeter)
|
||
|
---
|
||
|
>>> this.a = 10;
|
||
|
1->^^^^^^^^
|
||
|
2 > ^^^^^^
|
||
|
3 > ^^^
|
||
|
4 > ^^
|
||
|
5 > ^
|
||
|
6 > ^^^^^^^^->
|
||
|
1-> {
|
||
|
> public
|
||
|
2 > a
|
||
|
3 > =
|
||
|
4 > 10
|
||
|
5 > ;
|
||
|
1->Emitted(3, 9) Source(2, 12) + SourceIndex(0) name (Greeter.constructor)
|
||
|
2 >Emitted(3, 15) Source(2, 13) + SourceIndex(0) name (Greeter.constructor)
|
||
|
3 >Emitted(3, 18) Source(2, 16) + SourceIndex(0) name (Greeter.constructor)
|
||
|
4 >Emitted(3, 20) Source(2, 18) + SourceIndex(0) name (Greeter.constructor)
|
||
|
5 >Emitted(3, 21) Source(2, 19) + SourceIndex(0) name (Greeter.constructor)
|
||
|
---
|
||
|
>>> this.nameA = "Ten";
|
||
|
1->^^^^^^^^
|
||
|
2 > ^^^^^^^^^^
|
||
|
3 > ^^^
|
||
|
4 > ^^^^^
|
||
|
5 > ^
|
||
|
1->
|
||
|
> public
|
||
|
2 > nameA
|
||
|
3 > =
|
||
|
4 > "Ten"
|
||
|
5 > ;
|
||
|
1->Emitted(4, 9) Source(3, 12) + SourceIndex(0) name (Greeter.constructor)
|
||
|
2 >Emitted(4, 19) Source(3, 17) + SourceIndex(0) name (Greeter.constructor)
|
||
|
3 >Emitted(4, 22) Source(3, 20) + SourceIndex(0) name (Greeter.constructor)
|
||
|
4 >Emitted(4, 27) Source(3, 25) + SourceIndex(0) name (Greeter.constructor)
|
||
|
5 >Emitted(4, 28) Source(3, 26) + SourceIndex(0) name (Greeter.constructor)
|
||
|
---
|
||
|
>>> }
|
||
|
1 >^^^^
|
||
|
2 > ^
|
||
|
3 > ^^^^^^^^^^^^^^^->
|
||
|
1 >
|
||
|
>
|
||
|
2 > }
|
||
|
1 >Emitted(5, 5) Source(4, 1) + SourceIndex(0) name (Greeter.constructor)
|
||
|
2 >Emitted(5, 6) Source(4, 2) + SourceIndex(0) name (Greeter.constructor)
|
||
|
---
|
||
|
>>> return Greeter;
|
||
|
1->^^^^
|
||
|
2 > ^^^^^^^^^^^^^^
|
||
|
1->
|
||
|
2 > }
|
||
|
1->Emitted(6, 5) Source(4, 1) + SourceIndex(0) name (Greeter)
|
||
|
2 >Emitted(6, 19) Source(4, 2) + SourceIndex(0) name (Greeter)
|
||
|
---
|
||
|
>>>})();
|
||
|
1 >
|
||
|
2 >^
|
||
|
3 >
|
||
|
4 > ^^^^
|
||
|
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||
|
1 >
|
||
|
2 >}
|
||
|
3 >
|
||
|
4 > class Greeter {
|
||
|
> public a = 10;
|
||
|
> public nameA = "Ten";
|
||
|
> }
|
||
|
1 >Emitted(7, 1) Source(4, 1) + SourceIndex(0) name (Greeter)
|
||
|
2 >Emitted(7, 2) Source(4, 2) + SourceIndex(0) name (Greeter)
|
||
|
3 >Emitted(7, 2) Source(1, 1) + SourceIndex(0)
|
||
|
4 >Emitted(7, 6) Source(4, 2) + SourceIndex(0)
|
||
|
---
|
||
|
>>>//# sourceMappingURL=sourceMapValidationClassWithDefaultConstructor.js.map
|