Add symbols to references
TODO: fix some more tests
This commit is contained in:
@@ -12,6 +12,7 @@ FILE /arrayAugmentedAssignment1.kt
|
||||
RETURN type=kotlin.Nothing from='bar(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
CLASS CLASS C
|
||||
$new: VALUE_PARAMETER <receiver: C>
|
||||
CONSTRUCTOR public constructor C(x: kotlin.IntArray)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.IntArray
|
||||
BLOCK_BODY
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /assignments.kt
|
||||
CLASS CLASS Ref
|
||||
$new: VALUE_PARAMETER <receiver: Ref>
|
||||
CONSTRUCTOR public constructor Ref(x: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /augmentedAssignment2.kt
|
||||
CLASS CLASS A
|
||||
$new: VALUE_PARAMETER <receiver: A>
|
||||
CONSTRUCTOR public constructor A()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
+3
-2
@@ -1,5 +1,6 @@
|
||||
FILE /augmentedAssignmentWithExpression.kt
|
||||
CLASS CLASS Host
|
||||
$new: VALUE_PARAMETER <receiver: Host>
|
||||
CONSTRUCTOR public constructor Host()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -12,7 +13,7 @@ FILE /augmentedAssignmentWithExpression.kt
|
||||
$this: VALUE_PARAMETER <receiver: Host>
|
||||
BLOCK_BODY
|
||||
CALL 'plusAssign(Int): Unit' type=kotlin.Unit origin=PLUSEQ
|
||||
$this: GET_VAR '<receiver: Host>' type=Host origin=null
|
||||
$this: GET_VAR '<receiver: Host>' type=Host origin=PLUSEQ
|
||||
x: CONST Int type=kotlin.Int value='1'
|
||||
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
@@ -25,7 +26,7 @@ FILE /augmentedAssignmentWithExpression.kt
|
||||
$receiver: VALUE_PARAMETER <receiver: test2() on Host: Unit>
|
||||
BLOCK_BODY
|
||||
CALL 'plusAssign(Int): Unit' type=kotlin.Unit origin=PLUSEQ
|
||||
$this: GET_VAR '<receiver: test2() on Host: Unit>' type=Host origin=null
|
||||
$this: GET_VAR '<receiver: test2() on Host: Unit>' type=Host origin=PLUSEQ
|
||||
x: CONST Int type=kotlin.Int value='1'
|
||||
FUN public fun test3(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
|
||||
@@ -21,7 +21,7 @@ FILE /badBreakContinue.kt
|
||||
BLOCK_BODY
|
||||
ERROR_EXPR 'Loop not found for break expression: break@L1' type=kotlin.Nothing
|
||||
ERROR_EXPR 'Loop not found for continue expression: continue@L1' type=kotlin.Nothing
|
||||
CALLABLE_REFERENCE '<anonymous>(): Nothing' type=() -> kotlin.Nothing origin=LAMBDA
|
||||
FUNCTION_REFERENCE '<anonymous>(): Nothing' type=() -> kotlin.Nothing origin=LAMBDA
|
||||
FUN public fun test4(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
WHILE label=null origin=WHILE_LOOP
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /boundCallableReferences.kt
|
||||
CLASS CLASS A
|
||||
$new: VALUE_PARAMETER <receiver: A>
|
||||
CONSTRUCTOR public constructor A()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -26,7 +27,7 @@ FILE /boundCallableReferences.kt
|
||||
PROPERTY public val test1: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'foo(): Unit' type=kotlin.reflect.KFunction0<kotlin.Unit> origin=null
|
||||
FUNCTION_REFERENCE 'foo(): Unit' type=kotlin.reflect.KFunction0<kotlin.Unit> origin=null
|
||||
$this: CALL 'constructor A()' type=A origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
BLOCK_BODY
|
||||
@@ -35,7 +36,7 @@ FILE /boundCallableReferences.kt
|
||||
PROPERTY public val test2: kotlin.reflect.KProperty0<kotlin.Int>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test2: kotlin.reflect.KProperty0<kotlin.Int>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'bar: Int' type=kotlin.reflect.KProperty0<kotlin.Int> origin=null
|
||||
PROPERTY_REFERENCE 'bar: Int' field=null getter='<get-bar>(): Int' setter=null type=kotlin.reflect.KProperty0<kotlin.Int> origin=null
|
||||
$this: CALL 'constructor A()' type=A origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): kotlin.reflect.KProperty0<kotlin.Int>
|
||||
BLOCK_BODY
|
||||
@@ -44,7 +45,7 @@ FILE /boundCallableReferences.kt
|
||||
PROPERTY public val test3: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test3: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'qux() on A: Unit' type=kotlin.reflect.KFunction0<kotlin.Unit> origin=null
|
||||
FUNCTION_REFERENCE 'qux() on A: Unit' type=kotlin.reflect.KFunction0<kotlin.Unit> origin=null
|
||||
$receiver: CALL 'constructor A()' type=A origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test3>(): kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
BLOCK_BODY
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /chainOfSafeCalls.kt
|
||||
CLASS CLASS C
|
||||
$new: VALUE_PARAMETER <receiver: C>
|
||||
CONSTRUCTOR public constructor C()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /classReference.kt
|
||||
CLASS CLASS A
|
||||
$new: VALUE_PARAMETER <receiver: A>
|
||||
CONSTRUCTOR public constructor A()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
@@ -8,7 +8,7 @@ FILE /coercionToUnit.kt
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit origin=LAMBDA
|
||||
FUNCTION_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit origin=LAMBDA
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): () -> kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): () -> Unit'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /complexAugmentedAssignment.kt
|
||||
CLASS OBJECT X1
|
||||
$new: VALUE_PARAMETER <receiver: X1>
|
||||
CONSTRUCTOR private constructor X1()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -22,6 +23,7 @@ FILE /complexAugmentedAssignment.kt
|
||||
receiver: GET_VAR '<receiver: X1>' type=X1 origin=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
CLASS OBJECT X2
|
||||
$new: VALUE_PARAMETER <receiver: X2>
|
||||
CONSTRUCTOR private constructor X2()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -44,6 +46,7 @@ FILE /complexAugmentedAssignment.kt
|
||||
receiver: GET_VAR '<receiver: X2>' type=X1.X2 origin=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
CLASS OBJECT X3
|
||||
$new: VALUE_PARAMETER <receiver: X3>
|
||||
CONSTRUCTOR private constructor X3()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -143,6 +146,7 @@ FILE /complexAugmentedAssignment.kt
|
||||
$this: GET_VAR 'tmp5: Int' type=kotlin.Int origin=null
|
||||
GET_VAR 'tmp5: Int' type=kotlin.Int origin=null
|
||||
CLASS CLASS B
|
||||
$new: VALUE_PARAMETER <receiver: B>
|
||||
CONSTRUCTOR public constructor B(s: kotlin.Int = ...)
|
||||
VALUE_PARAMETER value-parameter s: kotlin.Int = ...
|
||||
EXPRESSION_BODY
|
||||
@@ -171,6 +175,7 @@ FILE /complexAugmentedAssignment.kt
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS OBJECT Host
|
||||
$new: VALUE_PARAMETER <receiver: Host>
|
||||
CONSTRUCTOR private constructor Host()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /contructorCall.kt
|
||||
CLASS CLASS A
|
||||
$new: VALUE_PARAMETER <receiver: A>
|
||||
CONSTRUCTOR public constructor A()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /destructuring1.kt
|
||||
CLASS OBJECT A
|
||||
$new: VALUE_PARAMETER <receiver: A>
|
||||
CONSTRUCTOR private constructor A()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -8,6 +9,7 @@ FILE /destructuring1.kt
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS OBJECT B
|
||||
$new: VALUE_PARAMETER <receiver: B>
|
||||
CONSTRUCTOR private constructor B()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /destructuringWithUnderscore.kt
|
||||
CLASS OBJECT A
|
||||
$new: VALUE_PARAMETER <receiver: A>
|
||||
CONSTRUCTOR private constructor A()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -8,6 +9,7 @@ FILE /destructuringWithUnderscore.kt
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS OBJECT B
|
||||
$new: VALUE_PARAMETER <receiver: B>
|
||||
CONSTRUCTOR private constructor B()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /enumEntryAsReceiver.kt
|
||||
CLASS ENUM_CLASS X
|
||||
$new: VALUE_PARAMETER <receiver: X>
|
||||
CONSTRUCTOR private constructor X()
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
|
||||
@@ -7,6 +8,7 @@ FILE /enumEntryAsReceiver.kt
|
||||
ENUM_ENTRY enum entry B
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor B()'
|
||||
class: CLASS ENUM_ENTRY B
|
||||
$new: VALUE_PARAMETER <receiver: B>
|
||||
CONSTRUCTOR private constructor B()
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor X()'
|
||||
@@ -16,6 +18,7 @@ FILE /enumEntryAsReceiver.kt
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value='OK'
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-value2>(): kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: B>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value2>(): String'
|
||||
GET_FIELD 'value2: String' type=kotlin.String origin=null
|
||||
@@ -29,18 +32,42 @@ FILE /enumEntryAsReceiver.kt
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): String'
|
||||
CALL '<get-value2>(): String' type=kotlin.String origin=GET_PROPERTY
|
||||
$this: GET_ENUM 'B' type=X.B
|
||||
CALLABLE_REFERENCE '<anonymous>(): String' type=() -> kotlin.String origin=LAMBDA
|
||||
FUNCTION_REFERENCE '<anonymous>(): String' type=() -> kotlin.String origin=LAMBDA
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <get-value>(): () -> kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: B>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): () -> String'
|
||||
GET_FIELD 'value: () -> String' type=() -> kotlin.String origin=null
|
||||
receiver: GET_VAR '<receiver: B>' type=X.B origin=null
|
||||
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
|
||||
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
|
||||
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<X!>!
|
||||
FUN FAKE_OVERRIDE public final override fun compareTo(other: X): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
|
||||
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
|
||||
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
|
||||
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
|
||||
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
PROPERTY public abstract val value: () -> kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <get-value>(): () -> kotlin.String
|
||||
$this: VALUE_PARAMETER <receiver: X>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): () -> String'
|
||||
GET_FIELD 'value: () -> String' type=() -> kotlin.String origin=null
|
||||
receiver: GET_VAR '<receiver: X>' type=X origin=null
|
||||
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
|
||||
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
|
||||
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<X!>!
|
||||
FUN FAKE_OVERRIDE public final override fun compareTo(other: X): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
|
||||
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
|
||||
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
|
||||
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
|
||||
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<X>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): X
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /forWithImplicitReceivers.kt
|
||||
CLASS OBJECT FiveTimes
|
||||
$new: VALUE_PARAMETER <receiver: FiveTimes>
|
||||
CONSTRUCTOR private constructor FiveTimes()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -8,6 +9,7 @@ FILE /forWithImplicitReceivers.kt
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS CLASS IntCell
|
||||
$new: VALUE_PARAMETER <receiver: IntCell>
|
||||
CONSTRUCTOR public constructor IntCell(value: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter value: kotlin.Int
|
||||
BLOCK_BODY
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /Derived.kt
|
||||
CLASS CLASS Derived
|
||||
$new: VALUE_PARAMETER <receiver: Derived>
|
||||
CONSTRUCTOR public constructor Derived()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
|
||||
@@ -22,6 +22,7 @@ FILE /jvmStaticFieldReference.kt
|
||||
GET_FIELD 'out: PrintStream!' type=java.io.PrintStream! origin=GET_PROPERTY
|
||||
p0: CONST String type=kotlin.String value='testProp/set'
|
||||
CLASS CLASS TestClass
|
||||
$new: VALUE_PARAMETER <receiver: TestClass>
|
||||
CONSTRUCTOR public constructor TestClass()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /kt16904.kt
|
||||
CLASS CLASS A
|
||||
$new: VALUE_PARAMETER <receiver: A>
|
||||
CONSTRUCTOR public constructor A()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -9,6 +10,7 @@ FILE /kt16904.kt
|
||||
EXPRESSION_BODY
|
||||
CALL 'constructor B()' type=B origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): B
|
||||
$this: VALUE_PARAMETER <receiver: A>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): B'
|
||||
GET_FIELD 'x: B' type=B origin=null
|
||||
@@ -18,23 +20,36 @@ FILE /kt16904.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: A>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: A>' type=A origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: A>
|
||||
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'y: Int' type=kotlin.Unit origin=null
|
||||
receiver: GET_VAR '<receiver: A>' type=A origin=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS CLASS B
|
||||
$new: VALUE_PARAMETER <receiver: B>
|
||||
CONSTRUCTOR public constructor B()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='B'
|
||||
FUN public final operator fun plusAssign(x: kotlin.Int): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: B>
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS CLASS Test1
|
||||
$new: VALUE_PARAMETER <receiver: Test1>
|
||||
CONSTRUCTOR public constructor Test1()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor A()'
|
||||
@@ -55,7 +70,16 @@ FILE /kt16904.kt
|
||||
$this: CALL '<get-y>(): Int' type=kotlin.Int origin=PLUSEQ
|
||||
$this: GET_VAR 'tmp1_this: Test1' type=Test1 origin=null
|
||||
other: CONST Int type=kotlin.Int value='42'
|
||||
PROPERTY FAKE_OVERRIDE public final override val x: B
|
||||
FUN FAKE_OVERRIDE public final override fun <get-x>(): B
|
||||
PROPERTY FAKE_OVERRIDE public final override var y: kotlin.Int
|
||||
FUN FAKE_OVERRIDE public final override fun <get-y>(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public final override fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS CLASS Test2
|
||||
$new: VALUE_PARAMETER <receiver: Test2>
|
||||
CONSTRUCTOR public constructor Test2()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor J()'
|
||||
@@ -65,3 +89,7 @@ FILE /kt16904.kt
|
||||
SET_FIELD 'field: Int' type=kotlin.Unit origin=EQ
|
||||
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
|
||||
value: CONST Int type=kotlin.Int value='42'
|
||||
PROPERTY FAKE_OVERRIDE public final override var field: kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
|
||||
@@ -1,26 +1,45 @@
|
||||
FILE /kt16905.kt
|
||||
CLASS CLASS Outer
|
||||
$new: VALUE_PARAMETER <receiver: Outer>
|
||||
CONSTRUCTOR public constructor Outer()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
|
||||
CLASS CLASS Inner
|
||||
$new: VALUE_PARAMETER <receiver: Inner>
|
||||
CONSTRUCTOR public constructor Inner()
|
||||
$outer: VALUE_PARAMETER <receiver: Outer>
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Inner'
|
||||
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS CLASS InnerDerived0
|
||||
$new: VALUE_PARAMETER <receiver: InnerDerived0>
|
||||
CONSTRUCTOR public constructor InnerDerived0()
|
||||
$outer: VALUE_PARAMETER <receiver: Outer>
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Inner()'
|
||||
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='InnerDerived0'
|
||||
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS CLASS InnerDerived1
|
||||
$new: VALUE_PARAMETER <receiver: InnerDerived1>
|
||||
CONSTRUCTOR public constructor InnerDerived1()
|
||||
$outer: VALUE_PARAMETER <receiver: Outer>
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Inner()'
|
||||
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='InnerDerived1'
|
||||
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
TYPEALIAS typealias OI = Outer.Inner type=Outer.Inner
|
||||
FUN public fun test(): Outer.Inner
|
||||
BLOCK_BODY
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /membersImportedFromObject.kt
|
||||
CLASS OBJECT A
|
||||
$new: VALUE_PARAMETER <receiver: A>
|
||||
CONSTRUCTOR private constructor A()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /objectAsCallable.kt
|
||||
CLASS OBJECT A
|
||||
$new: VALUE_PARAMETER <receiver: A>
|
||||
CONSTRUCTOR private constructor A()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -8,6 +9,7 @@ FILE /objectAsCallable.kt
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS ENUM_CLASS En
|
||||
$new: VALUE_PARAMETER <receiver: En>
|
||||
CONSTRUCTOR private constructor En()
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /objectClassReference.kt
|
||||
CLASS OBJECT A
|
||||
$new: VALUE_PARAMETER <receiver: A>
|
||||
CONSTRUCTOR private constructor A()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
@@ -83,6 +83,7 @@ FILE /primitivesImplicitConversions.kt
|
||||
$this: CONST Int type=kotlin.Int value='1'
|
||||
BLOCK_BODY
|
||||
CLASS CLASS TestImplicitArguments
|
||||
$new: VALUE_PARAMETER <receiver: TestImplicitArguments>
|
||||
CONSTRUCTOR public constructor TestImplicitArguments(x: kotlin.Long = ...)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Long = ...
|
||||
EXPRESSION_BODY
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /reflectionLiterals.kt
|
||||
CLASS CLASS A
|
||||
$new: VALUE_PARAMETER <receiver: A>
|
||||
CONSTRUCTOR public constructor A()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -40,7 +41,7 @@ FILE /reflectionLiterals.kt
|
||||
PROPERTY public val test3: kotlin.reflect.KFunction1<A, kotlin.Unit>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test3: kotlin.reflect.KFunction1<A, kotlin.Unit>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'foo(): Unit' type=kotlin.reflect.KFunction1<A, kotlin.Unit> origin=null
|
||||
FUNCTION_REFERENCE 'foo(): Unit' type=kotlin.reflect.KFunction1<A, kotlin.Unit> origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test3>(): kotlin.reflect.KFunction1<A, kotlin.Unit>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test3>(): KFunction1<A, Unit>'
|
||||
@@ -48,7 +49,7 @@ FILE /reflectionLiterals.kt
|
||||
PROPERTY public val test4: kotlin.reflect.KFunction0<A>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test4: kotlin.reflect.KFunction0<A>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'constructor A()' type=kotlin.reflect.KFunction0<A> origin=null
|
||||
FUNCTION_REFERENCE 'constructor A()' type=kotlin.reflect.KFunction0<A> origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test4>(): kotlin.reflect.KFunction0<A>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test4>(): KFunction0<A>'
|
||||
@@ -56,7 +57,7 @@ FILE /reflectionLiterals.kt
|
||||
PROPERTY public val test5: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test5: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'foo(): Unit' type=kotlin.reflect.KFunction0<kotlin.Unit> origin=null
|
||||
FUNCTION_REFERENCE 'foo(): Unit' type=kotlin.reflect.KFunction0<kotlin.Unit> origin=null
|
||||
$this: CALL 'constructor A()' type=A origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test5>(): kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
BLOCK_BODY
|
||||
@@ -65,7 +66,7 @@ FILE /reflectionLiterals.kt
|
||||
PROPERTY public val test6: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test6: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'bar(): Unit' type=kotlin.reflect.KFunction0<kotlin.Unit> origin=null
|
||||
FUNCTION_REFERENCE 'bar(): Unit' type=kotlin.reflect.KFunction0<kotlin.Unit> origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test6>(): kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test6>(): KFunction0<Unit>'
|
||||
@@ -73,7 +74,7 @@ FILE /reflectionLiterals.kt
|
||||
PROPERTY public val test7: kotlin.reflect.KProperty0<kotlin.Int>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test7: kotlin.reflect.KProperty0<kotlin.Int>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'qux: Int' type=kotlin.reflect.KProperty0<kotlin.Int> origin=null
|
||||
PROPERTY_REFERENCE 'qux: Int' field=null getter='<get-qux>(): Int' setter=null type=kotlin.reflect.KProperty0<kotlin.Int> origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test7>(): kotlin.reflect.KProperty0<kotlin.Int>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test7>(): KProperty0<Int>'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /safeAssignment.kt
|
||||
CLASS CLASS C
|
||||
$new: VALUE_PARAMETER <receiver: C>
|
||||
CONSTRUCTOR public constructor C(x: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /safeCallWithIncrementDecrement.kt
|
||||
CLASS CLASS C
|
||||
$new: VALUE_PARAMETER <receiver: C>
|
||||
CONSTRUCTOR public constructor C()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /safeCalls.kt
|
||||
CLASS CLASS Ref
|
||||
$new: VALUE_PARAMETER <receiver: Ref>
|
||||
CONSTRUCTOR public constructor Ref(value: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter value: kotlin.Int
|
||||
BLOCK_BODY
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /Derived.kt
|
||||
CLASS CLASS Derived
|
||||
$new: VALUE_PARAMETER <receiver: Derived>
|
||||
CONSTRUCTOR public constructor Derived()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
|
||||
@@ -5,6 +5,7 @@ FILE /tryCatch.kt
|
||||
try: BLOCK type=kotlin.Unit origin=null
|
||||
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
||||
CATCH parameter=e: Throwable
|
||||
VAR CATCH_PARAMETER val e: kotlin.Throwable
|
||||
BLOCK type=kotlin.Unit origin=null
|
||||
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
||||
finally: BLOCK type=kotlin.Unit origin=null
|
||||
@@ -17,6 +18,7 @@ FILE /tryCatch.kt
|
||||
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
CATCH parameter=e: Throwable
|
||||
VAR CATCH_PARAMETER val e: kotlin.Throwable
|
||||
BLOCK type=kotlin.Int origin=null
|
||||
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
||||
CONST Int type=kotlin.Int value='24'
|
||||
|
||||
@@ -14,5 +14,6 @@ FILE /tryCatchWithImplicitCast.kt
|
||||
TYPE_OP type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
|
||||
GET_VAR 'value-parameter a: Any' type=kotlin.Any origin=null
|
||||
CATCH parameter=e: Throwable
|
||||
VAR CATCH_PARAMETER val e: kotlin.Throwable
|
||||
BLOCK type=kotlin.String origin=null
|
||||
CONST String type=kotlin.String value=''
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /values.kt
|
||||
CLASS ENUM_CLASS Enum
|
||||
$new: VALUE_PARAMETER <receiver: Enum>
|
||||
CONSTRUCTOR private constructor Enum()
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
|
||||
@@ -22,6 +23,7 @@ FILE /values.kt
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Enum
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS OBJECT A
|
||||
$new: VALUE_PARAMETER <receiver: A>
|
||||
CONSTRUCTOR private constructor A()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -38,11 +40,13 @@ FILE /values.kt
|
||||
RETURN type=kotlin.Nothing from='<get-a>(): Int'
|
||||
GET_FIELD 'a: Int' type=kotlin.Int origin=null
|
||||
CLASS CLASS Z
|
||||
$new: VALUE_PARAMETER <receiver: Z>
|
||||
CONSTRUCTOR public constructor Z()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Z'
|
||||
CLASS OBJECT companion object of Z
|
||||
$new: VALUE_PARAMETER <receiver: companion object of Z>
|
||||
CONSTRUCTOR private constructor Companion()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
@@ -8,7 +8,7 @@ FILE /variableAsFunctionCall.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): String'
|
||||
GET_VAR '<receiver: k() on String: () -> String>' type=kotlin.String origin=null
|
||||
CALLABLE_REFERENCE '<anonymous>(): String' type=() -> kotlin.String origin=LAMBDA
|
||||
FUNCTION_REFERENCE '<anonymous>(): String' type=() -> kotlin.String origin=LAMBDA
|
||||
FUN public fun test1(f: () -> kotlin.Unit): kotlin.Unit
|
||||
VALUE_PARAMETER value-parameter f: () -> kotlin.Unit
|
||||
BLOCK_BODY
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /when.kt
|
||||
CLASS OBJECT A
|
||||
$new: VALUE_PARAMETER <receiver: A>
|
||||
CONSTRUCTOR private constructor A()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
Reference in New Issue
Block a user