| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php declare(strict_types=1); | ||
| 20 | public function parse(string $input): Result | ||
| 21 |     { | ||
| 22 |         if (isset($this->locked[$input])) { | ||
| 23 | return Error::in($input); | ||
| 24 | } | ||
| 25 | |||
| 26 | $this->locked[$input] = true; | ||
| 27 | $result = $this->parser->parse($input); | ||
| 28 | unset($this->locked[$input]); | ||
| 29 | |||
| 30 | return $result; | ||
| 31 | } | ||
| 33 |