Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/fromBuilder/enums.txt
T
2020-06-16 00:01:06 +03:00

83 lines
2.8 KiB
Plaintext
Vendored

FILE: enums.kt
public final enum class Order : R|kotlin/Enum<Order>| {
private constructor(): R|Order| {
super<R|kotlin/Enum<Order>|>()
}
public final static enum entry FIRST: R|Order|
public final static enum entry SECOND: R|Order|
public final static enum entry THIRD: R|Order|
public final static fun values(): R|kotlin/Array<Order>| {
}
public final static fun valueOf(value: R|kotlin/String|): R|Order| {
}
}
public final enum class Planet : R|kotlin/Enum<Planet>| {
private constructor(m: R|kotlin/Double|, r: R|kotlin/Double|): R|Planet| {
super<R|kotlin/Enum<Planet>|>()
}
public final val m: R|kotlin/Double| = R|<local>/m|
public get(): R|kotlin/Double|
internal final val r: R|kotlin/Double| = R|<local>/r|
internal get(): R|kotlin/Double|
public final static enum entry MERCURY: R|Planet| = object : R|Planet| {
private[local] constructor(): R|<anonymous>| {
super<R|Planet|>(Double(1.0), Double(2.0))
}
public[local] final override fun sayHello(): R|kotlin/Unit| {
<Unresolved name: println>#(String(Hello!!!))
}
}
public final static enum entry VENERA: R|Planet| = object : R|Planet| {
private[local] constructor(): R|<anonymous>| {
super<R|Planet|>(Double(3.0), Double(4.0))
}
public[local] final override fun sayHello(): R|kotlin/Unit| {
<Unresolved name: println>#(String(Ola!!!))
}
}
public final static enum entry EARTH: R|Planet| = object : R|Planet| {
private[local] constructor(): R|<anonymous>| {
super<R|Planet|>(Double(5.0), Double(6.0))
}
public[local] final override fun sayHello(): R|kotlin/Unit| {
<Unresolved name: println>#(String(Privet!!!))
}
}
public final val g: R|kotlin/Double| = this@R|/Planet.Companion|.R|/Planet.Companion.G|.R|kotlin/Double.times|(R|<local>/m|).R|kotlin/Double.div|(R|<local>/r|.R|kotlin/Double.times|(R|<local>/r|))
public get(): R|kotlin/Double|
public abstract fun sayHello(): R|kotlin/Unit|
public final companion object Companion : R|kotlin/Any| {
private constructor(): R|Planet.Companion| {
super<R|kotlin/Any|>()
}
public final const val G: R|kotlin/Double| = Double(6.67E-11)
public get(): R|kotlin/Double|
}
public final static fun values(): R|kotlin/Array<Planet>| {
}
public final static fun valueOf(value: R|kotlin/String|): R|Planet| {
}
}