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

Function emitSignatureHead

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

Source from the content-addressed store, hash-verified

112790 }
112791 }
112792 function emitSignatureHead(node) {
112793 emitTypeParameters(node, node.typeParameters);
112794 emitParameters(node, node.parameters);
112795 emitTypeAnnotation(node.type);
112796 }
112797 function shouldEmitBlockFunctionBodyOnSingleLine(body) {
112798 // We must emit a function body as a single-line body in the following case:
112799 // * The body has NodeEmitFlags.SingleLine specified.

Callers 1

emitSignatureAndBodyFunction · 0.85

Calls 3

emitTypeParametersFunction · 0.85
emitParametersFunction · 0.85
emitTypeAnnotationFunction · 0.85

Tested by

no test coverage detected