MCPcopy Create free account
hub / github.com/nodejs/node / emitForBinding

Function emitForBinding

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

Source from the content-addressed store, hash-verified

112598 emitEmbeddedStatement(node, node.statement);
112599 }
112600 function emitForBinding(node) {
112601 if (node !== undefined) {
112602 if (node.kind === 255 /* SyntaxKind.VariableDeclarationList */) {
112603 emit(node);
112604 }
112605 else {
112606 emitExpression(node);
112607 }
112608 }
112609 }
112610 function emitContinueStatement(node) {
112611 emitTokenWithComment(86 /* SyntaxKind.ContinueKeyword */, node.pos, writeKeyword, node);
112612 emitWithLeadingSpace(node.label);

Callers 3

emitForStatementFunction · 0.85
emitForInStatementFunction · 0.85
emitForOfStatementFunction · 0.85

Calls 2

emitExpressionFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected