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

Function writeText

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

Source from the content-addressed store, hash-verified

14313 function createSingleLineStringWriter() {
14314 var str = "";
14315 var writeText = function (text) { return str += text; };
14316 return {
14317 getText: function () { return str; },
14318 write: writeText,

Callers 5

writeFunction · 0.85
writeCommentFunction · 0.85
emitIdentifierFunction · 0.85
emitPrivateIdentifierFunction · 0.85

Calls 2

getIndentStringFunction · 0.85
updateLineCountAndPosForFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…