Exakat\Tasks\Load::processCurlyExpression PHP Метод

processCurlyExpression() приватный Метод

    private function processCurlyExpression()
    {
        ++$this->id;
        while (!in_array($this->tokens[$this->id + 1][0], array(T_CLOSE_CURLY))) {
            $this->processNext();
        }
        $codeId = $this->popExpression();
        $blockId = $this->addAtom('Block');
        $this->setAtom($blockId, array('code' => '{}', 'fullcode' => '{' . $this->atoms[$codeId]['fullcode'] . '}', 'line' => $this->tokens[$this->id][2], 'token' => $this->getToken($this->tokens[$this->id][0])));
        $this->addLink($blockId, $codeId, 'CODE');
        $this->pushExpression($blockId);
        ++$this->id;
        // Skip }
        return $blockId;
    }
Load