(parser)
| 16731 | return this.map(particle => particle.content) |
| 16732 | } |
| 16733 | getSubparticlesByParser(parser) { |
| 16734 | return this.filter(subparticle => subparticle instanceof parser) |
| 16735 | } |
| 16736 | getAncestorByParser(parser) { |
| 16737 | if (this instanceof parser) return this |
| 16738 | if (this.isRoot()) return undefined |
no test coverage detected