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

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

public analyze ( )
    public function analyze()
    {
        // $x = f();
        // $x['e']
        // instead of f()['e']
        $this->atomIs('Assignation')->outIs('RIGHT')->atomIs(array('Functioncall', 'Staticmethodcall', 'Methodcall'))->back('first')->outIs('LEFT')->atomIs('Variable')->savePropertyAs('code', 'varray')->back('first')->nextSibling()->atomIs('Assignation')->_as('second')->outIs('RIGHT')->atomIs('Array')->outIs('VARIABLE')->samePropertyAs('code', 'varray')->back('first');
        $this->prepareQuery();
    }
FunctionPreSubscripting