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

Function pipelineEmitWithComments

test/fixtures/snapshot/typescript.js:114697–114705  ·  view source on GitHub ↗
(hint, node)

Source from the content-addressed store, hash-verified

114695 }
114696 // Comments
114697 function pipelineEmitWithComments(hint, node) {
114698 var pipelinePhase = getNextPipelinePhase(2 /* PipelinePhase.Comments */, hint, node);
114699 var savedContainerPos = containerPos;
114700 var savedContainerEnd = containerEnd;
114701 var savedDeclarationListContainerEnd = declarationListContainerEnd;
114702 emitCommentsBeforeNode(node);
114703 pipelinePhase(hint, node);
114704 emitCommentsAfterNode(node, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd);
114705 }
114706 function emitCommentsBeforeNode(node) {
114707 var emitFlags = ts.getEmitFlags(node);
114708 var commentRange = ts.getCommentRange(node);

Callers

nothing calls this directly

Calls 3

getNextPipelinePhaseFunction · 0.85
emitCommentsBeforeNodeFunction · 0.85
emitCommentsAfterNodeFunction · 0.85

Tested by

no test coverage detected