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

Function print

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

Source from the content-addressed store, hash-verified

110949 return text;
110950 }
110951 function print(hint, node, sourceFile) {
110952 if (sourceFile) {
110953 setSourceFile(sourceFile);
110954 }
110955 pipelineEmit(hint, node, /*parenthesizerRule*/ undefined);
110956 }
110957 function setSourceFile(sourceFile) {
110958 currentSourceFile = sourceFile;
110959 currentLineMap = undefined;

Callers 15

writeNodeFunction · 0.70
writeBundleFunction · 0.70
writeUnparsedSourceFunction · 0.70
writeFileFunction · 0.70
do_existFunction · 0.50
is_validFunction · 0.50
PrintFailureOutputMethod · 0.50
PrintFailureHeaderMethod · 0.50
RunSingleMethod · 0.50
StartingMethod · 0.50
DoneMethod · 0.50
AboutToRunMethod · 0.50

Calls 2

setSourceFileFunction · 0.85
pipelineEmitFunction · 0.85

Tested by 15

PrintFailureOutputMethod · 0.40
PrintFailureHeaderMethod · 0.40
RunSingleMethod · 0.40
StartingMethod · 0.40
DoneMethod · 0.40
AboutToRunMethod · 0.40
HasRunMethod · 0.40
PrintFailureOutputMethod · 0.40
HasRunMethod · 0.40
HasRunMethod · 0.40
PrintProgressMethod · 0.40
ClearLineMethod · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…