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

Method findStumpParticlesByChild

external/.scrollLibs.js:22874–22876  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

22872 return this.getSubparticles().some(particle => particle.getLine() === line)
22873 }
22874 findStumpParticlesByChild(line) {
22875 return this.topDownArray.filter(particle => particle.doesExtend("htmlTagParser") && particle.hasLine(line))
22876 }
22877 findStumpParticlesWithClass(className) {
22878 return this.topDownArray.filter(particle => particle.doesExtend("htmlTagParser") && particle.has("class") && particle.getParticle("class").atoms.includes(className))
22879 }

Callers 1

Calls 3

filterMethod · 0.45
doesExtendMethod · 0.45
hasLineMethod · 0.45

Tested by

no test coverage detected