()
| 16259 | return currentParticle ? currentParticle._getParticleByPath(parts.join(edgeSymbol)) : undefined |
| 16260 | } |
| 16261 | get next() { |
| 16262 | if (this.isRoot()) return this |
| 16263 | const index = this.index |
| 16264 | const parent = this.parent |
| 16265 | const length = parent.length |
| 16266 | const next = index + 1 |
| 16267 | return next === length ? parent._getSubparticlesArray()[0] : parent._getSubparticlesArray()[next] |
| 16268 | } |
| 16269 | get previous() { |
| 16270 | if (this.isRoot()) return this |
| 16271 | const index = this.index |
no test coverage detected