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

Function emitInitializer

test/fixtures/snapshot/typescript.js:113712–113719  ·  view source on GitHub ↗
(node, equalCommentStartPos, container, parenthesizerRule)

Source from the content-addressed store, hash-verified

113710 }
113711 }
113712 function emitInitializer(node, equalCommentStartPos, container, parenthesizerRule) {
113713 if (node) {
113714 writeSpace();
113715 emitTokenWithComment(63 /* SyntaxKind.EqualsToken */, equalCommentStartPos, writeOperator, container);
113716 writeSpace();
113717 emitExpression(node, parenthesizerRule);
113718 }
113719 }
113720 function emitNodeWithPrefix(prefix, prefixWriter, node, emit) {
113721 if (node) {
113722 prefixWriter(prefix);

Callers 5

emitParameterFunction · 0.85
emitPropertyDeclarationFunction · 0.85
emitBindingElementFunction · 0.85
emitVariableDeclarationFunction · 0.85
emitEnumMemberFunction · 0.85

Calls 3

writeSpaceFunction · 0.85
emitTokenWithCommentFunction · 0.85
emitExpressionFunction · 0.85

Tested by

no test coverage detected