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

Method getAllErrorsIterator

external/.scrollLibs.js:15642–15651  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15640 return errors
15641 }
15642 *getAllErrorsIterator() {
15643 let line = 1
15644 for (let particle of this.getTopDownArrayIterator()) {
15645 particle._cachedLineNumber = line
15646 const errs = particle.getErrors()
15647 // delete particle._cachedLineNumber
15648 if (errs.length) yield errs
15649 line++
15650 }
15651 }
15652 get cue() {
15653 return this.atoms[0]
15654 }

Callers

nothing calls this directly

Calls 2

getErrorsMethod · 0.45

Tested by

no test coverage detected