Exakat\Analyzer\Structures\YodaComparison::analyze PHP Метод

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

public analyze ( )
    public function analyze()
    {
        $literals = array('String', 'Integer', 'Real', 'Boolean', 'Null', 'Identifier', 'Nsname');
        $this->atomIs('Comparison')->codeIs(array('==', '==='))->outIs('RIGHT')->atomIs($literals)->inIs('RIGHT')->outIs('LEFT')->atomIsNot($literals)->back('first');
        $this->prepareQuery();
    }
YodaComparison