(contextParticle)
| 15195 | return this._getCueMap().get(this._getCue(block, atomBreakSymbol)) || this._getParserFromRegexTests(block) || this._getCatchAllParser(parentParticle) |
| 15196 | } |
| 15197 | _getCatchAllParser(contextParticle) { |
| 15198 | if (this._catchAllParser) return this._catchAllParser |
| 15199 | const parent = contextParticle.parent |
| 15200 | if (parent) return parent._getParserPool()._getCatchAllParser(parent) |
| 15201 | return contextParticle.constructor |
| 15202 | } |
| 15203 | _getParserFromRegexTests(block) { |
| 15204 | if (!this._regexTests) return undefined |
| 15205 | const line = block.split(/\n/)[0] |
no test coverage detected