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

Function updatePartiallyEmittedExpression

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

Source from the content-addressed store, hash-verified

26548 }
26549 // @api
26550 function updatePartiallyEmittedExpression(node, expression) {
26551 return node.expression !== expression
26552 ? update(createPartiallyEmittedExpression(expression, node.original), node)
26553 : node;
26554 }
26555 function flattenCommaElements(node) {
26556 if (ts.nodeIsSynthesized(node) && !ts.isParseTreeNode(node) && !node.original && !node.emitNode && !node.id) {
26557 if (ts.isCommaListExpression(node)) {

Callers 1

updateOuterExpressionFunction · 0.85

Calls 2

updateFunction · 0.70

Tested by

no test coverage detected