(node, ancestors)
| 393 | let found = false |
| 394 | walk.ancestor(ast, { |
| 395 | AssignmentExpression(node, ancestors) { |
| 396 | if (node.left.type != "Identifier" || node.left.name != name) return |
| 397 | for (let i = 2; i < ancestors.length; i++) if (/Statement|Declaration/.test(ancestors[i].type)) return |
| 398 | found = true |
| 399 | } |
| 400 | }) |
| 401 | return found |
| 402 | } |
nothing calls this directly
no outgoing calls
no test coverage detected