b454fcc1e0
This is needed to avoid clashes between different dumps from different handlers
40 lines
793 B
Kotlin
Vendored
40 lines
793 B
Kotlin
Vendored
object Host {
|
|
private constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
class StringDelegate {
|
|
constructor(s: String) /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
val s: String
|
|
field = s
|
|
get
|
|
|
|
operator fun getValue(receiver: String, p: Any): String {
|
|
return receiver.plus(other = <this>.<get-s>())
|
|
}
|
|
|
|
}
|
|
|
|
operator fun String.provideDelegate(host: Any?, p: Any): StringDelegate {
|
|
return StringDelegate(s = <this>)
|
|
}
|
|
|
|
val String.plusK: String /* by */
|
|
field = (<this>, "K").provideDelegate(host = <this>, p = Host::plusK)
|
|
get(): String {
|
|
return <this>.#plusK$delegate.getValue(receiver = <this>, p = Host::plusK)
|
|
}
|
|
|
|
val ok: String
|
|
field = (<this>, "O").<get-plusK>()
|
|
get
|
|
|
|
}
|