@@ -262,6 +262,9 @@ discard block |
||
| 262 | 262 | return $this->parsePrimaryExpression(); |
| 263 | 263 | } |
| 264 | 264 | |
| 265 | + /** |
|
| 266 | + * @param Node $expr |
|
| 267 | + */ |
|
| 265 | 268 | protected function parseConditionalExpression($expr): Node |
| 266 | 269 | { |
| 267 | 270 | while ($this->stream->current->test(Token::PUNCTUATION_TYPE, '?')) { |
@@ -420,6 +423,9 @@ discard block |
||
| 420 | 423 | return $node; |
| 421 | 424 | } |
| 422 | 425 | |
| 426 | + /** |
|
| 427 | + * @param Node $node |
|
| 428 | + */ |
|
| 423 | 429 | public function parsePostfixExpression($node): Node |
| 424 | 430 | { |
| 425 | 431 | $token = $this->stream->current; |