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

Method atomErrors

external/.scrollLibs.js:18429–18433  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18427 return this.parsedAtoms.filter(atom => atom.getAtom() !== undefined)
18428 }
18429 get atomErrors() {
18430 const { parsedAtoms } = this // todo: speedup. takes ~3s on pldb.
18431 // todo: speedup getErrorIfAny. takes ~3s on pldb.
18432 return parsedAtoms.map(check => check.getErrorIfAny()).filter(identity => identity)
18433 }
18434 get singleParserUsedTwiceErrors() {
18435 const errors = []
18436 const parent = this.parent

Callers

nothing calls this directly

Calls 3

mapMethod · 0.80
filterMethod · 0.45
getErrorIfAnyMethod · 0.45

Tested by

no test coverage detected