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

Function emitPartiallyEmittedExpression

test/fixtures/snapshot/typescript.js:113555–113564  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

113553 }
113554 // Transformation nodes
113555 function emitPartiallyEmittedExpression(node) {
113556 var emitFlags = ts.getEmitFlags(node);
113557 if (!(emitFlags & 512 /* EmitFlags.NoLeadingComments */) && node.pos !== node.expression.pos) {
113558 emitTrailingCommentsOfPosition(node.expression.pos);
113559 }
113560 emitExpression(node.expression);
113561 if (!(emitFlags & 1024 /* EmitFlags.NoTrailingComments */) && node.end !== node.expression.end) {
113562 emitLeadingCommentsOfPosition(node.expression.end);
113563 }
113564 }
113565 function emitCommaList(node) {
113566 emitExpressionList(node, node.elements, 528 /* ListFormat.CommaListElements */, /*parenthesizerRule*/ undefined);
113567 }

Callers 1

Calls 3

emitExpressionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…