protected function parseListAssignment(Expr\List_ $expr, Operand $rhs)
{
$attributes = $this->mapAttributes($expr);
foreach ($expr->vars as $i => $var) {
if (null === $var) {
continue;
}
$fetch = new Op\Expr\ArrayDimFetch($rhs, new Operand\Literal($i), $attributes);
$this->block->children[] = $fetch;
if ($var instanceof Expr\List_) {
$this->parseListAssignment($var, $fetch->result);
continue;
}
$assign = new Op\Expr\Assign($this->writeVariable($this->parseExprNode($var)), $fetch->result, $attributes);
$this->block->children[] = $assign;
}
}