public function _elifList() { while ($this->parser->consumeIf(Tag::T_ELIF)) { $condition = $this->_expr(); $body = iterator_to_array($this->_innerStmtList()); (yield new ElifStmt($condition, $body)); } }