testData format update: detailed descriptor rendering.
This commit is contained in:
committed by
Dmitry Petrov
parent
993c3fe51e
commit
4e112b3f88
+32
-32
@@ -1,26 +1,26 @@
|
||||
FILE /classMembers.kt
|
||||
CLASS CLASS C
|
||||
CONSTRUCTOR public constructor C(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.Int, /*2*/ z: kotlin.Int = ...)
|
||||
CONSTRUCTOR public constructor C(x: kotlin.Int, y: kotlin.Int, z: kotlin.Int = ...)
|
||||
z: EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
SET_BACKING_FIELD y type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class C type=C
|
||||
value: GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD z type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class C type=C
|
||||
value: GET_VAR z type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=C
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
SET_BACKING_FIELD 'y: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
value: GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD 'z: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
value: GET_VAR 'value-parameter z: Int = ...' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
PROPERTY public final var z: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR z type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter z: Int = ...' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
CONSTRUCTOR public constructor C()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL C
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor C(Int, Int, Int = ...)'
|
||||
x: CONST Int type=kotlin.Int value='0'
|
||||
y: CONST Int type=kotlin.Int value='0'
|
||||
z: CONST Int type=kotlin.Int value='0'
|
||||
@@ -30,49 +30,49 @@ FILE /classMembers.kt
|
||||
PROPERTY public final val propertyWithGet: kotlin.Int
|
||||
PROPERTY_GETTER public final fun <get-propertyWithGet>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-propertyWithGet>
|
||||
RETURN type=kotlin.Nothing from='<get-propertyWithGet>(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
PROPERTY public final var propertyWithGetAndSet: kotlin.Int
|
||||
PROPERTY_GETTER public final fun <get-propertyWithGetAndSet>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-propertyWithGetAndSet>
|
||||
CALL .<get-z> type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS public final class C type=C
|
||||
PROPERTY_SETTER public final fun <set-propertyWithGetAndSet>(/*0*/ value: kotlin.Int): kotlin.Unit
|
||||
RETURN type=kotlin.Nothing from='<get-propertyWithGetAndSet>(): Int'
|
||||
CALL '<get-z>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS of 'C' type=C
|
||||
PROPERTY_SETTER public final fun <set-propertyWithGetAndSet>(value: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .<set-z> type=kotlin.Unit operator=EQ
|
||||
$this: THIS public final class C type=C
|
||||
<set-?>: GET_VAR value type=kotlin.Int operator=null
|
||||
CALL '<set-z>(Int): Unit' type=kotlin.Unit operator=EQ
|
||||
$this: THIS of 'C' type=C
|
||||
<set-?>: GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=null
|
||||
FUN public final fun function(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='1'
|
||||
FUN public final fun kotlin.Int.memberExtensionFunction(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='2'
|
||||
CLASS CLASS NestedClass
|
||||
CONSTRUCTOR public constructor NestedClass()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=NestedClass
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='NestedClass'
|
||||
FUN public final fun function(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='3'
|
||||
FUN public final fun kotlin.Int.memberExtensionFunction(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='4'
|
||||
CLASS INTERFACE NestedInterface
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
FUN public open fun bar(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=bar
|
||||
CALL .foo type=kotlin.Unit operator=null
|
||||
$this: THIS public interface NestedInterface type=C.NestedInterface
|
||||
CLASS OBJECT Companion
|
||||
RETURN type=kotlin.Nothing from='bar(): Unit'
|
||||
CALL 'foo(): Unit' type=kotlin.Unit operator=null
|
||||
$this: THIS of 'NestedInterface' type=C.NestedInterface
|
||||
CLASS OBJECT companion object of C
|
||||
CONSTRUCTOR private constructor Companion()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Companion
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='companion object of C'
|
||||
|
||||
Reference in New Issue
Block a user