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

Function getSourceText

test/fixtures/snapshot/typescript.js:68444–68446  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

68442 addMatch(lastSourceIndex, getSourceText(lastSourceIndex).length);
68443 return matches;
68444 function getSourceText(index) {
68445 return index < lastSourceIndex ? sourceTexts[index] : remainingEndText;
68446 }
68447 function addMatch(s, p) {
68448 var matchType = s === seg ?
68449 getStringLiteralType(getSourceText(s).slice(pos, p)) :

Callers 2

addMatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected