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

Method requiredParticleErrors

external/.scrollLibs.js:18241–18247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18239 return this
18240 }
18241 get requiredParticleErrors() {
18242 const errors = []
18243 Object.values(this.definition.cueMapWithDefinitions).forEach(def => {
18244 if (def.isRequired() && !this.particleIndex[def.id]) errors.push(new MissingRequiredParserError(this, def.id))
18245 })
18246 return errors
18247 }
18248 get programAsAtoms() {
18249 // todo: what is this?
18250 return this.topDownArray.map(particle => {

Callers

nothing calls this directly

Calls 2

forEachMethod · 0.80
isRequiredMethod · 0.80

Tested by

no test coverage detected