MCPcopy Create free account
hub / github.com/breck7/scroll / getStackString

Method getStackString

external/.scrollLibs.js:15679–15683  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 4

_getStackMethod · 0.95
mapMethod · 0.80
joinMethod · 0.45
getLineMethod · 0.45

Tested by

no test coverage detected