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

Method toDefinitionLineNumberParticles

external/.scrollLibs.js:18396–18398  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18394 return this.topDownArray.map(subparticle => subparticle.indentation + subparticle.getLinePaints()).join("\n")
18395 }
18396 toDefinitionLineNumberParticles() {
18397 return this.topDownArray.map(subparticle => subparticle.definition.lineNumber + " " + subparticle.indentation + subparticle.atomDefinitionLineNumbers.join(" ")).join("\n")
18398 }
18399 get asAtomTypeParticlesWithParserIds() {
18400 return this.topDownArray.map(subparticle => subparticle.constructor.name + this.atomBreakSymbol + subparticle.indentation + subparticle.lineAtomTypes).join("\n")
18401 }

Callers

nothing calls this directly

Calls 2

mapMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected