(s: string)
| 249 | // callback, "fn" where it has none, so text hashed for a name drops the rest |
| 250 | // and names a Type as the program, running its own callbacks, does |
| 251 | export const withoutHoleNames = (s: string): string => |
| 252 | s.includes(holeNameMarker) ? s.replace(holeNameSuffix, "") : s |
| 253 | |
| 254 | // a nested node prints as "..." past this length, so reuse at each level can't |
| 255 | // double it, whatever a build names its callbacks while it writes text |