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

Function updatePostfixUnaryExpression

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

Source from the content-addressed store, hash-verified

24418 }
24419 // @api
24420 function updatePostfixUnaryExpression(node, operand) {
24421 return node.operand !== operand
24422 ? update(createPostfixUnaryExpression(operand, node.operator), node)
24423 : node;
24424 }
24425 // @api
24426 function createBinaryExpression(left, operator, right) {
24427 var node = createBaseExpression(221 /* SyntaxKind.BinaryExpression */);

Callers

nothing calls this directly

Calls 2

updateFunction · 0.70

Tested by

no test coverage detected