Exakat\Analyzer\Structures\NoDirectAccess::analyze PHP Method

analyze() public method

public analyze ( )
    public function analyze()
    {
        //defined('AJXP_EXEC') or die('Access not allowed'); : Constant used!
        $this->atomIs('Logical')->tokenIs(array('T_BOOLEAN_AND', 'T_BOOLEAN_OR', 'T_LOGICAL_AND', 'T_LOGICAL_OR'))->atomInside('Functioncall')->functioncallIs('\\defined')->back('first')->atomInside('Functioncall')->functioncallIs(array('\\die', '\\exit'))->back('first');
        $this->prepareQuery();
        //if(!defined('CMS')) die/exit
        $this->atomIs('Ifthen')->outIs('CONDITION')->atomIs('Not')->outIs('NOT')->atomIs('Functioncall')->functioncallIs('\\defined')->back('first')->outIs('THEN')->atomInside('Functioncall')->functioncallIs(array('\\die', '\\exit'))->back('first');
        $this->prepareQuery();
        $this->atomIs('Ifthen')->outIs('CONDITION')->atomIs('Functioncall')->functioncallIs('\\defined')->back('first')->outIs('THEN')->atomInside('Functioncall')->atomInside('Functioncall')->functioncallIs(array('\\die', '\\exit'))->back('first');
        $this->prepareQuery();
        //if (defined('_ECRIRE_INC_VERSION')) return;
        $this->atomIs('Ifthen')->outIs('CONDITION')->atomIs('Functioncall')->functioncallIs('\\defined')->back('first')->outIs('THEN')->outWithRank('ELEMENT', 0)->atomIs('Return')->back('first');
        $this->prepareQuery();
        $this->atomIs('Ifthen')->outIs('CONDITION')->atomIs('Not')->outIs('NOT')->atomIs('Functioncall')->functioncallIs('\\defined')->back('first')->outIs('THEN')->outWithRank('ELEMENT', 0)->atomIs('Return')->back('first');
        $this->prepareQuery();
    }
NoDirectAccess