()
| 15677 | else return parent._getStack(relativeTo).concat([this]) |
| 15678 | } |
| 15679 | getStackString() { |
| 15680 | return this._getStack() |
| 15681 | .map((particle, index) => this.edgeSymbol.repeat(index) + particle.getLine()) |
| 15682 | .join(this.particleBreakSymbol) |
| 15683 | } |
| 15684 | getLine(language) { |
| 15685 | if (!this._atoms && !language) return this._getLine() // todo: how does this interact with "language" param? |
| 15686 | return this.atoms.join((language || this).atomBreakSymbol) |