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

Function emitFunctionType

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

Source from the content-addressed store, hash-verified

111912 emitTypeArguments(node, node.typeArguments);
111913 }
111914 function emitFunctionType(node) {
111915 pushNameGenerationScope(node);
111916 emitTypeParameters(node, node.typeParameters);
111917 emitParametersForArrow(node, node.parameters);
111918 writeSpace();
111919 writePunctuation("=>");
111920 writeSpace();
111921 emit(node.type);
111922 popNameGenerationScope(node);
111923 }
111924 function emitJSDocFunctionType(node) {
111925 writeKeyword("function");
111926 emitParameters(node, node.parameters);

Callers 1

Calls 7

pushNameGenerationScopeFunction · 0.85
emitTypeParametersFunction · 0.85
emitParametersForArrowFunction · 0.85
writeSpaceFunction · 0.85
writePunctuationFunction · 0.85
popNameGenerationScopeFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…