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

Function updateTypeOfExpression

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

Source from the content-addressed store, hash-verified

24345 }
24346 // @api
24347 function updateTypeOfExpression(node, expression) {
24348 return node.expression !== expression
24349 ? update(createTypeOfExpression(expression), node)
24350 : node;
24351 }
24352 // @api
24353 function createVoidExpression(expression) {
24354 var node = createBaseExpression(217 /* SyntaxKind.VoidExpression */);

Callers

nothing calls this directly

Calls 2

createTypeOfExpressionFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected