| Total Complexity | 5 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class MatchRepeat implements MatchResultInterface |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return bool |
||
| 17 | * @psalm-pure |
||
| 18 | */ |
||
| 19 | public function shouldRepeat(): bool |
||
| 20 | { |
||
| 21 | return true; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return bool |
||
| 26 | * @psalm-pure |
||
| 27 | */ |
||
| 28 | public function hasToken(): bool |
||
| 29 | { |
||
| 30 | return false; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return TokenInterface |
||
| 35 | * @psalm-pure |
||
| 36 | */ |
||
| 37 | public function getToken(): TokenInterface |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return bool |
||
| 44 | * @psalm-pure |
||
| 45 | */ |
||
| 46 | public function hasLexeme(): bool |
||
| 47 | { |
||
| 48 | return false; |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return LexemeInterface |
||
| 53 | * @psalm-pure |
||
| 54 | */ |
||
| 55 | public function getLexeme(): LexemeInterface |
||
| 58 | } |
||
| 59 | } |
||
| 60 |