Exakat\Analyzer\Namespaces\CouldUseAlias::analyze PHP Метод

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

public analyze ( )
    public function analyze()
    {
        // use a\b as C;
        // a\b::D(); and also a\b\d\e
        $this->atomIs('Nsname')->savePropertyAs('fullnspath', 'fnp')->hasNoIn('USE')->goToNamespace()->outIs('BLOCK')->outIs('ELEMENT')->atomIs('Use')->outIs('USE')->isNot('absolute', true)->raw('filter{ (fnp =~ "^" + it.get().value("origin").replace("\\\\", "\\\\\\\\") + "(\\\\\\\\.*)?\\$" ).getCount() > 0 }')->back('first');
        $this->prepareQuery();
    }
CouldUseAlias