| Total Complexity | 7 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class LexerNoViableAltException extends RecognitionException |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Matching attempted at what input index? |
||
| 16 | * |
||
| 17 | * @var int |
||
| 18 | */ |
||
| 19 | private $startIndex; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Which configurations did we try at $input->index() that couldn't match $input->LA(1)? |
||
| 23 | * |
||
| 24 | * @var ATNConfigSet |
||
| 25 | */ |
||
| 26 | private $deadEndConfigs; |
||
| 27 | |||
| 28 | public function __construct(Lexer $lexer, CharStream $input, int $startIndex, ATNConfigSet $deadEndConfigs) |
||
| 29 | { |
||
| 30 | parent::__construct($lexer, $input, null); |
||
| 31 | |||
| 32 | $this->startIndex = $startIndex; |
||
| 33 | $this->deadEndConfigs = $deadEndConfigs; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getDeadEndConfigs() : ATNConfigSet |
||
| 39 | } |
||
| 40 | |||
| 41 | public function __toString() : string |
||
| 58 |