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

Method compile

external/.scrollLibs.js:23398–23405  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23396 .join(",")
23397 }
23398 compile() {
23399 const propertyParsers = this.getSubparticles().filter(particle => particle.doesExtend("propertyParser"))
23400 if (!propertyParsers.length) return ""
23401 const spaces = " "
23402 return `${this.getSelector()} {
23403${propertyParsers.map(subparticle => subparticle.compile(spaces)).join("\n")}
23404}\n`
23405 }
23406 }
23407
23408 window.hakonParser = hakonParser

Callers

nothing calls this directly

Calls 7

getSelectorMethod · 0.95
getSubparticlesMethod · 0.80
mapMethod · 0.80
filterMethod · 0.45
doesExtendMethod · 0.45
joinMethod · 0.45
compileMethod · 0.45

Tested by

no test coverage detected