Exakat\Analyzer\Exceptions\ThrowFunctioncall::analyze PHP Метод

analyze() публичный Метод

public analyze ( )
    public function analyze()
    {
        $phpClasses = $this->loadIni('php_classes.ini', 'classes');
        $phpClassesFnp = $this->makeFullNsPath($phpClasses);
        // throw className(), defined class, no function
        $this->atomIs('Throw')->outIs('THROW')->tokenIs(array('T_STRING', 'T_NS_SEPARATOR'))->atomIs('Functioncall')->hasNoFunctionDefinition()->back('first');
        $this->prepareQuery();
        // throw RuntimeException()
        $this->atomIs('Throw')->outIs('THROW')->tokenIs(array('T_STRING', 'T_NS_SEPARATOR'))->atomIsNot('Array')->fullnspathIs($phpClassesFnp)->back('first');
        $this->prepareQuery();
    }
ThrowFunctioncall