package Ġorg . ile as ile . k format . visitor s Ċ Ċ import Ġorg . ile as ile . k format . Format TextBlock Ċ import Ġorg . ile as ile . k format . Simple TextBlock Ċ Ċ class ĠPlain Text Visitor Ġ: ĠAbstract Ad ap table Visitor < String >() Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġvisit Simple Text ( block : ĠSimple TextBlock ): ĠString Ġ= Ġblock . content ĊĊĠĠĠ Ġoverride Ġfun Ġvisit Format Text ( block : ĠFormat TextBlock ): ĠString Ġ= ĊĠĠĠĠĠĠĠ Ġblock . children . join ToString ("") Ġ{ Ġvisit Child ( it ) Ġ} Ċ } Ċ