Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
11 | public function parse(Token $token) |
||
12 | { |
||
13 | $stream = $this->parser->getStream(); |
||
14 | $value = $this->parser->getExpressionParser()->parseExpression(); |
||
15 | $stream->expect(Token::BLOCK_END_TYPE); |
||
16 | |||
17 | return new JSNode($value, $token->getLine(), $this->getTag()); |
||
18 | } |
||
19 | |||
25 |