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

Function updateExpressionStatement

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

Source from the content-addressed store, hash-verified

24814 }
24815 // @api
24816 function updateExpressionStatement(node, expression) {
24817 return node.expression !== expression
24818 ? update(createExpressionStatement(expression), node)
24819 : node;
24820 }
24821 // @api
24822 function createIfStatement(expression, thenStatement, elseStatement) {
24823 var node = createBaseNode(239 /* SyntaxKind.IfStatement */);

Callers

nothing calls this directly

Calls 2

updateFunction · 0.70

Tested by

no test coverage detected