()
| 17518 | return particle.toString() |
| 17519 | } |
| 17520 | shiftRight() { |
| 17521 | const olderSibling = this._getClosestOlderSibling() |
| 17522 | if (!olderSibling) return this |
| 17523 | const newParticle = olderSibling.appendLineAndSubparticles(this.getLine(), this.length ? this.subparticlesToString() : undefined) |
| 17524 | this.destroy() |
| 17525 | return newParticle |
| 17526 | } |
| 17527 | shiftYoungerSibsRight() { |
| 17528 | const particles = this.getYoungerSiblings() |
| 17529 | particles.forEach(particle => particle.shiftRight()) |
nothing calls this directly
no test coverage detected