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

Function writeTokenText

test/fixtures/snapshot/typescript.js:114059–114063  ·  view source on GitHub ↗
(token, writer, pos)

Source from the content-addressed store, hash-verified

114057 }
114058 }
114059 function writeTokenText(token, writer, pos) {
114060 var tokenString = ts.tokenToString(token);
114061 writer(tokenString);
114062 return pos < 0 ? pos : pos + tokenString.length;
114063 }
114064 function writeLineOrSpace(parentNode, prevChildNode, nextChildNode) {
114065 if (ts.getEmitFlags(parentNode) & 1 /* EmitFlags.SingleLine */) {
114066 writeSpace();

Callers 6

emitTypeOperatorFunction · 0.85
emitTokenWithCommentFunction · 0.85
emitHeritageClauseFunction · 0.85
writeTokenFunction · 0.85

Calls 1

writerFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…