public function analyze() { $this->atomIs('Parenthesis')->outIs('CODE')->atomIs('New')->inIs('CODE')->inIs('OBJECT')->atomIs(array('Property', 'Methodcall'))->back('first'); $this->prepareQuery(); }