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

Function bindDestructuringAssignmentFlow

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

Source from the content-addressed store, hash-verified

45907 }
45908 }
45909 function bindDestructuringAssignmentFlow(node) {
45910 if (inAssignmentPattern) {
45911 inAssignmentPattern = false;
45912 bind(node.operatorToken);
45913 bind(node.right);
45914 inAssignmentPattern = true;
45915 bind(node.left);
45916 }
45917 else {
45918 inAssignmentPattern = true;
45919 bind(node.left);
45920 inAssignmentPattern = false;
45921 bind(node.operatorToken);
45922 bind(node.right);
45923 }
45924 bindAssignmentTargetFlow(node.left);
45925 }
45926 function createBindBinaryExpressionFlow() {
45927 return ts.createBinaryExpressionTrampoline(onEnter, onLeft, onOperator, onRight, onExit, /*foldState*/ undefined);
45928 function onEnter(node, state) {

Callers 1

bindChildrenFunction · 0.85

Calls 2

bindAssignmentTargetFlowFunction · 0.85
bindFunction · 0.70

Tested by

no test coverage detected