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

Function captureMapping

test/fixtures/snapshot/typescript.js:90397–90406  ·  view source on GitHub ↗
(hasSource, hasName)

Source from the content-addressed store, hash-verified

90395 }
90396 };
90397 function captureMapping(hasSource, hasName) {
90398 return {
90399 generatedLine: generatedLine,
90400 generatedCharacter: generatedCharacter,
90401 sourceIndex: hasSource ? sourceIndex : undefined,
90402 sourceLine: hasSource ? sourceLine : undefined,
90403 sourceCharacter: hasSource ? sourceCharacter : undefined,
90404 nameIndex: hasName ? nameIndex : undefined
90405 };
90406 }
90407 function stopIterating() {
90408 done = true;
90409 return { value: undefined, done: true };

Callers 2

stateFunction · 0.85
decodeMappingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…