MCPcopy Index your code
hub / github.com/nodejs/node / getDecodedMappings

Function getDecodedMappings

test/fixtures/snapshot/typescript.js:90550–90565  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90548 };
90549 }
90550 function getDecodedMappings() {
90551 if (decodedMappings === undefined) {
90552 var decoder = decodeMappings(map.mappings);
90553 var mappings = ts.arrayFrom(decoder, processMapping);
90554 if (decoder.error !== undefined) {
90555 if (host.log) {
90556 host.log("Encountered error while decoding sourcemap: ".concat(decoder.error));
90557 }
90558 decodedMappings = ts.emptyArray;
90559 }
90560 else {
90561 decodedMappings = mappings;
90562 }
90563 }
90564 return decodedMappings;
90565 }
90566 function getSourceMappings(sourceIndex) {
90567 if (sourceMappings === undefined) {
90568 var lists = [];

Callers 2

getSourceMappingsFunction · 0.85
getGeneratedMappingsFunction · 0.85

Calls 3

decodeMappingsFunction · 0.85
concatMethod · 0.80
logMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…