MCPcopy Create free account
hub / github.com/nodejs/node / emitUnparsedTextLike

Function emitUnparsedTextLike

test/fixtures/snapshot/typescript.js:111682–111690  ·  view source on GitHub ↗
(unparsed)

Source from the content-addressed store, hash-verified

111680 // SyntaxKind.UnparsedText
111681 // SyntaxKind.UnparsedInternal
111682 function emitUnparsedTextLike(unparsed) {
111683 var pos = getTextPosWithWriteLine();
111684 writeUnparsedNode(unparsed);
111685 if (bundleFileInfo) {
111686 updateOrPushBundleFileTextLike(pos, writer.getTextPos(), unparsed.kind === 302 /* SyntaxKind.UnparsedText */ ?
111687 "text" /* BundleFileSectionKind.Text */ :
111688 "internal" /* BundleFileSectionKind.Internal */);
111689 }
111690 }
111691 // SyntaxKind.UnparsedSyntheticReference
111692 function emitUnparsedSyntheticReference(unparsed) {
111693 var pos = getTextPosWithWriteLine();

Callers 1

Calls 3

getTextPosWithWriteLineFunction · 0.85
writeUnparsedNodeFunction · 0.85

Tested by

no test coverage detected