public function analyze() { $this->atomIs('Ternary')->outIs(array('THEN', 'ELSE'))->atomIs('Ternary')->back('first'); $this->prepareQuery(); }