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

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

private processEcho ( )
    private function processEcho()
    {
        $current = $this->id;
        --$this->id;
        $nameId = $this->processNextAsIdentifier();
        $argumentsId = $this->processArguments(array(T_SEMICOLON, T_CLOSE_TAG, T_END));
        $functioncallId = $this->addAtom('Functioncall');
        $this->setAtom($functioncallId, array('code' => $this->tokens[$current][1], 'fullcode' => $this->tokens[$current][1] . ' ' . $this->atoms[$argumentsId]['fullcode'], 'variadic' => false, 'reference' => false, 'line' => $this->tokens[$current][2], 'token' => $this->getToken($this->tokens[$current][0]), 'fullnspath' => $this->getFullnspath($nameId)));
        $this->addLink($functioncallId, $argumentsId, 'ARGUMENTS');
        $this->addLink($functioncallId, $nameId, 'NAME');
        $this->pushExpression($functioncallId);
        // processArguments goes too far, up to ;
        --$this->id;
        if ($this->tokens[$this->id + 1][0] === T_CLOSE_TAG) {
            $this->processSemicolon();
        }
        return $functioncallId;
    }
Load