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

Function pipelineEmitWithHint

test/fixtures/snapshot/typescript.js:111070–111084  ·  view source on GitHub ↗
(hint, node)

Source from the content-addressed store, hash-verified

111068 onEmitNode(hint, node, pipelinePhase);
111069 }
111070 function pipelineEmitWithHint(hint, node) {
111071 onBeforeEmitNode === null || onBeforeEmitNode === void 0 ? void 0 : onBeforeEmitNode(node);
111072 if (preserveSourceNewlines) {
111073 var savedPreserveSourceNewlines = preserveSourceNewlines;
111074 beforeEmitNode(node);
111075 pipelineEmitWithHintWorker(hint, node);
111076 afterEmitNode(savedPreserveSourceNewlines);
111077 }
111078 else {
111079 pipelineEmitWithHintWorker(hint, node);
111080 }
111081 onAfterEmitNode === null || onAfterEmitNode === void 0 ? void 0 : onAfterEmitNode(node);
111082 // clear the parenthesizer rule as we ascend
111083 currentParenthesizerRule = undefined;
111084 }
111085 function pipelineEmitWithHintWorker(hint, node, allowSnippets) {
111086 if (allowSnippets === void 0) { allowSnippets = true; }
111087 if (allowSnippets) {

Callers

nothing calls this directly

Calls 5

onBeforeEmitNodeFunction · 0.85
beforeEmitNodeFunction · 0.85
afterEmitNodeFunction · 0.85
onAfterEmitNodeFunction · 0.85

Tested by

no test coverage detected