Exakat\Tasks\Load::processAppend PHP Method

processAppend() private method

private processAppend ( )
    private function processAppend()
    {
        $current = $this->id;
        $appendId = $this->addAtom('Arrayappend');
        $left = $this->popExpression();
        $this->addLink($appendId, $left, 'APPEND');
        $x = array('code' => $this->tokens[$current][1], 'fullcode' => $this->atoms[$left]['fullcode'] . '[]', 'line' => $this->tokens[$current][2], 'token' => $this->getToken($this->tokens[$current][0]));
        $this->setAtom($appendId, $x);
        $this->pushExpression($appendId);
        ++$this->id;
        ++$this->id;
        if (!$this->isContext(self::CONTEXT_NOSEQUENCE) && $this->tokens[$this->id + 1][0] === T_CLOSE_TAG) {
            $this->processSemicolon();
        } else {
            // Mostly for arrays
            $appendId = $this->processFCOA($appendId);
        }
        return $appendId;
    }
Load