115 lines
No EOL
2.7 KiB
Text
115 lines
No EOL
2.7 KiB
Text
===================================================================
|
|
JsFile: es3-sourcemap-amd.js
|
|
mapUrl: es3-sourcemap-amd.js.map
|
|
sourceRoot:
|
|
sources: es3-sourcemap-amd.ts
|
|
===================================================================
|
|
-------------------------------------------------------------------
|
|
emittedFile:tests/cases/compiler/es3-sourcemap-amd.js
|
|
sourceFile:es3-sourcemap-amd.ts
|
|
-------------------------------------------------------------------
|
|
>>>var A = (function () {
|
|
1 >
|
|
2 >^^^^^^^^^^^^^^^^^^^->
|
|
1 >
|
|
>
|
|
1 >Emitted(1, 1) Source(2, 1) + SourceIndex(0)
|
|
---
|
|
>>> function A() {
|
|
1->^^^^
|
|
2 > ^^->
|
|
1->class A
|
|
>{
|
|
>
|
|
1->Emitted(2, 5) Source(4, 5) + SourceIndex(0) name (A)
|
|
---
|
|
>>> }
|
|
1->^^^^
|
|
2 > ^
|
|
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
|
1->constructor ()
|
|
> {
|
|
>
|
|
>
|
|
2 > }
|
|
1->Emitted(3, 5) Source(7, 5) + SourceIndex(0) name (A.constructor)
|
|
2 >Emitted(3, 6) Source(7, 6) + SourceIndex(0) name (A.constructor)
|
|
---
|
|
>>> A.prototype.B = function () {
|
|
1->^^^^
|
|
2 > ^^^^^^^^^^^^^
|
|
3 > ^^^
|
|
1->
|
|
>
|
|
> public
|
|
2 > B
|
|
3 >
|
|
1->Emitted(4, 5) Source(9, 12) + SourceIndex(0) name (A)
|
|
2 >Emitted(4, 18) Source(9, 13) + SourceIndex(0) name (A)
|
|
3 >Emitted(4, 21) Source(9, 5) + SourceIndex(0) name (A)
|
|
---
|
|
>>> return 42;
|
|
1 >^^^^^^^^
|
|
2 > ^^^^^^
|
|
3 > ^
|
|
4 > ^^
|
|
5 > ^
|
|
1 >public B()
|
|
> {
|
|
>
|
|
2 > return
|
|
3 >
|
|
4 > 42
|
|
5 > ;
|
|
1 >Emitted(5, 9) Source(11, 9) + SourceIndex(0) name (A.B)
|
|
2 >Emitted(5, 15) Source(11, 15) + SourceIndex(0) name (A.B)
|
|
3 >Emitted(5, 16) Source(11, 16) + SourceIndex(0) name (A.B)
|
|
4 >Emitted(5, 18) Source(11, 18) + SourceIndex(0) name (A.B)
|
|
5 >Emitted(5, 19) Source(11, 19) + SourceIndex(0) name (A.B)
|
|
---
|
|
>>> };
|
|
1 >^^^^
|
|
2 > ^
|
|
3 > ^^^^^^^^^->
|
|
1 >
|
|
>
|
|
2 > }
|
|
1 >Emitted(6, 5) Source(12, 5) + SourceIndex(0) name (A.B)
|
|
2 >Emitted(6, 6) Source(12, 6) + SourceIndex(0) name (A.B)
|
|
---
|
|
>>> return A;
|
|
1->^^^^
|
|
2 > ^^^^^^^^
|
|
1->
|
|
>
|
|
2 > }
|
|
1->Emitted(7, 5) Source(13, 1) + SourceIndex(0) name (A)
|
|
2 >Emitted(7, 13) Source(13, 2) + SourceIndex(0) name (A)
|
|
---
|
|
>>>})();
|
|
1 >
|
|
2 >^
|
|
3 >
|
|
4 > ^^^^
|
|
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
|
1 >
|
|
2 >}
|
|
3 >
|
|
4 > class A
|
|
> {
|
|
> constructor ()
|
|
> {
|
|
>
|
|
> }
|
|
>
|
|
> public B()
|
|
> {
|
|
> return 42;
|
|
> }
|
|
> }
|
|
1 >Emitted(8, 1) Source(13, 1) + SourceIndex(0) name (A)
|
|
2 >Emitted(8, 2) Source(13, 2) + SourceIndex(0) name (A)
|
|
3 >Emitted(8, 2) Source(2, 1) + SourceIndex(0)
|
|
4 >Emitted(8, 6) Source(13, 2) + SourceIndex(0)
|
|
---
|
|
>>>//# sourceMappingURL=es3-sourcemap-amd.js.map |