package Ġio . github . dur un . late ko . model . inline Ċ Ċ import Ġio . github . dur un . late ko . model . Composition Ċ import Ġio . github . dur un . late ko . model . Format Ċ Ċ interface ĠInline Composition Ġ: ĠComp osition < Inline Element >, ĠInline Element Ġ{ Ċ ĉ val Ġchildren : ĠList < Inline Element > Ċ ĉ override Ġfun Ġ< R > Ġaccept ( visitor : ĠInline Visitor < R >): ĠR Ġ= Ġvisitor . visit ( this ) Ċ ĉ override Ġfun Ġrendered As ( format : ĠFormat ): ĠString Ġ= Ġchildren . join ToString ("") Ġ{ Ġit . rendered As ( format ) Ġ} ĊĊ ĉ comp anion Ġobject Ġ{ Ċĉ ĉ fun ĠIterable < Inline Element >. to Composition (): ĠInline Composition Ġ{ Ċĉĉ ĉ return ĠInline Composition Data ( this . toList ()) Ċĉ ĉ } Ċ ĉ } ĊĊ ĉ private Ġdata Ġclass ĠInline Composition Data ( override Ġval Ġchildren : ĠList < Inline Element >) Ġ: ĠInline Composition Ċ } Ċ