1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
|
===================================================================
JsFile: ternaryExpressionSourceMap.js
mapUrl: ternaryExpressionSourceMap.js.map
sourceRoot:
sources: ternaryExpressionSourceMap.ts
===================================================================
-------------------------------------------------------------------
emittedFile:tests/cases/compiler/ternaryExpressionSourceMap.js
sourceFile:ternaryExpressionSourceMap.ts
-------------------------------------------------------------------
>>>var x = 1;
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 >var
3 > x
4 > =
5 > 1
6 > ;
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0)
3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0)
4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0)
5 >Emitted(1, 10) Source(1, 10) + SourceIndex(0)
6 >Emitted(1, 11) Source(1, 11) + SourceIndex(0)
---
>>>var foo = x ? function () { return 0; } : function () { return 0; };
1->
2 >^^^^
3 > ^^^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^^^^^^^^^^^^
10> ^^^^^^^
11> ^
12> ^^
13> ^
14> ^
15> ^
16> ^
17> ^^^^^^^^^^^^^^
18> ^^^^^^^
19> ^
20> ^^
21> ^
22> ^
1->
>
2 >var
3 > foo
4 > =
5 > x
6 >
7 > ?
8 >
9 > () =>
10>
11> 0
12>
13> 0
14>
15> :
16>
17> () =>
18>
19> 0
20>
21> 0
22> ;
1->Emitted(2, 1) Source(2, 1) + SourceIndex(0)
2 >Emitted(2, 5) Source(2, 5) + SourceIndex(0)
3 >Emitted(2, 8) Source(2, 8) + SourceIndex(0)
4 >Emitted(2, 11) Source(2, 11) + SourceIndex(0)
5 >Emitted(2, 12) Source(2, 12) + SourceIndex(0)
6 >Emitted(2, 13) Source(2, 13) + SourceIndex(0)
7 >Emitted(2, 14) Source(2, 14) + SourceIndex(0)
8 >Emitted(2, 15) Source(2, 15) + SourceIndex(0)
9 >Emitted(2, 29) Source(2, 21) + SourceIndex(0)
10>Emitted(2, 36) Source(2, 21) + SourceIndex(0)
11>Emitted(2, 37) Source(2, 22) + SourceIndex(0)
12>Emitted(2, 39) Source(2, 21) + SourceIndex(0)
13>Emitted(2, 40) Source(2, 22) + SourceIndex(0)
14>Emitted(2, 41) Source(2, 23) + SourceIndex(0)
15>Emitted(2, 42) Source(2, 24) + SourceIndex(0)
16>Emitted(2, 43) Source(2, 25) + SourceIndex(0)
17>Emitted(2, 57) Source(2, 31) + SourceIndex(0)
18>Emitted(2, 64) Source(2, 31) + SourceIndex(0)
19>Emitted(2, 65) Source(2, 32) + SourceIndex(0)
20>Emitted(2, 67) Source(2, 31) + SourceIndex(0)
21>Emitted(2, 68) Source(2, 32) + SourceIndex(0)
22>Emitted(2, 69) Source(2, 33) + SourceIndex(0)
---
>>>//# sourceMappingURL=ternaryExpressionSourceMap.js.map
|