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

Function updatePrefixUnaryExpression

test/fixtures/snapshot/typescript.js:24399–24403  ·  view source on GitHub ↗
(node, operand)

Source from the content-addressed store, hash-verified

24397 }
24398 // @api
24399 function updatePrefixUnaryExpression(node, operand) {
24400 return node.operand !== operand
24401 ? update(createPrefixUnaryExpression(node.operator, operand), node)
24402 : node;
24403 }
24404 // @api
24405 function createPostfixUnaryExpression(operand, operator) {
24406 var node = createBaseExpression(220 /* SyntaxKind.PostfixUnaryExpression */);

Callers

nothing calls this directly

Calls 2

updateFunction · 0.70

Tested by

no test coverage detected