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

Function maybeBindExpressionFlowIfCall

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

Source from the content-addressed store, hash-verified

45799 maybeBindExpressionFlowIfCall(node.expression);
45800 }
45801 function maybeBindExpressionFlowIfCall(node) {
45802 // A top level or comma expression call expression with a dotted function name and at least one argument
45803 // is potentially an assertion and is therefore included in the control flow.
45804 if (node.kind === 208 /* SyntaxKind.CallExpression */) {
45805 var call = node;
45806 if (call.expression.kind !== 106 /* SyntaxKind.SuperKeyword */ && ts.isDottedName(call.expression)) {
45807 currentFlow = createFlowCall(currentFlow, call);
45808 }
45809 }
45810 }
45811 function bindLabeledStatement(node) {
45812 var postStatementLabel = createBranchLabel();
45813 activeLabelList = {

Callers 3

bindExpressionStatementFunction · 0.85
onLeftFunction · 0.85
onRightFunction · 0.85

Calls 1

createFlowCallFunction · 0.85

Tested by

no test coverage detected