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

Function emitNewExpression

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

Source from the content-addressed store, hash-verified

112230 emitExpressionList(node, node.arguments, 2576 /* ListFormat.CallExpressionArguments */, parenthesizer.parenthesizeExpressionForDisallowedComma);
112231 }
112232 function emitNewExpression(node) {
112233 emitTokenWithComment(103 /* SyntaxKind.NewKeyword */, node.pos, writeKeyword, node);
112234 writeSpace();
112235 emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfNew);
112236 emitTypeArguments(node, node.typeArguments);
112237 emitExpressionList(node, node.arguments, 18960 /* ListFormat.NewExpressionArguments */, parenthesizer.parenthesizeExpressionForDisallowedComma);
112238 }
112239 function emitTaggedTemplateExpression(node) {
112240 var indirectCall = ts.getEmitFlags(node) & 536870912 /* EmitFlags.IndirectCall */;
112241 if (indirectCall) {

Callers 1

Calls 5

emitTokenWithCommentFunction · 0.85
writeSpaceFunction · 0.85
emitExpressionFunction · 0.85
emitTypeArgumentsFunction · 0.85
emitExpressionListFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…