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

Function emitBindingElement

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

Source from the content-addressed store, hash-verified

112134 writePunctuation("]");
112135 }
112136 function emitBindingElement(node) {
112137 emit(node.dotDotDotToken);
112138 if (node.propertyName) {
112139 emit(node.propertyName);
112140 writePunctuation(":");
112141 writeSpace();
112142 }
112143 emit(node.name);
112144 emitInitializer(node.initializer, node.name.end, node, parenthesizer.parenthesizeExpressionForDisallowedComma);
112145 }
112146 //
112147 // Expressions
112148 //

Callers 1

Calls 4

writePunctuationFunction · 0.85
writeSpaceFunction · 0.85
emitInitializerFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected