private function processFCOA($id)
{
// For functions and constants
if ($this->tokens[$this->id + 1][0] === T_OPEN_PARENTHESIS) {
return $this->processFunctioncall();
} elseif ($this->tokens[$this->id + 1][0] === T_OPEN_BRACKET && $this->tokens[$this->id + 2][0] === T_CLOSE_BRACKET) {
return $this->processAppend();
} elseif ($this->tokens[$this->id + 1][0] === T_OPEN_BRACKET || $this->tokens[$this->id + 1][0] === T_OPEN_CURLY) {
return $this->processBracket();
} elseif (in_array($this->atoms[$id]['atom'], array('Nsname', 'Identifier'))) {
$this->setAtom($id, array('fullnspath' => $this->getFullnspath($id, $this->isContext(self::CONTEXT_NEW) ? 'class' : 'const')));
return $id;
} else {
return $id;
}
}