private function appendImportation()
{
$this->currentIterator->appendImportation($this->currentImportation = new iterators\phpImportation());
$this->currentIterator = $this->currentImportation;
$inImportation = true;
while ($inImportation === true) {
$token = $this->tokens->current();
switch ($token[0]) {
case ';':
case T_CLOSE_TAG:
$this->currentIterator = $this->currentIterator->getParent();
$inImportation = false;
break;
default:
$this->currentIterator->append(new token($token[0], isset($token[1]) === false ? null : $token[1], isset($token[2]) === false ? null : $token[2]));
$this->tokens->next();
}
$inImportation = $inImportation && $this->tokens->valid();
}
return $this->tokens->valid() === false ? null : $this->tokens->current();
}