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

Function updateOrPushBundleFileTextLike

test/fixtures/snapshot/typescript.js:110827–110835  ·  view source on GitHub ↗
(pos, end, kind)

Source from the content-addressed store, hash-verified

110825 return writer.getTextPosWithWriteLine ? writer.getTextPosWithWriteLine() : writer.getTextPos();
110826 }
110827 function updateOrPushBundleFileTextLike(pos, end, kind) {
110828 var last = ts.lastOrUndefined(bundleFileInfo.sections);
110829 if (last && last.kind === kind) {
110830 last.end = end;
110831 }
110832 else {
110833 bundleFileInfo.sections.push({ pos: pos, end: end, kind: kind });
110834 }
110835 }
110836 function recordBundleFileInternalSectionStart(node) {
110837 if (recordInternalSection &&
110838 bundleFileInfo &&

Callers 2

emitUnparsedTextLikeFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected