(index, content)
| 467 | return this.appendLeft(index, content); |
| 468 | } |
| 469 | insertRight(index, content) { |
| 470 | if (!warned.insertRight) { |
| 471 | console.warn( |
| 472 | 'magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead', |
| 473 | ); |
| 474 | warned.insertRight = true; |
| 475 | } |
| 476 | return this.prependRight(index, content); |
| 477 | } |
| 478 | move(start, end, index) { |
| 479 | if (index >= start && index <= end) throw new Error('Cannot move a selection inside itself'); |
| 480 | this._split(start); |
nothing calls this directly
no test coverage detected