package Ġio . sell ma ir . k omp ass . compiler . destination . tree Ċ Ċ import Ġcom . squareup . kotlin po et . File Spec Ċ import Ġcom . squareup . kotlin po et . Fun Spec Ċ import Ġcom . squareup . kotlin po et . Type Spec Ċ import Ġio . sell ma ir . k omp ass . compiler . common . Render Context Ċ import Ġio . sell ma ir . k omp ass . compiler . destination . Destination Element ĊĊ Ċ internal Ġfun ĠDest inations Render Tree . Companion . from ( context : ĠRender Context , Ġelements : ĠList < Destination Element >): ĊĠĠĠ ĠDest inations Render Tree Ġ= ĠDest inations Render Tree Impl ( context , Ġelements ) ĊĊ Ċ internal Ġclass ĠDest inations Render Tree Impl ( ĊĠĠĠ Ġoverride Ġval Ġcontext : ĠRender Context , ĊĠĠĠ Ġelements : ĠList < Destination Element >) Ġ: ĠDest inations Render Tree Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġdest inations Ġ= Ġelements . map Ġ{ ĠDestination Render Tree Impl ( context , Ġit ) Ġ} ĊĊĠĠĠ Ġoverride Ġval Ġauto Cr ane Ġ= ĠAuto Cr ane Render Tree Impl ( context ) ĊĊĠĠĠ Ġoverride Ġval Ġauto Map Ġ= ĠAuto Map Render Tree Impl ( context ) ĊĊĠĠĠ Ġoverride Ġval Ġkomp ass Builder Extensions Ġ= ĠK omp ass Builder Extensions Render Tree Impl ( context ) Ċ Ċ } Ċ Ċ internal Ġclass ĠDestination Render Tree Impl ( override Ġval Ġcontext : ĠRender Context , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġoverride Ġval Ġelement : ĠDestination Element ) Ġ: ĊĠĠĠ ĠDestination Render Tree Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġextensions : ĠExtension Render Tree Ġ= ĊĠĠĠĠĠĠĠ ĠExtension Render Tree Impl ( context , Ġelement ) Ċ } Ċ Ċ class ĠAuto Cr ane Render Tree Impl ( override Ġval Ġcontext : ĠRender Context ) Ġ: ĠAuto Cr ane Render Tree Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġfile : ĠFile Spec . Builder Ġ= ĠFile Spec . builder (" io . sell ma ir . k omp ass ", Ġ" Auto Cr ane ") ĊĊĠĠĠ Ġoverride Ġval Ġtype : ĠType Spec . Builder Ġ= ĠType Spec . class Builder (" Auto Cr ane ") ĊĊĠĠĠ Ġoverride Ġval Ġget : ĠFun Spec . Builder Ġ= ĠFun Spec . builder (" get ") Ċ } Ċ Ċ class ĠAuto Map Render Tree Impl ( override Ġval Ġcontext : ĠRender Context ) Ġ: ĠAuto Map Render Tree Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġfile : ĠFile Spec . Builder Ġ= ĠFile Spec . builder (" io . sell ma ir . k omp ass ", Ġ" Auto Map ") ĊĊĠĠĠ Ġoverride Ġval Ġtype : ĠType Spec . Builder Ġ= ĠType Spec . class Builder (" Auto Map ") ĊĊĠĠĠ Ġoverride Ġval Ġget : ĠFun Spec . Builder Ġ= ĠFun Spec . builder (" get ") Ċ } ĊĊ Ċ class ĠK omp ass Builder Extensions Render Tree Impl ( ĊĠĠĠ Ġoverride Ġval Ġcontext : ĠRender Context ) Ġ: ĠK omp ass Builder Extensions Render Tree Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġfile : ĠFile Spec . Builder Ġ= ĊĠĠĠĠĠĠĠ ĠFile Spec . builder (" io . sell ma ir . k omp ass ", Ġ" K omp ass Builder _ auto ") ĊĊĠĠĠ Ġoverride Ġval Ġauto Cr ane : ĠFun Spec . Builder Ġ= ĠFun Spec . builder (" auto Cr ane ") ĊĊĠĠĠ Ġoverride Ġval Ġauto Map : ĠFun Spec . Builder Ġ= ĠFun Spec . builder (" auto Map ") Ċ Ċ } Ċ Ċ internal Ġclass ĠExtension Render Tree Impl ( ĊĠĠĠ Ġoverride Ġval Ġcontext : ĠRender Context , ĊĠĠĠ Ġelement : ĠDestination Element ) Ġ: ĠExtension Render Tree Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġfile : ĠFile Spec . Builder Ġ= ĊĠĠĠĠĠĠĠ ĠFile Spec . builder (" io . sell ma ir . k omp ass ", Ġ"${ element . simple Name } Extensions ") ĊĊĠĠĠ Ġoverride Ġval Ġkomp ass Companion Extensions : ĠK omp ass Companion Extension Render Tree Ġ= ĊĠĠĠĠĠĠĠ ĠK omp ass Companion Extensions Render Tree Impl ( context , Ġelement ) ĊĊĠĠĠ Ġoverride Ġval Ġbundle Extensions : ĠBundle Extensions Render Tree Ġ= ĊĠĠĠĠĠĠĠ ĠBundle Extensions Render Tree Impl ( context , Ġelement ) ĊĊĠĠĠ Ġoverride Ġval Ġdestination Extensions : ĠDestination Extensions Render Tree Ġ= ĊĠĠĠĠĠĠĠ ĠDestination Extensions Render Tree Impl ( context ) Ċ Ċ } Ċ Ċ internal Ġclass ĠK omp ass Companion Extensions Render Tree Impl ( ĊĠĠĠ Ġoverride Ġval Ġcontext : ĠRender Context , ĊĠĠĠ Ġelement : ĠDestination Element ) Ġ: ĠK omp ass Companion Extension Render Tree Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġdestination As Bundle : ĠFun Spec . Builder Ġ= ĊĠĠĠĠĠĠĠ ĠFun Spec . builder ("${ element . simple Name . toString (). de capitalize ()} As Bundle ") ĊĊĊĠĠĠ Ġoverride Ġval Ġbundle As Destination : ĠFun Spec . Builder Ġ= ĊĠĠĠĠĠĠĠ ĠFun Spec . builder (" bundle As ${ element . simple Name }") Ċ Ċ } Ċ Ċ internal Ġclass ĠBundle Extensions Render Tree Impl ( ĊĠĠĠ Ġoverride Ġval Ġcontext : ĠRender Context , ĊĠĠĠ Ġelement : ĠDestination Element ) Ġ: ĠBundle Extensions Render Tree Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġas Destination : ĠFun Spec . Builder Ġ= ĊĠĠĠĠĠĠĠ ĠFun Spec . builder (" as ${ element . simple Name }") ĊĊĠĠĠ Ġoverride Ġval Ġtry As Destination : ĠFun Spec . Builder Ġ= ĊĠĠĠĠĠĠĠ ĠFun Spec . builder (" try As ${ element . simple Name }") Ċ Ċ } Ċ Ċ class ĠDestination Extensions Render Tree Impl ( ĊĠĠĠ Ġoverride Ġval Ġcontext : ĠRender Context ) Ġ: ĠDestination Extensions Render Tree Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġas Bundle : ĠFun Spec . Builder Ġ= ĠFun Spec . builder (" as Bundle ") Ċ Ċ } ĊĊĊ