Пример #1
0
 /** @brief Visit @a AfsMatchText instance.
  * @param $afs_text [in] visited instance.
  * @return text value associated to visited instance.
  */
 public function visit_AfsMatchText(AfsMatchText $afs_text)
 {
     return $afs_text->get_text();
 }
Пример #2
0
 /** @brief Visit @a AfsMatchText instance.
  * @param $afs_text [in] visited instance.
  * @return text value associated to visited instance surrounded by
  *         <tt>&lt;b> ... &lt;/b></tt>.
  */
 public function visit_AfsMatchText(AfsMatchText $afs_text)
 {
     return '<b>' . $afs_text->get_text() . '</b>';
 }
Пример #3
0
 public function visit_AfsMatchText(AfsMatchText $afs_text)
 {
     $this->match_text = $afs_text->get_text();
     return '<m>' . $this->match_text . '</m>';
 }