| Conditions | 3 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public function enterEveryRule(ParserRuleContext $context) : void |
||
| 22 | { |
||
| 23 | $stream = $this->parser->getTokenStream(); |
||
| 24 | $token = $stream !== null ? $stream->LT(1) : null; |
||
| 25 | |||
| 26 | echo \sprintf( |
||
| 27 | 'enter %s, LT(1)=%s', |
||
| 28 | $this->parser->getRuleNames()[$context->getRuleIndex()], |
||
| 29 | $token === null? '' : $token->getText() ?? '' |
||
| 30 | ); |
||
| 58 |