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

Function writeToken

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

Source from the content-addressed store, hash-verified

114043 writer.decreaseIndent();
114044 }
114045 function writeToken(token, pos, writer, contextNode) {
114046 return !sourceMapsDisabled
114047 ? emitTokenWithSourceMap(contextNode, token, writer, pos, writeTokenText)
114048 : writeTokenText(token, writer, pos);
114049 }
114050 function writeTokenNode(node, writer) {
114051 if (onBeforeEmitToken) {
114052 onBeforeEmitToken(node);

Callers 4

emitMetaPropertyFunction · 0.85
emitDebuggerStatementFunction · 0.85
emitBlockFunctionBodyFunction · 0.85

Calls 2

emitTokenWithSourceMapFunction · 0.85
writeTokenTextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…