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

Function emitFunctionDeclarationOrExpression

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

Source from the content-addressed store, hash-verified

112752 emitFunctionDeclarationOrExpression(node);
112753 }
112754 function emitFunctionDeclarationOrExpression(node) {
112755 emitDecorators(node, node.decorators);
112756 emitModifiers(node, node.modifiers);
112757 writeKeyword("function");
112758 emit(node.asteriskToken);
112759 writeSpace();
112760 emitIdentifierName(node.name);
112761 emitSignatureAndBody(node, emitSignatureHead);
112762 }
112763 function emitSignatureAndBody(node, emitSignatureHead) {
112764 var body = node.body;
112765 if (body) {

Callers 2

emitFunctionExpressionFunction · 0.85
emitFunctionDeclarationFunction · 0.85

Calls 7

emitDecoratorsFunction · 0.85
emitModifiersFunction · 0.85
writeKeywordFunction · 0.85
writeSpaceFunction · 0.85
emitIdentifierNameFunction · 0.85
emitSignatureAndBodyFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…