Generate IrTypeParameter and IrValueParameter declarations
This commit is contained in:
+11
@@ -1,6 +1,8 @@
|
||||
FILE /argumentReorderingInDelegatingConstructorCall.kt
|
||||
CLASS CLASS Base
|
||||
CONSTRUCTOR public constructor Base(x: kotlin.Int, y: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter y: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
|
||||
@@ -9,6 +11,7 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Base>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -18,12 +21,15 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Base>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: Base>' type=Base origin=null
|
||||
CLASS CLASS Test1
|
||||
CONSTRUCTOR public constructor Test1(xx: kotlin.Int, yy: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter xx: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter yy: kotlin.Int
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit origin=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_y: kotlin.Int
|
||||
@@ -36,6 +42,8 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
CLASS CLASS Test2
|
||||
CONSTRUCTOR public constructor Test2(xx: kotlin.Int, yy: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter xx: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter yy: kotlin.Int
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit origin=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_y: kotlin.Int
|
||||
@@ -47,6 +55,9 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
|
||||
y: GET_VAR 'tmp0_y: Int' type=kotlin.Int origin=null
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
CONSTRUCTOR public constructor Test2(xxx: kotlin.Int, yyy: kotlin.Int, a: kotlin.Any)
|
||||
VALUE_PARAMETER value-parameter xxx: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter yyy: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter a: kotlin.Any
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit origin=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_yy: kotlin.Int
|
||||
|
||||
+22
-2
@@ -1,8 +1,11 @@
|
||||
FILE /classMembers.kt
|
||||
CLASS CLASS C
|
||||
CONSTRUCTOR public constructor C(x: kotlin.Int, y: kotlin.Int, z: kotlin.Int = ...)
|
||||
z: EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter y: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter z: kotlin.Int = ...
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
@@ -11,6 +14,7 @@ FILE /classMembers.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: C>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
@@ -20,11 +24,14 @@ FILE /classMembers.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter z: Int = ...' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-z>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: C>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z>(): Int'
|
||||
GET_FIELD 'z: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: C>' type=C origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-z>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: C>
|
||||
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'z: Int' type=kotlin.Unit origin=null
|
||||
receiver: GET_VAR '<receiver: C>' type=C origin=null
|
||||
@@ -40,31 +47,39 @@ FILE /classMembers.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-property>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: C>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-property>(): Int'
|
||||
GET_FIELD 'property: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: C>' type=C origin=null
|
||||
PROPERTY public final val propertyWithGet: kotlin.Int
|
||||
FUN public final fun <get-propertyWithGet>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: C>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-propertyWithGet>(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
PROPERTY public final var propertyWithGetAndSet: kotlin.Int
|
||||
FUN public final fun <get-propertyWithGetAndSet>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: C>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-propertyWithGetAndSet>(): Int'
|
||||
CALL '<get-z>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: C>' type=C origin=null
|
||||
FUN public final fun <set-propertyWithGetAndSet>(value: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: C>
|
||||
VALUE_PARAMETER value-parameter value: kotlin.Int
|
||||
BLOCK_BODY
|
||||
CALL '<set-z>(Int): Unit' type=kotlin.Unit origin=EQ
|
||||
$this: GET_VAR '<receiver: C>' type=C origin=null
|
||||
<set-?>: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
|
||||
FUN public final fun function(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: C>
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='1'
|
||||
FUN public final fun kotlin.Int.memberExtensionFunction(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: C>
|
||||
$receiver: VALUE_PARAMETER <receiver: memberExtensionFunction() on Int: Unit>
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='2'
|
||||
@@ -74,16 +89,21 @@ FILE /classMembers.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='NestedClass'
|
||||
FUN public final fun function(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: NestedClass>
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='3'
|
||||
FUN public final fun kotlin.Int.memberExtensionFunction(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: NestedClass>
|
||||
$receiver: VALUE_PARAMETER <receiver: memberExtensionFunction() on Int: Unit>
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='4'
|
||||
CLASS INTERFACE NestedInterface
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: NestedInterface>
|
||||
FUN public open fun bar(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: NestedInterface>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='bar(): Unit'
|
||||
CALL 'foo(): Unit' type=kotlin.Unit origin=null
|
||||
|
||||
+38
-12
@@ -1,6 +1,9 @@
|
||||
FILE /dataClasses.kt
|
||||
CLASS CLASS Test1
|
||||
CONSTRUCTOR public constructor Test1(x: kotlin.Int, y: kotlin.String, z: kotlin.Any)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter y: kotlin.String
|
||||
VALUE_PARAMETER value-parameter z: kotlin.Any
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
@@ -9,6 +12,7 @@ FILE /dataClasses.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -18,6 +22,7 @@ FILE /dataClasses.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): String'
|
||||
GET_FIELD 'y: String' type=kotlin.String origin=null
|
||||
@@ -27,35 +32,43 @@ FILE /dataClasses.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter z: Any' type=kotlin.Any origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-z>(): kotlin.Any
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z>(): Any'
|
||||
GET_FIELD 'z: Any' type=kotlin.Any origin=null
|
||||
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component1(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='component1(): Int'
|
||||
CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component2(): kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='component2(): String'
|
||||
CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component3(): kotlin.Any
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='component3(): Any'
|
||||
CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final fun copy(x: kotlin.Int = ..., y: kotlin.String = ..., z: kotlin.Any = ...): Test1
|
||||
x: EXPRESSION_BODY
|
||||
CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
|
||||
y: EXPRESSION_BODY
|
||||
CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
|
||||
z: EXPRESSION_BODY
|
||||
CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int = ...
|
||||
EXPRESSION_BODY
|
||||
CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
|
||||
VALUE_PARAMETER value-parameter y: kotlin.String = ...
|
||||
EXPRESSION_BODY
|
||||
CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
|
||||
VALUE_PARAMETER value-parameter z: kotlin.Any = ...
|
||||
EXPRESSION_BODY
|
||||
CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='copy(Int = ..., String = ..., Any = ...): Test1'
|
||||
CALL 'constructor Test1(Int, String, Any)' type=Test1 origin=null
|
||||
@@ -63,6 +76,7 @@ FILE /dataClasses.kt
|
||||
y: GET_VAR 'value-parameter y: String = ...' type=kotlin.String origin=null
|
||||
z: GET_VAR 'value-parameter z: Any = ...' type=kotlin.Any origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun toString(): kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='toString(): String'
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
@@ -80,6 +94,7 @@ FILE /dataClasses.kt
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
|
||||
CONST String type=kotlin.String value=')'
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun hashCode(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
VAR IR_TEMPORARY_VARIABLE var tmp0_result: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
@@ -106,6 +121,8 @@ FILE /dataClasses.kt
|
||||
RETURN type=kotlin.Nothing from='hashCode(): Int'
|
||||
GET_VAR 'tmp0_result: Int' type=kotlin.Int origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
VALUE_PARAMETER value-parameter other: kotlin.Any?
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
BRANCH
|
||||
@@ -157,6 +174,7 @@ FILE /dataClasses.kt
|
||||
CONST Boolean type=kotlin.Boolean value='true'
|
||||
CLASS CLASS Test2
|
||||
CONSTRUCTOR public constructor Test2(x: kotlin.Any?)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Any?
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
@@ -165,24 +183,29 @@ FILE /dataClasses.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Any?' type=kotlin.Any? origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Any?
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Any?'
|
||||
GET_FIELD 'x: Any?' type=kotlin.Any? origin=null
|
||||
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component1(): kotlin.Any?
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='component1(): Any?'
|
||||
CALL '<get-x>(): Any?' type=kotlin.Any? origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test2>' type=Test2 origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final fun copy(x: kotlin.Any? = ...): Test2
|
||||
x: EXPRESSION_BODY
|
||||
CALL '<get-x>(): Any?' type=kotlin.Any? origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test2>' type=Test2 origin=null
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Any? = ...
|
||||
EXPRESSION_BODY
|
||||
CALL '<get-x>(): Any?' type=kotlin.Any? origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test2>' type=Test2 origin=null
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='copy(Any? = ...): Test2'
|
||||
CALL 'constructor Test2(Any?)' type=Test2 origin=null
|
||||
x: GET_VAR 'value-parameter x: Any? = ...' type=kotlin.Any? origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun toString(): kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='toString(): String'
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
@@ -192,6 +215,7 @@ FILE /dataClasses.kt
|
||||
$this: GET_VAR '<receiver: Test2>' type=Test2 origin=null
|
||||
CONST String type=kotlin.String value=')'
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun hashCode(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
BLOCK_BODY
|
||||
VAR IR_TEMPORARY_VARIABLE var tmp0_result: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
@@ -213,6 +237,8 @@ FILE /dataClasses.kt
|
||||
RETURN type=kotlin.Nothing from='hashCode(): Int'
|
||||
GET_VAR 'tmp0_result: Int' type=kotlin.Int origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
VALUE_PARAMETER value-parameter other: kotlin.Any?
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
BRANCH
|
||||
|
||||
+14
-3
@@ -1,6 +1,9 @@
|
||||
FILE /dataClassesGeneric.kt
|
||||
CLASS CLASS Test1
|
||||
TYPE_PARAMETER <T>
|
||||
CONSTRUCTOR public constructor Test1<T>(x: T)
|
||||
TYPE_PARAMETER <T>
|
||||
VALUE_PARAMETER value-parameter x: T
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
@@ -9,24 +12,29 @@ FILE /dataClassesGeneric.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: T' type=T origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): T
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): T'
|
||||
GET_FIELD 'x: T' type=T origin=null
|
||||
receiver: GET_VAR '<receiver: Test1>' type=Test1<T> origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component1(): T
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='component1(): T'
|
||||
CALL '<get-x>(): T' type=T origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1<T> origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final fun copy(x: T = ...): Test1<T>
|
||||
x: EXPRESSION_BODY
|
||||
CALL '<get-x>(): T' type=T origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1<T> origin=null
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
VALUE_PARAMETER value-parameter x: T = ...
|
||||
EXPRESSION_BODY
|
||||
CALL '<get-x>(): T' type=T origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1<T> origin=null
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='copy(T = ...): Test1<T>'
|
||||
CALL 'constructor Test1(T)' type=Test1<T> origin=null
|
||||
x: GET_VAR 'value-parameter x: T = ...' type=T origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun toString(): kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='toString(): String'
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
@@ -36,6 +44,7 @@ FILE /dataClassesGeneric.kt
|
||||
$this: GET_VAR '<receiver: Test1>' type=Test1<T> origin=null
|
||||
CONST String type=kotlin.String value=')'
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun hashCode(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
VAR IR_TEMPORARY_VARIABLE var tmp0_result: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
@@ -58,6 +67,8 @@ FILE /dataClassesGeneric.kt
|
||||
RETURN type=kotlin.Nothing from='hashCode(): Int'
|
||||
GET_VAR 'tmp0_result: Int' type=kotlin.Int origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
VALUE_PARAMETER value-parameter other: kotlin.Any?
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
BRANCH
|
||||
|
||||
@@ -1,57 +1,82 @@
|
||||
FILE /delegatedImplementation.kt
|
||||
CLASS INTERFACE IBase
|
||||
FUN public abstract fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: IBase>
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter s: kotlin.String
|
||||
FUN public abstract fun bar(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: IBase>
|
||||
FUN public abstract fun kotlin.String.qux(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: IBase>
|
||||
$receiver: VALUE_PARAMETER <receiver: qux() on String: Unit>
|
||||
CLASS OBJECT BaseImpl
|
||||
CONSTRUCTOR private constructor BaseImpl()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='BaseImpl'
|
||||
FUN public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: BaseImpl>
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter s: kotlin.String
|
||||
BLOCK_BODY
|
||||
FUN public open override fun bar(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: BaseImpl>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='bar(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
FUN public open override fun kotlin.String.qux(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: BaseImpl>
|
||||
$receiver: VALUE_PARAMETER <receiver: qux() on String: Unit>
|
||||
BLOCK_BODY
|
||||
CLASS INTERFACE IOther
|
||||
PROPERTY public abstract val x: kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <get-x>(): kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: IOther>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): String'
|
||||
GET_FIELD 'x: String' type=kotlin.String origin=null
|
||||
receiver: GET_VAR '<receiver: IOther>' type=IOther origin=null
|
||||
PROPERTY public abstract var y: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <get-y>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: IOther>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: IOther>' type=IOther origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: IOther>
|
||||
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'y: Int' type=kotlin.Unit origin=null
|
||||
receiver: GET_VAR '<receiver: IOther>' type=IOther origin=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
PROPERTY public abstract val kotlin.Byte.z1: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun kotlin.Byte.<get-z1>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: IOther>
|
||||
$receiver: VALUE_PARAMETER <receiver: z1: Int on Byte>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z1>() on Byte: Int'
|
||||
GET_FIELD 'z1: Int on Byte' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: IOther>' type=IOther origin=null
|
||||
PROPERTY public abstract var kotlin.Byte.z2: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun kotlin.Byte.<get-z2>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: IOther>
|
||||
$receiver: VALUE_PARAMETER <receiver: z2: Int on Byte>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z2>() on Byte: Int'
|
||||
GET_FIELD 'z2: Int on Byte' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: IOther>' type=IOther origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun kotlin.Byte.<set-z2>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: IOther>
|
||||
$receiver: VALUE_PARAMETER <receiver: z2: Int on Byte>
|
||||
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'z2: Int on Byte' type=kotlin.Unit origin=null
|
||||
receiver: GET_VAR '<receiver: IOther>' type=IOther origin=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
FUN public fun otherImpl(x0: kotlin.String, y0: kotlin.Int): IOther
|
||||
VALUE_PARAMETER value-parameter x0: kotlin.String
|
||||
VALUE_PARAMETER value-parameter y0: kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='otherImpl(String, Int): IOther'
|
||||
BLOCK type=otherImpl.<no name provided> origin=OBJECT_LITERAL
|
||||
@@ -65,6 +90,7 @@ FILE /delegatedImplementation.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x0: String' type=kotlin.String origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <get-x>(): kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: <no name provided>>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): String'
|
||||
GET_FIELD 'x: String' type=kotlin.String origin=null
|
||||
@@ -74,26 +100,36 @@ FILE /delegatedImplementation.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y0: Int' type=kotlin.Int origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <get-y>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: <no name provided>>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: <no name provided>>' type=otherImpl.<no name provided> origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: <no name provided>>
|
||||
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'y: Int' type=kotlin.Unit origin=null
|
||||
receiver: GET_VAR '<receiver: <no name provided>>' type=otherImpl.<no name provided> origin=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
PROPERTY public open override val kotlin.Byte.z1: kotlin.Int
|
||||
FUN public open override fun kotlin.Byte.<get-z1>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: <no name provided>>
|
||||
$receiver: VALUE_PARAMETER <receiver: z1: Int on Byte>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z1>() on Byte: Int'
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
PROPERTY public open override var kotlin.Byte.z2: kotlin.Int
|
||||
FUN public open override fun kotlin.Byte.<get-z2>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: <no name provided>>
|
||||
$receiver: VALUE_PARAMETER <receiver: z2: Int on Byte>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z2>() on Byte: Int'
|
||||
CONST Int type=kotlin.Int value='2'
|
||||
FUN public open override fun kotlin.Byte.<set-z2>(value: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: <no name provided>>
|
||||
$receiver: VALUE_PARAMETER <receiver: z2: Int on Byte>
|
||||
VALUE_PARAMETER value-parameter value: kotlin.Int
|
||||
BLOCK_BODY
|
||||
CALL 'constructor <no name provided>()' type=otherImpl.<no name provided> origin=OBJECT_LITERAL
|
||||
CLASS CLASS Test1
|
||||
@@ -105,12 +141,16 @@ FILE /delegatedImplementation.kt
|
||||
EXPRESSION_BODY
|
||||
GET_OBJECT 'BaseImpl' type=BaseImpl
|
||||
FUN DELEGATED_MEMBER public open override fun bar(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='bar(): Int'
|
||||
CALL 'bar(): Int' type=kotlin.Int origin=null
|
||||
$this: GET_FIELD '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
|
||||
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
|
||||
FUN DELEGATED_MEMBER public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter s: kotlin.String
|
||||
BLOCK_BODY
|
||||
CALL 'foo(Int, String): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_FIELD '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
|
||||
@@ -118,6 +158,8 @@ FILE /delegatedImplementation.kt
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
s: GET_VAR 'value-parameter s: String' type=kotlin.String origin=null
|
||||
FUN DELEGATED_MEMBER public open override fun kotlin.String.qux(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
$receiver: VALUE_PARAMETER <receiver: qux() on String: Unit>
|
||||
BLOCK_BODY
|
||||
CALL 'qux() on String: Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_FIELD '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
|
||||
@@ -132,12 +174,16 @@ FILE /delegatedImplementation.kt
|
||||
EXPRESSION_BODY
|
||||
GET_OBJECT 'BaseImpl' type=BaseImpl
|
||||
FUN DELEGATED_MEMBER public open override fun bar(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='bar(): Int'
|
||||
CALL 'bar(): Int' type=kotlin.Int origin=null
|
||||
$this: GET_FIELD '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
|
||||
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
|
||||
FUN DELEGATED_MEMBER public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter s: kotlin.String
|
||||
BLOCK_BODY
|
||||
CALL 'foo(Int, String): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_FIELD '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
|
||||
@@ -145,6 +191,8 @@ FILE /delegatedImplementation.kt
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
s: GET_VAR 'value-parameter s: String' type=kotlin.String origin=null
|
||||
FUN DELEGATED_MEMBER public open override fun kotlin.String.qux(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
$receiver: VALUE_PARAMETER <receiver: qux() on String: Unit>
|
||||
BLOCK_BODY
|
||||
CALL 'qux() on String: Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_FIELD '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
|
||||
@@ -157,6 +205,8 @@ FILE /delegatedImplementation.kt
|
||||
y0: CONST Int type=kotlin.Int value='42'
|
||||
PROPERTY DELEGATED_MEMBER public open override val kotlin.Byte.z1: kotlin.Int
|
||||
FUN DELEGATED_MEMBER public open override fun kotlin.Byte.<get-z1>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
$receiver: VALUE_PARAMETER <receiver: z1: Int on Byte>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z1>() on Byte: Int'
|
||||
CALL '<get-z1>() on Byte: Int' type=kotlin.Int origin=null
|
||||
@@ -165,6 +215,7 @@ FILE /delegatedImplementation.kt
|
||||
$receiver: GET_VAR '<receiver: z1: Int on Byte>' type=kotlin.Byte origin=null
|
||||
PROPERTY DELEGATED_MEMBER public open override val x: kotlin.String
|
||||
FUN DELEGATED_MEMBER public open override fun <get-x>(): kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): String'
|
||||
CALL '<get-x>(): String' type=kotlin.String origin=null
|
||||
@@ -172,6 +223,8 @@ FILE /delegatedImplementation.kt
|
||||
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
|
||||
PROPERTY DELEGATED_MEMBER public open override var kotlin.Byte.z2: kotlin.Int
|
||||
FUN DELEGATED_MEMBER public open override fun kotlin.Byte.<get-z2>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
$receiver: VALUE_PARAMETER <receiver: z2: Int on Byte>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z2>() on Byte: Int'
|
||||
CALL '<get-z2>() on Byte: Int' type=kotlin.Int origin=null
|
||||
@@ -179,6 +232,9 @@ FILE /delegatedImplementation.kt
|
||||
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
|
||||
$receiver: GET_VAR '<receiver: z2: Int on Byte>' type=kotlin.Byte origin=null
|
||||
FUN DELEGATED_MEMBER public open override fun kotlin.Byte.<set-z2>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
$receiver: VALUE_PARAMETER <receiver: z2: Int on Byte>
|
||||
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
|
||||
BLOCK_BODY
|
||||
CALL '<set-z2>(Int) on Byte: Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_FIELD '`Test2$IOther$delegate`: IOther' type=IOther origin=null
|
||||
@@ -187,12 +243,15 @@ FILE /delegatedImplementation.kt
|
||||
<set-?>: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
PROPERTY DELEGATED_MEMBER public open override var y: kotlin.Int
|
||||
FUN DELEGATED_MEMBER public open override fun <get-y>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
CALL '<get-y>(): Int' type=kotlin.Int origin=null
|
||||
$this: GET_FIELD '`Test2$IOther$delegate`: IOther' type=IOther origin=null
|
||||
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
|
||||
FUN DELEGATED_MEMBER public open override fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
|
||||
BLOCK_BODY
|
||||
CALL '<set-y>(Int): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_FIELD '`Test2$IOther$delegate`: IOther' type=IOther origin=null
|
||||
|
||||
+6
@@ -1,15 +1,19 @@
|
||||
FILE /delegatedImplementationWithExplicitOverride.kt
|
||||
CLASS INTERFACE IFooBar
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: IFooBar>
|
||||
FUN public abstract fun bar(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: IFooBar>
|
||||
CLASS OBJECT FooBarImpl
|
||||
CONSTRUCTOR private constructor FooBarImpl()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='FooBarImpl'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: FooBarImpl>
|
||||
BLOCK_BODY
|
||||
FUN public open override fun bar(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: FooBarImpl>
|
||||
BLOCK_BODY
|
||||
CLASS CLASS C
|
||||
CONSTRUCTOR public constructor C()
|
||||
@@ -20,9 +24,11 @@ FILE /delegatedImplementationWithExplicitOverride.kt
|
||||
EXPRESSION_BODY
|
||||
GET_OBJECT 'FooBarImpl' type=FooBarImpl
|
||||
FUN DELEGATED_MEMBER public open override fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: C>
|
||||
BLOCK_BODY
|
||||
CALL 'foo(): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_FIELD '`C$IFooBar$delegate`: FooBarImpl' type=FooBarImpl origin=null
|
||||
receiver: GET_VAR '<receiver: C>' type=C origin=null
|
||||
FUN public open override fun bar(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: C>
|
||||
BLOCK_BODY
|
||||
|
||||
+4
@@ -1,6 +1,9 @@
|
||||
FILE /delegatingConstructorCallToTypeAliasConstructor.kt
|
||||
CLASS CLASS Cell
|
||||
TYPE_PARAMETER <T>
|
||||
CONSTRUCTOR public constructor Cell<T>(value: T)
|
||||
TYPE_PARAMETER <T>
|
||||
VALUE_PARAMETER value-parameter value: T
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Cell'
|
||||
@@ -9,6 +12,7 @@ FILE /delegatingConstructorCallToTypeAliasConstructor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter value: T' type=T origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-value>(): T
|
||||
$this: VALUE_PARAMETER <receiver: Cell>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): T'
|
||||
GET_FIELD 'value: T' type=T origin=null
|
||||
|
||||
+2
@@ -10,9 +10,11 @@ FILE /delegatingConstructorCallsInSecondaryConstructors.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test'
|
||||
CONSTRUCTOR public constructor Test(xx: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter xx: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test'
|
||||
CONSTRUCTOR public constructor Test(xx: kotlin.Short)
|
||||
VALUE_PARAMETER value-parameter xx: kotlin.Short
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Test()'
|
||||
|
||||
+14
-2
@@ -14,6 +14,7 @@ FILE /enum.kt
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS TestEnum2
|
||||
CONSTRUCTOR private constructor TestEnum2(x: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestEnum2'
|
||||
@@ -22,6 +23,7 @@ FILE /enum.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestEnum2>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -52,16 +54,19 @@ FILE /enum.kt
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor TestEnum3()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TEST'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: TEST>
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='Hello, world!'
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: TestEnum3>
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum3>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum3
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS TestEnum4
|
||||
CONSTRUCTOR private constructor TestEnum4(x: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestEnum4'
|
||||
@@ -70,6 +75,7 @@ FILE /enum.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestEnum4>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -83,6 +89,7 @@ FILE /enum.kt
|
||||
x: CONST Int type=kotlin.Int value='1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TEST1'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: TEST1>
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: GET_ENUM 'TEST1' type=TestEnum4
|
||||
@@ -97,6 +104,7 @@ FILE /enum.kt
|
||||
PROPERTY public final val z: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val z: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-z>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TEST2>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z>(): Int'
|
||||
GET_FIELD 'z: Int' type=kotlin.Int origin=null
|
||||
@@ -108,18 +116,21 @@ FILE /enum.kt
|
||||
value: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR '<receiver: TEST2>' type=TestEnum4.TEST2 origin=null
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: TEST2>
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: GET_ENUM 'TEST2' type=TestEnum4
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: TestEnum4>
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum4>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum4
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS TestEnum5
|
||||
CONSTRUCTOR private constructor TestEnum5(x: kotlin.Int = ...)
|
||||
x: EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int = ...
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestEnum5'
|
||||
@@ -128,6 +139,7 @@ FILE /enum.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int = ...' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestEnum5>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
FILE /enumWithSecondaryCtor.kt
|
||||
CLASS ENUM_CLASS Test0
|
||||
CONSTRUCTOR private constructor Test0(x: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test0'
|
||||
@@ -9,6 +10,7 @@ FILE /enumWithSecondaryCtor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test0>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -25,6 +27,7 @@ FILE /enumWithSecondaryCtor.kt
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS Test1
|
||||
CONSTRUCTOR private constructor Test1(x: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
@@ -33,6 +36,7 @@ FILE /enumWithSecondaryCtor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -52,6 +56,7 @@ FILE /enumWithSecondaryCtor.kt
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS Test2
|
||||
CONSTRUCTOR private constructor Test2(x: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
@@ -60,6 +65,7 @@ FILE /enumWithSecondaryCtor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -72,6 +78,7 @@ FILE /enumWithSecondaryCtor.kt
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Test2()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='ZERO'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: ZERO>
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='ZERO'
|
||||
@@ -84,6 +91,7 @@ FILE /enumWithSecondaryCtor.kt
|
||||
x: CONST Int type=kotlin.Int value='1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='ONE'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: ONE>
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='ONE'
|
||||
@@ -92,6 +100,7 @@ FILE /enumWithSecondaryCtor.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Test2(Int)'
|
||||
x: CONST Int type=kotlin.Int value='0'
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<Test2>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Test2
|
||||
|
||||
@@ -9,6 +9,7 @@ FILE /initBlock.kt
|
||||
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
||||
CLASS CLASS Test2
|
||||
CONSTRUCTOR public constructor Test2(x: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
@@ -17,6 +18,7 @@ FILE /initBlock.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -56,6 +58,7 @@ FILE /initBlock.kt
|
||||
message: CONST String type=kotlin.String value='1'
|
||||
CLASS CLASS TestInner
|
||||
CONSTRUCTOR public constructor TestInner()
|
||||
$this: VALUE_PARAMETER <receiver: Test5>
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInner'
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
FILE /initVal.kt
|
||||
CLASS CLASS TestInitValFromParameter
|
||||
CONSTRUCTOR public constructor TestInitValFromParameter(x: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitValFromParameter'
|
||||
@@ -9,6 +10,7 @@ FILE /initVal.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestInitValFromParameter>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -23,6 +25,7 @@ FILE /initVal.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestInitValInClass>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -35,6 +38,7 @@ FILE /initVal.kt
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestInitValInInitBlock>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
|
||||
+19
@@ -1,6 +1,7 @@
|
||||
FILE /initVar.kt
|
||||
CLASS CLASS TestInitVarFromParameter
|
||||
CONSTRUCTOR public constructor TestInitVarFromParameter(x: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarFromParameter'
|
||||
@@ -9,11 +10,14 @@ FILE /initVar.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestInitVarFromParameter>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: TestInitVarFromParameter>' type=TestInitVarFromParameter origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: TestInitVarFromParameter>
|
||||
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'x: Int' type=kotlin.Unit origin=null
|
||||
receiver: GET_VAR '<receiver: TestInitVarFromParameter>' type=TestInitVarFromParameter origin=null
|
||||
@@ -28,11 +32,14 @@ FILE /initVar.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestInitVarInClass>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: TestInitVarInClass>' type=TestInitVarInClass origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: TestInitVarInClass>
|
||||
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'x: Int' type=kotlin.Unit origin=null
|
||||
receiver: GET_VAR '<receiver: TestInitVarInClass>' type=TestInitVarInClass origin=null
|
||||
@@ -45,11 +52,14 @@ FILE /initVar.kt
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestInitVarInInitBlock>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: TestInitVarInInitBlock>' type=TestInitVarInInitBlock origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: TestInitVarInInitBlock>
|
||||
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'x: Int' type=kotlin.Unit origin=null
|
||||
receiver: GET_VAR '<receiver: TestInitVarInInitBlock>' type=TestInitVarInInitBlock origin=null
|
||||
@@ -69,11 +79,14 @@ FILE /initVar.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetter>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: TestInitVarWithCustomSetter>' type=TestInitVarWithCustomSetter origin=null
|
||||
FUN public final fun <set-x>(value: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetter>
|
||||
VALUE_PARAMETER value-parameter value: kotlin.Int
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'x: Int' type=kotlin.Unit origin=EQ
|
||||
receiver: GET_VAR '<receiver: TestInitVarWithCustomSetter>' type=TestInitVarWithCustomSetter origin=null
|
||||
@@ -82,11 +95,14 @@ FILE /initVar.kt
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetterWithExplicitCtor>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: TestInitVarWithCustomSetterWithExplicitCtor>' type=TestInitVarWithCustomSetterWithExplicitCtor origin=null
|
||||
FUN public final fun <set-x>(value: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetterWithExplicitCtor>
|
||||
VALUE_PARAMETER value-parameter value: kotlin.Int
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'x: Int' type=kotlin.Unit origin=EQ
|
||||
receiver: GET_VAR '<receiver: TestInitVarWithCustomSetterWithExplicitCtor>' type=TestInitVarWithCustomSetterWithExplicitCtor origin=null
|
||||
@@ -104,11 +120,14 @@ FILE /initVar.kt
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetterInCtor>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: TestInitVarWithCustomSetterInCtor>' type=TestInitVarWithCustomSetterInCtor origin=null
|
||||
FUN public final fun <set-x>(value: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetterInCtor>
|
||||
VALUE_PARAMETER value-parameter value: kotlin.Int
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'x: Int' type=kotlin.Unit origin=EQ
|
||||
receiver: GET_VAR '<receiver: TestInitVarWithCustomSetterInCtor>' type=TestInitVarWithCustomSetterInCtor origin=null
|
||||
|
||||
@@ -6,11 +6,13 @@ FILE /innerClass.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
|
||||
CLASS CLASS TestInnerClass
|
||||
CONSTRUCTOR public constructor TestInnerClass()
|
||||
$this: VALUE_PARAMETER <receiver: Outer>
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInnerClass'
|
||||
CLASS CLASS DerivedInnerClass
|
||||
CONSTRUCTOR public constructor DerivedInnerClass()
|
||||
$this: VALUE_PARAMETER <receiver: Outer>
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor TestInnerClass()'
|
||||
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null
|
||||
|
||||
@@ -6,6 +6,8 @@ FILE /innerClassWithDelegatingConstructor.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
|
||||
CLASS CLASS Inner
|
||||
CONSTRUCTOR public constructor Inner(x: kotlin.Int)
|
||||
$this: VALUE_PARAMETER <receiver: Outer>
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Inner'
|
||||
@@ -14,11 +16,13 @@ FILE /innerClassWithDelegatingConstructor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Inner>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: Inner>' type=Outer.Inner origin=null
|
||||
CONSTRUCTOR public constructor Inner()
|
||||
$this: VALUE_PARAMETER <receiver: Outer>
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Inner(Int)'
|
||||
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null
|
||||
|
||||
@@ -7,6 +7,7 @@ FILE /localClasses.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='LocalClass'
|
||||
FUN public final fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: LocalClass>
|
||||
BLOCK_BODY
|
||||
CALL 'foo(): Unit' type=kotlin.Unit origin=null
|
||||
$this: CALL 'constructor LocalClass()' type=outer.LocalClass origin=null
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
FILE /objectLiteralExpressions.kt
|
||||
CLASS INTERFACE IFoo
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: IFoo>
|
||||
PROPERTY public val test1: kotlin.Any
|
||||
FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.Any
|
||||
EXPRESSION_BODY
|
||||
@@ -25,6 +26,7 @@ FILE /objectLiteralExpressions.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: <no name provided>>
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='foo'
|
||||
@@ -40,10 +42,12 @@ FILE /objectLiteralExpressions.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
|
||||
CLASS CLASS Inner
|
||||
CONSTRUCTOR public constructor Inner()
|
||||
$this: VALUE_PARAMETER <receiver: Outer>
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Inner'
|
||||
FUN public final fun test3(): Outer.Inner
|
||||
$this: VALUE_PARAMETER <receiver: Outer>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test3(): Outer.Inner'
|
||||
BLOCK type=Outer.test3.<no name provided> origin=OBJECT_LITERAL
|
||||
@@ -54,11 +58,13 @@ FILE /objectLiteralExpressions.kt
|
||||
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: <no name provided>>
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='foo'
|
||||
CALL 'constructor <no name provided>()' type=Outer.test3.<no name provided> origin=OBJECT_LITERAL
|
||||
FUN public fun Outer.test4(): Outer.Inner
|
||||
$receiver: VALUE_PARAMETER <receiver: test4() on Outer: Outer.Inner>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test4() on Outer: Outer.Inner'
|
||||
BLOCK type=test4.<no name provided> origin=OBJECT_LITERAL
|
||||
@@ -69,6 +75,7 @@ FILE /objectLiteralExpressions.kt
|
||||
$this: GET_VAR '<receiver: test4() on Outer: Outer.Inner>' type=Outer origin=null
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: <no name provided>>
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='foo'
|
||||
|
||||
@@ -14,6 +14,7 @@ FILE /objectWithInitializers.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -21,6 +22,7 @@ FILE /objectWithInitializers.kt
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
|
||||
@@ -5,28 +5,35 @@ FILE /outerClassAccess.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
|
||||
FUN public final fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Outer>
|
||||
BLOCK_BODY
|
||||
CLASS CLASS Inner
|
||||
CONSTRUCTOR public constructor Inner()
|
||||
$this: VALUE_PARAMETER <receiver: Outer>
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Inner'
|
||||
FUN public final fun test(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Inner>
|
||||
BLOCK_BODY
|
||||
CALL 'foo(): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null
|
||||
CLASS CLASS Inner2
|
||||
CONSTRUCTOR public constructor Inner2()
|
||||
$this: VALUE_PARAMETER <receiver: Inner>
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Inner2'
|
||||
FUN public final fun test2(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Inner2>
|
||||
BLOCK_BODY
|
||||
CALL 'test(): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '<receiver: Inner>' type=Outer.Inner origin=null
|
||||
CALL 'foo(): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null
|
||||
FUN public final fun Outer.test3(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Inner2>
|
||||
$receiver: VALUE_PARAMETER <receiver: test3() on Outer: Unit>
|
||||
BLOCK_BODY
|
||||
CALL 'foo(): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '<receiver: test3() on Outer: Unit>' type=Outer origin=null
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
FILE /primaryConstructor.kt
|
||||
CLASS CLASS Test1
|
||||
CONSTRUCTOR public constructor Test1(x: kotlin.Int, y: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter y: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
@@ -9,6 +11,7 @@ FILE /primaryConstructor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -18,12 +21,15 @@ FILE /primaryConstructor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test1>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
|
||||
CLASS CLASS Test2
|
||||
CONSTRUCTOR public constructor Test2(x: kotlin.Int, y: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter y: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
@@ -32,6 +38,7 @@ FILE /primaryConstructor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
@@ -41,12 +48,15 @@ FILE /primaryConstructor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
|
||||
CLASS CLASS Test3
|
||||
CONSTRUCTOR public constructor Test3(x: kotlin.Int, y: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter y: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test3'
|
||||
@@ -55,6 +65,7 @@ FILE /primaryConstructor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test3>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
@@ -62,6 +73,7 @@ FILE /primaryConstructor.kt
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Test3>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
|
||||
+5
@@ -16,6 +16,8 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestExplicitPrimaryConstructor'
|
||||
CLASS CLASS TestWithDelegatingConstructor
|
||||
CONSTRUCTOR public constructor TestWithDelegatingConstructor(x: kotlin.Int, y: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter y: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestWithDelegatingConstructor'
|
||||
@@ -24,6 +26,7 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestWithDelegatingConstructor>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -33,11 +36,13 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestWithDelegatingConstructor>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: TestWithDelegatingConstructor>' type=TestWithDelegatingConstructor origin=null
|
||||
CONSTRUCTOR public constructor TestWithDelegatingConstructor(x: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor TestWithDelegatingConstructor(Int, Int)'
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
|
||||
@@ -1,17 +1,21 @@
|
||||
FILE /qualifiedSuperCalls.kt
|
||||
CLASS INTERFACE ILeft
|
||||
FUN public open fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: ILeft>
|
||||
BLOCK_BODY
|
||||
PROPERTY public open val bar: kotlin.Int
|
||||
FUN public open fun <get-bar>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: ILeft>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
CLASS INTERFACE IRight
|
||||
FUN public open fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: IRight>
|
||||
BLOCK_BODY
|
||||
PROPERTY public open val bar: kotlin.Int
|
||||
FUN public open fun <get-bar>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: IRight>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
|
||||
CONST Int type=kotlin.Int value='2'
|
||||
@@ -21,6 +25,7 @@ FILE /qualifiedSuperCalls.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CBoth'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: CBoth>
|
||||
BLOCK_BODY
|
||||
CALL 'foo(): Unit' superQualifier=ILeft type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '<receiver: CBoth>' type=CBoth origin=null
|
||||
@@ -28,6 +33,7 @@ FILE /qualifiedSuperCalls.kt
|
||||
$this: GET_VAR '<receiver: CBoth>' type=CBoth origin=null
|
||||
PROPERTY public open override val bar: kotlin.Int
|
||||
FUN public open override fun <get-bar>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: CBoth>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
|
||||
CALL 'plus(Int): Int' type=kotlin.Int origin=PLUS
|
||||
|
||||
@@ -6,6 +6,7 @@ FILE /sealedClasses.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Expr'
|
||||
CLASS CLASS Const
|
||||
CONSTRUCTOR public constructor Const(number: kotlin.Double)
|
||||
VALUE_PARAMETER value-parameter number: kotlin.Double
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Expr()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Const'
|
||||
@@ -14,12 +15,15 @@ FILE /sealedClasses.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter number: Double' type=kotlin.Double origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-number>(): kotlin.Double
|
||||
$this: VALUE_PARAMETER <receiver: Const>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-number>(): Double'
|
||||
GET_FIELD 'number: Double' type=kotlin.Double origin=null
|
||||
receiver: GET_VAR '<receiver: Const>' type=Expr.Const origin=null
|
||||
CLASS CLASS Sum
|
||||
CONSTRUCTOR public constructor Sum(e1: Expr, e2: Expr)
|
||||
VALUE_PARAMETER value-parameter e1: Expr
|
||||
VALUE_PARAMETER value-parameter e2: Expr
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Expr()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Sum'
|
||||
@@ -28,6 +32,7 @@ FILE /sealedClasses.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter e1: Expr' type=Expr origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-e1>(): Expr
|
||||
$this: VALUE_PARAMETER <receiver: Sum>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-e1>(): Expr'
|
||||
GET_FIELD 'e1: Expr' type=Expr origin=null
|
||||
@@ -37,6 +42,7 @@ FILE /sealedClasses.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter e2: Expr' type=Expr origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-e2>(): Expr
|
||||
$this: VALUE_PARAMETER <receiver: Sum>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-e2>(): Expr'
|
||||
GET_FIELD 'e2: Expr' type=Expr origin=null
|
||||
|
||||
+4
@@ -10,6 +10,7 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestProperty>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -22,6 +23,7 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestInitBlock>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -36,9 +38,11 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitBlock'
|
||||
CONSTRUCTOR public constructor TestInitBlock(z: kotlin.Any)
|
||||
VALUE_PARAMETER value-parameter z: kotlin.Any
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitBlock'
|
||||
CONSTRUCTOR public constructor TestInitBlock(y: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter y: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor TestInitBlock()'
|
||||
|
||||
@@ -5,6 +5,7 @@ FILE /secondaryConstructors.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor C(Int)'
|
||||
x: CONST Int type=kotlin.Int value='0'
|
||||
CONSTRUCTOR public constructor C(x: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
|
||||
@@ -5,12 +5,14 @@ FILE /superCalls.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
|
||||
FUN public open fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Base>
|
||||
BLOCK_BODY
|
||||
PROPERTY public open val bar: kotlin.String = ""
|
||||
FIELD PROPERTY_BACKING_FIELD public open val bar: kotlin.String = ""
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value=''
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public open fun <get-bar>(): kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: Base>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): String'
|
||||
GET_FIELD 'bar: String' type=kotlin.String origin=null
|
||||
@@ -21,11 +23,13 @@ FILE /superCalls.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Derived'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Derived>
|
||||
BLOCK_BODY
|
||||
CALL 'foo(): Unit' superQualifier=Base type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '<receiver: Derived>' type=Derived origin=null
|
||||
PROPERTY public open override val bar: kotlin.String
|
||||
FUN public open override fun <get-bar>(): kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: Derived>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): String'
|
||||
CALL '<get-bar>(): String' superQualifier=Base type=kotlin.String origin=GET_PROPERTY
|
||||
|
||||
Reference in New Issue
Block a user