()
| 4733 | */ |
| 4734 | private fuzzyNames(): { names: string[]; lowered: string; starts: Int32Array } { |
| 4735 | const read = (): { names: string[]; lowered: string; starts: Int32Array } => { |
| 4736 | const names = this.getAllNodeNames(); |
| 4737 | const lowered = names.map((name) => name.toLowerCase()); |
| 4738 | const starts = new Int32Array(names.length + 1); |
| 4739 | for (let i = 0; i < lowered.length; i++) starts[i + 1] = starts[i]! + lowered[i]!.length + 1; |
| 4740 | return { names, lowered: lowered.join('\n') + '\n', starts }; |
| 4741 | }; |
| 4742 | return this.memoizedRead('fuzzyNames', read) ?? read(); |
| 4743 | } |
| 4744 |
nothing calls this directly
no test coverage detected