public function visit_AfsSpellcheckText(AfsSpellcheckText $text) { $this->text = $text->get_text(); $this->text_pre = $text->get_pre(); return new AfsRawAndFormattedText($this->text, '<s>' . $this->text . '</s>'); }
/** @brief Visit @a AfsSpellcheckText instance. * @param $spellcheck_text [in] visited instance. * @return @a AfsRawAndFormattedText object initialized with * @a AfsSpellcheckText instance. */ public function visit_AfsSpellcheckText(AfsSpellcheckText $spellcheck_text) { return new AfsRawAndFormattedText($spellcheck_text->get_text()); }