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

Function bindPrefixUnaryExpressionFlow

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

Source from the content-addressed store, hash-verified

45885 }
45886 }
45887 function bindPrefixUnaryExpressionFlow(node) {
45888 if (node.operator === 53 /* SyntaxKind.ExclamationToken */) {
45889 var saveTrueTarget = currentTrueTarget;
45890 currentTrueTarget = currentFalseTarget;
45891 currentFalseTarget = saveTrueTarget;
45892 bindEachChild(node);
45893 currentFalseTarget = currentTrueTarget;
45894 currentTrueTarget = saveTrueTarget;
45895 }
45896 else {
45897 bindEachChild(node);
45898 if (node.operator === 45 /* SyntaxKind.PlusPlusToken */ || node.operator === 46 /* SyntaxKind.MinusMinusToken */) {
45899 bindAssignmentTargetFlow(node.operand);
45900 }
45901 }
45902 }
45903 function bindPostfixUnaryExpressionFlow(node) {
45904 bindEachChild(node);
45905 if (node.operator === 45 /* SyntaxKind.PlusPlusToken */ || node.operator === 46 /* SyntaxKind.MinusMinusToken */) {

Callers 1

bindChildrenFunction · 0.85

Calls 2

bindEachChildFunction · 0.85
bindAssignmentTargetFlowFunction · 0.85

Tested by

no test coverage detected