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

Function emitInterfaceDeclaration

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

Source from the content-addressed store, hash-verified

112881 }
112882 }
112883 function emitInterfaceDeclaration(node) {
112884 emitDecorators(node, node.decorators);
112885 emitModifiers(node, node.modifiers);
112886 writeKeyword("interface");
112887 writeSpace();
112888 emit(node.name);
112889 emitTypeParameters(node, node.typeParameters);
112890 emitList(node, node.heritageClauses, 512 /* ListFormat.HeritageClauses */);
112891 writeSpace();
112892 writePunctuation("{");
112893 emitList(node, node.members, 129 /* ListFormat.InterfaceMembers */);
112894 writePunctuation("}");
112895 }
112896 function emitTypeAliasDeclaration(node) {
112897 emitDecorators(node, node.decorators);
112898 emitModifiers(node, node.modifiers);

Callers 1

Calls 8

emitDecoratorsFunction · 0.85
emitModifiersFunction · 0.85
writeKeywordFunction · 0.85
writeSpaceFunction · 0.85
emitTypeParametersFunction · 0.85
emitListFunction · 0.85
writePunctuationFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…