Files
kotlin-fork/compiler/testData/ir/irText/declarations/interfaceProperties.txt
T
Svyatoslav Scherbina 7a2d761a7d Add minor improvements to psi2ir and IR utilities:
* Generate missing IR parameter declarations in external stubs
* Use origin = FAKE_OVERRIDE in external IR stubs for fake overrides
* Set .parent in external IR stubs
* Set .parent in IR generated by some utility methods
2018-03-02 15:41:48 +03:00

45 lines
3.1 KiB
Plaintext
Vendored

FILE fqName:<root> fileName:/interfaceProperties.kt
CLASS INTERFACE name:C modality:ABSTRACT visibility:public flags:
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:C flags:
superClasses:
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
PROPERTY name:test1 type:kotlin.Int visibility:public modality:ABSTRACT flags:val
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:ABSTRACT <> ($this:C) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:C flags:
PROPERTY name:test2 type:kotlin.Int visibility:public modality:OPEN flags:val
FUN name:<get-test2> visibility:public modality:OPEN <> ($this:C) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:C flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-test2>(): Int'
CONST Int type=kotlin.Int value=0
PROPERTY name:test3 type:kotlin.Int visibility:public modality:ABSTRACT flags:var
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:public modality:ABSTRACT <> ($this:C) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:C flags:
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-test3> visibility:public modality:ABSTRACT <> ($this:C, <set-?>:kotlin.Int) returnType:Unit flags:
$this: VALUE_PARAMETER name:<this> type:C flags:
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
PROPERTY name:test4 type:kotlin.Int visibility:public modality:OPEN flags:var
FUN name:<get-test4> visibility:public modality:OPEN <> ($this:C) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:C flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-test4>(): Int'
CONST Int type=kotlin.Int value=0
FUN name:<set-test4> visibility:public modality:OPEN <> ($this:C, value:kotlin.Int) returnType:Unit flags:
$this: VALUE_PARAMETER name:<this> type:C flags:
VALUE_PARAMETER name:value index:0 type:kotlin.Int flags:
BLOCK_BODY
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:Int flags:
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:String flags:
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:String flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags: