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

Function emitAssertEntry

test/fixtures/snapshot/typescript.js:113058–113069  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

113056 emitList(node, elements, 526226 /* ListFormat.ImportClauseEntries */);
113057 }
113058 function emitAssertEntry(node) {
113059 emit(node.name);
113060 writePunctuation(":");
113061 writeSpace();
113062 var value = node.value;
113063 /** @see {emitPropertyAssignment} */
113064 if ((ts.getEmitFlags(value) & 512 /* EmitFlags.NoLeadingComments */) === 0) {
113065 var commentRange = ts.getCommentRange(value);
113066 emitTrailingCommentsOfPosition(commentRange.pos);
113067 }
113068 emit(value);
113069 }
113070 function emitNamespaceExportDeclaration(node) {
113071 var nextPos = emitTokenWithComment(93 /* SyntaxKind.ExportKeyword */, node.pos, writeKeyword, node);
113072 writeSpace();

Callers 1

Calls 4

writePunctuationFunction · 0.85
writeSpaceFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…