Exakat\Tasks\Load::processOpenWithEcho PHP Method

processOpenWithEcho() private method

private processOpenWithEcho ( )
    private function processOpenWithEcho()
    {
        // Processing ECHO
        $echoId = $this->processNextAsIdentifier();
        $current = $this->id;
        $argumentsId = $this->processArguments(array(T_SEMICOLON, T_CLOSE_TAG, T_END));
        //processArguments goes too far, up to ;
        if ($this->tokens[$this->id][0] === T_CLOSE_TAG) {
            --$this->id;
        }
        $functioncallId = $this->addAtom('Functioncall');
        $this->setAtom($functioncallId, array('code' => $this->atoms[$echoId]['code'], 'fullcode' => '<?= ' . $this->atoms[$argumentsId]['fullcode'], 'line' => $this->tokens[$current === -1 ? 0 : $current][2], 'token' => 'T_OPEN_TAG_WITH_ECHO', 'variadic' => false, 'fullnspath' => '\\echo'));
        $this->addLink($functioncallId, $argumentsId, 'ARGUMENTS');
        $this->addLink($functioncallId, $echoId, 'NAME');
        $this->pushExpression($functioncallId);
    }
Load