MCPcopy Create free account
hub / github.com/nodejs/node / updateVoidExpression

Function updateVoidExpression

test/fixtures/snapshot/typescript.js:24360–24364  ·  view source on GitHub ↗
(node, expression)

Source from the content-addressed store, hash-verified

24358 }
24359 // @api
24360 function updateVoidExpression(node, expression) {
24361 return node.expression !== expression
24362 ? update(createVoidExpression(expression), node)
24363 : node;
24364 }
24365 // @api
24366 function createAwaitExpression(expression) {
24367 var node = createBaseExpression(218 /* SyntaxKind.AwaitExpression */);

Callers

nothing calls this directly

Calls 2

createVoidExpressionFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected