()
| 18432 | return parsedAtoms.map(check => check.getErrorIfAny()).filter(identity => identity) |
| 18433 | } |
| 18434 | get singleParserUsedTwiceErrors() { |
| 18435 | const errors = [] |
| 18436 | const parent = this.parent |
| 18437 | const hits = parent.getSubparticleInstancesOfParserId(this.definition.id) |
| 18438 | if (hits.length > 1) |
| 18439 | hits.forEach((particle, index) => { |
| 18440 | if (particle === this) errors.push(new ParserUsedMultipleTimesError(particle)) |
| 18441 | }) |
| 18442 | return errors |
| 18443 | } |
| 18444 | get uniqueLineAppearsTwiceErrors() { |
| 18445 | const errors = [] |
| 18446 | const parent = this.parent |
nothing calls this directly
no test coverage detected