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

Function emitTypeParameter

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

Source from the content-addressed store, hash-verified

111761 // Signature elements
111762 //
111763 function emitTypeParameter(node) {
111764 emitModifiers(node, node.modifiers);
111765 emit(node.name);
111766 if (node.constraint) {
111767 writeSpace();
111768 writeKeyword("extends");
111769 writeSpace();
111770 emit(node.constraint);
111771 }
111772 if (node.default) {
111773 writeSpace();
111774 writeOperator("=");
111775 writeSpace();
111776 emit(node.default);
111777 }
111778 }
111779 function emitParameter(node) {
111780 emitDecorators(node, node.decorators);
111781 emitModifiers(node, node.modifiers);

Callers 1

Calls 5

emitModifiersFunction · 0.85
writeSpaceFunction · 0.85
writeKeywordFunction · 0.85
writeOperatorFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…