(path)
| 596 | // absolute path ending in it — samePath already encodes exactly that. |
| 597 | const viaPath = (path) => cited.paths.some((p) => samePath(path, p)); |
| 598 | const viaSymbol = (path) => { |
| 599 | for (const s of cited.symbols) { |
| 600 | const owners = ownersOf(s); |
| 601 | if (owners && owners.size < SYMBOL_AMBIGUITY_LIMIT && owners.has(path)) return s; |
| 602 | } |
| 603 | return null; |
| 604 | }; |
| 605 | |
| 606 | const verdict = new Map(); // path -> { via, symbol } |
| 607 | const judge = (path) => { |