| 3843 | * Same distinction, same test, as the gather path's `isPreciseToken`. |
| 3844 | */ |
| 3845 | const identityOnly = () => (preciseNamedIds.size === 0 ? EMPTY : { |
| 3846 | text: '', |
| 3847 | pathNodeIds: new Set<string>(), |
| 3848 | namedNodeIds: new Set<string>(preciseNamedIds), |
| 3849 | uniqueNamedNodeIds: new Set<string>([...uniqueNamedNodeIds].filter((id) => preciseNamedIds.has(id))), |
| 3850 | spineCallSites: new Map<string, number>(), |
| 3851 | }); |
| 3852 | if (named.size < 2) { |
| 3853 | // <2 CALLABLES resolved. Two recoveries before giving up: (1) synthesized |
| 3854 | // edges among named CONSTANT/VARIABLE endpoints — RTK thunk→thunk is |