(fillChar = "")
| 18316 | }) |
| 18317 | } |
| 18318 | toAutoCompleteCube(fillChar = "") { |
| 18319 | const particles = [this.clone()] |
| 18320 | const filled = this.clone().fill(fillChar) |
| 18321 | this._getAllAutoCompleteAtoms().forEach(hole => { |
| 18322 | hole.suggestions.forEach((suggestion, index) => { |
| 18323 | if (!particles[index + 1]) particles[index + 1] = filled.clone() |
| 18324 | particles[index + 1].particleAtLine(hole.lineIndex).setAtom(hole.atomIndex, suggestion.text) |
| 18325 | }) |
| 18326 | }) |
| 18327 | return new Particle(particles) |
| 18328 | } |
| 18329 | toAutoCompleteTable() { |
| 18330 | return new Particle( |
| 18331 | this._getAllAutoCompleteAtoms().map(result => { |
nothing calls this directly
no test coverage detected