(sourceIndex)
| 90564 | return decodedMappings; |
| 90565 | } |
| 90566 | function getSourceMappings(sourceIndex) { |
| 90567 | if (sourceMappings === undefined) { |
| 90568 | var lists = []; |
| 90569 | for (var _i = 0, _a = getDecodedMappings(); _i < _a.length; _i++) { |
| 90570 | var mapping = _a[_i]; |
| 90571 | if (!isSourceMappedPosition(mapping)) |
| 90572 | continue; |
| 90573 | var list = lists[mapping.sourceIndex]; |
| 90574 | if (!list) |
| 90575 | lists[mapping.sourceIndex] = list = []; |
| 90576 | list.push(mapping); |
| 90577 | } |
| 90578 | sourceMappings = lists.map(function (list) { return ts.sortAndDeduplicate(list, compareSourcePositions, sameMappedPosition); }); |
| 90579 | } |
| 90580 | return sourceMappings[sourceIndex]; |
| 90581 | } |
| 90582 | function getGeneratedMappings() { |
| 90583 | if (generatedMappings === undefined) { |
| 90584 | var list = []; |
no test coverage detected