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

28 lines
1.4 KiB
Plaintext
Vendored

FILE /field.kt
PROPERTY public var testSimple: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public var testSimple: kotlin.Int
EXPRESSION_BODY
CONST Int type=kotlin.Int value='0'
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-testSimple>(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-testSimple>(): Int'
GET_FIELD 'testSimple: Int' type=kotlin.Int origin=null
FUN public fun <set-testSimple>(value: kotlin.Int): kotlin.Unit
BLOCK_BODY
SET_FIELD 'testSimple: Int' type=kotlin.Unit origin=EQ
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
PROPERTY public var testAugmented: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public var testAugmented: kotlin.Int
EXPRESSION_BODY
CONST Int type=kotlin.Int value='0'
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-testAugmented>(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-testAugmented>(): Int'
GET_FIELD 'testAugmented: Int' type=kotlin.Int origin=null
FUN public fun <set-testAugmented>(value: kotlin.Int): kotlin.Unit
BLOCK_BODY
SET_FIELD 'testAugmented: Int' type=kotlin.Unit origin=PLUSEQ
value: CALL 'plus(Int): Int' type=kotlin.Int origin=PLUSEQ
$this: GET_FIELD 'testAugmented: Int' type=kotlin.Int origin=PLUSEQ
other: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null