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

Function emitWhileClause

test/fixtures/snapshot/typescript.js:112540–112546  ·  view source on GitHub ↗
(node, startPos)

Source from the content-addressed store, hash-verified

112538 }
112539 }
112540 function emitWhileClause(node, startPos) {
112541 var openParenPos = emitTokenWithComment(115 /* SyntaxKind.WhileKeyword */, startPos, writeKeyword, node);
112542 writeSpace();
112543 emitTokenWithComment(20 /* SyntaxKind.OpenParenToken */, openParenPos, writePunctuation, node);
112544 emitExpression(node.expression);
112545 emitTokenWithComment(21 /* SyntaxKind.CloseParenToken */, node.expression.end, writePunctuation, node);
112546 }
112547 function emitDoStatement(node) {
112548 emitTokenWithComment(90 /* SyntaxKind.DoKeyword */, node.pos, writeKeyword, node);
112549 emitEmbeddedStatement(node, node.statement);

Callers 2

emitDoStatementFunction · 0.85
emitWhileStatementFunction · 0.85

Calls 3

emitTokenWithCommentFunction · 0.85
writeSpaceFunction · 0.85
emitExpressionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…