public function analyze() { // 3 level of ifthen (2 is OK) $this->atomIs('Ifthen')->outIs(array('THEN', 'ELSE'))->atomInside('Ifthen')->outIs(array('THEN', 'ELSE'))->atomInside('Ifthen')->back('first'); $this->prepareQuery(); }