private function appendArray()
{
$this->appendCommentAndWhitespace();
$this->tokens->next();
if ($this->tokens->valid() === true) {
$token = $this->tokens->current();
if ($token[0] === '(') {
$this->currentIterator->append(new token($token[0], isset($token[1]) === false ? null : $token[1], isset($token[2]) === false ? null : $token[2]));
$stack = 1;
while ($stack > 0 && $this->tokens->valid() === true) {
$this->tokens->next();
if ($this->tokens->valid() === true) {
$token = $this->tokens->current();
if ($token[0] === '(') {
$stack++;
} else {
if ($token[0] === ')') {
$stack--;
}
}
$this->currentIterator->append(new token($token[0], isset($token[1]) === false ? null : $token[1], isset($token[2]) === false ? null : $token[2]));
}
}
}
}
}