Files
kotlin-fork/compiler/testData/ir/irText/expressions/values.txt
T
2016-10-18 09:09:25 +03:00

52 lines
2.1 KiB
Plaintext
Vendored

FILE /values.kt
CLASS ENUM_CLASS Enum
CONSTRUCTOR private constructor Enum()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)' super
INSTANCE_INITIALIZER_CALL classDescriptor='Enum'
ENUM_ENTRY enum entry A
init: ENUM_CONSTRUCTOR_CALL 'constructor Enum()' A
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<Enum>
SYNTHETIC_BODY kind=ENUM_VALUES
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Enum
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS OBJECT A
CONSTRUCTOR private constructor A()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='A'
PROPERTY public val a: kotlin.Int = 0
FIELD PROPERTY_BACKING_FIELD public val a: kotlin.Int = 0
EXPRESSION_BODY
CONST Int type=kotlin.Int value='0'
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-a>(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-a>(): Int'
GET_FIELD 'a: Int' type=kotlin.Int origin=null
CLASS CLASS Z
CONSTRUCTOR public constructor Z()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Z'
CLASS OBJECT companion object of Z
CONSTRUCTOR private constructor Companion()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='companion object of Z'
FUN public fun test1(): Enum
BLOCK_BODY
RETURN type=kotlin.Nothing from='test1(): Enum'
GET_ENUM 'A' type=Enum
FUN public fun test2(): A
BLOCK_BODY
RETURN type=kotlin.Nothing from='test2(): A'
GET_OBJECT 'A' type=A
FUN public fun test3(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test3(): Int'
CALL '<get-a>(): Int' type=kotlin.Int origin=GET_PROPERTY
FUN public fun test4(): Z.Companion
BLOCK_BODY
RETURN type=kotlin.Nothing from='test4(): Z.Companion'
GET_OBJECT 'companion object of Z' type=Z.Companion