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

Function emitEntityName

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

Source from the content-addressed store, hash-verified

111745 emit(node.right);
111746 }
111747 function emitEntityName(node) {
111748 if (node.kind === 79 /* SyntaxKind.Identifier */) {
111749 emitExpression(node);
111750 }
111751 else {
111752 emit(node);
111753 }
111754 }
111755 function emitComputedPropertyName(node) {
111756 writePunctuation("[");
111757 emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfComputedPropertyName);

Callers 1

emitQualifiedNameFunction · 0.85

Calls 2

emitExpressionFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected