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

Function emitSpreadElement

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

Source from the content-addressed store, hash-verified

112447 emitExpressionWithLeadingSpace(node.expression && parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsiAndDisallowedComma);
112448 }
112449 function emitSpreadElement(node) {
112450 emitTokenWithComment(25 /* SyntaxKind.DotDotDotToken */, node.pos, writePunctuation, node);
112451 emitExpression(node.expression, parenthesizer.parenthesizeExpressionForDisallowedComma);
112452 }
112453 function emitClassExpression(node) {
112454 generateNameIfNeeded(node.name);
112455 emitClassDeclarationOrExpression(node);

Callers 1

Calls 2

emitTokenWithCommentFunction · 0.85
emitExpressionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…