private function processLiteral()
{
$id = $this->processSingle('String');
if ($this->tokens[$this->id][0] === T_CONSTANT_ENCAPSED_STRING) {
$this->setAtom($id, array('delimiter' => $this->atoms[$id]['code'][0], 'noDelimiter' => substr($this->atoms[$id]['code'], 1, -1)));
$this->addNoDelimiterCall($id);
} else {
$this->setAtom($id, array('delimiter' => '', 'noDelimiter' => ''));
}
if (function_exists('mb_detect_encoding')) {
$this->setAtom($id, array('encoding' => mb_detect_encoding($this->atoms[$id]['noDelimiter'])));
if ($this->tokens[$this->id + 1][0] === T_OPEN_BRACKET) {
$id = $this->processBracket();
}
}
if (!$this->isContext(self::CONTEXT_NOSEQUENCE) && $this->tokens[$this->id + 1][0] === T_CLOSE_TAG) {
$this->processSemicolon();
}
return $id;
}