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

Function createPartiallyEmittedExpression

test/fixtures/snapshot/typescript.js:26539–26548  ·  view source on GitHub ↗
(expression, original)

Source from the content-addressed store, hash-verified

26537 */
26538 // @api
26539 function createPartiallyEmittedExpression(expression, original) {
26540 var node = createBaseNode(350 /* SyntaxKind.PartiallyEmittedExpression */);
26541 node.expression = expression;
26542 node.original = original;
26543 node.transformFlags |=
26544 propagateChildFlags(node.expression) |
26545 1 /* TransformFlags.ContainsTypeScript */;
26546 ts.setTextRange(node, original);
26547 return node;
26548 }
26549 // @api
26550 function updatePartiallyEmittedExpression(node, expression) {
26551 return node.expression !== expression

Callers 1

Calls 2

createBaseNodeFunction · 0.85
propagateChildFlagsFunction · 0.85

Tested by

no test coverage detected