private function processReturn()
{
if (in_array($this->tokens[$this->id + 1][0], array(T_CLOSE_TAG, T_SEMICOLON))) {
$current = $this->id;
// Case of return ;
$returnId = $this->addAtom('Return');
$returnArgId = $this->addAtomVoid();
$this->addLink($returnId, $returnArgId, 'RETURN');
$x = array('code' => $this->tokens[$current][1], 'fullcode' => $this->tokens[$current][1] . ' ;', 'line' => $this->tokens[$current][2], 'token' => $this->getToken($this->tokens[$current][0]));
$this->setAtom($returnId, $x);
$this->pushExpression($returnId);
if ($this->tokens[$this->id + 1][0] === T_CLOSE_TAG) {
$this->processSemicolon();
}
return $returnId;
} else {
return $this->processSingleOperator('Return', $this->precedence->get($this->tokens[$this->id][0]), 'RETURN', ' ');
}
}