()
| 4622 | */ |
| 4623 | private fuzzyNames(): { names: string[]; lowered: string; starts: Int32Array } { |
| 4624 | const read = (): { names: string[]; lowered: string; starts: Int32Array } => { |
| 4625 | const names = this.getAllNodeNames(); |
| 4626 | const lowered = names.map((name) => name.toLowerCase()); |
| 4627 | const starts = new Int32Array(names.length + 1); |
| 4628 | for (let i = 0; i < lowered.length; i++) starts[i + 1] = starts[i]! + lowered[i]!.length + 1; |
| 4629 | return { names, lowered: lowered.join('\n') + '\n', starts }; |
| 4630 | }; |
| 4631 | return this.memoizedRead('fuzzyNames', read) ?? read(); |
| 4632 | } |
| 4633 |
nothing calls this directly
no test coverage detected