Files
kotlin-fork/compiler/testData/ir/irText/declarations/parameters/defaultPropertyAccessors.txt
T
2017-05-04 09:33:03 +03:00

109 lines
6.1 KiB
Plaintext
Vendored

FILE /defaultPropertyAccessors.kt
PROPERTY public val test1: kotlin.Int = 42
FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.Int = 42
EXPRESSION_BODY
CONST Int type=kotlin.Int value='42'
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-test1>(): Int'
GET_FIELD 'test1: Int' type=kotlin.Int origin=null
PROPERTY public var test2: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public var test2: kotlin.Int
EXPRESSION_BODY
CONST Int type=kotlin.Int value='42'
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-test2>(): Int'
GET_FIELD 'test2: Int' type=kotlin.Int origin=null
FUN DEFAULT_PROPERTY_ACCESSOR public fun <set-test2>(<set-?>: kotlin.Int): kotlin.Unit
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
BLOCK_BODY
SET_FIELD 'test2: Int' type=kotlin.Unit origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
CLASS CLASS Host
$this: VALUE_PARAMETER this@Host: Host
CONSTRUCTOR public constructor Host()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Host'
PROPERTY public final val testMember1: kotlin.Int = 42
FIELD PROPERTY_BACKING_FIELD public final val testMember1: kotlin.Int = 42
EXPRESSION_BODY
CONST Int type=kotlin.Int value='42'
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-testMember1>(): kotlin.Int
$this: VALUE_PARAMETER this@Host: Host
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-testMember1>(): Int'
GET_FIELD 'testMember1: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@Host: Host' type=Host origin=null
PROPERTY public final var testMember2: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final var testMember2: kotlin.Int
EXPRESSION_BODY
CONST Int type=kotlin.Int value='42'
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-testMember2>(): kotlin.Int
$this: VALUE_PARAMETER this@Host: Host
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-testMember2>(): Int'
GET_FIELD 'testMember2: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@Host: Host' type=Host origin=null
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-testMember2>(<set-?>: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER this@Host: Host
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
BLOCK_BODY
SET_FIELD 'testMember2: Int' type=kotlin.Unit origin=null
receiver: GET_VAR 'this@Host: Host' type=Host 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
$this: VALUE_PARAMETER this@Any: Any
VALUE_PARAMETER value-parameter other: kotlin.Any?
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
$this: VALUE_PARAMETER this@Any: Any
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
$this: VALUE_PARAMETER this@Any: Any
CLASS CLASS InPrimaryCtor
$this: VALUE_PARAMETER this@InPrimaryCtor: InPrimaryCtor<T>
TYPE_PARAMETER <T>
CONSTRUCTOR public constructor InPrimaryCtor<T>(testInPrimaryCtor1: T, testInPrimaryCtor2: kotlin.Int = ...)
VALUE_PARAMETER value-parameter testInPrimaryCtor1: T
VALUE_PARAMETER value-parameter testInPrimaryCtor2: kotlin.Int = ...
EXPRESSION_BODY
CONST Int type=kotlin.Int value='42'
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='InPrimaryCtor'
PROPERTY public final val testInPrimaryCtor1: T
FIELD PROPERTY_BACKING_FIELD public final val testInPrimaryCtor1: T
EXPRESSION_BODY
GET_VAR 'value-parameter testInPrimaryCtor1: T' type=T origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-testInPrimaryCtor1>(): T
$this: VALUE_PARAMETER this@InPrimaryCtor: InPrimaryCtor<T>
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-testInPrimaryCtor1>(): T'
GET_FIELD 'testInPrimaryCtor1: T' type=T origin=null
receiver: GET_VAR 'this@InPrimaryCtor: InPrimaryCtor<T>' type=InPrimaryCtor<T> origin=null
PROPERTY public final var testInPrimaryCtor2: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final var testInPrimaryCtor2: kotlin.Int
EXPRESSION_BODY
GET_VAR 'value-parameter testInPrimaryCtor2: Int = ...' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-testInPrimaryCtor2>(): kotlin.Int
$this: VALUE_PARAMETER this@InPrimaryCtor: InPrimaryCtor<T>
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-testInPrimaryCtor2>(): Int'
GET_FIELD 'testInPrimaryCtor2: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@InPrimaryCtor: InPrimaryCtor<T>' type=InPrimaryCtor<T> origin=null
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-testInPrimaryCtor2>(<set-?>: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER this@InPrimaryCtor: InPrimaryCtor<T>
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
BLOCK_BODY
SET_FIELD 'testInPrimaryCtor2: Int' type=kotlin.Unit origin=null
receiver: GET_VAR 'this@InPrimaryCtor: InPrimaryCtor<T>' type=InPrimaryCtor<T> 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
$this: VALUE_PARAMETER this@Any: Any
VALUE_PARAMETER value-parameter other: kotlin.Any?
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
$this: VALUE_PARAMETER this@Any: Any
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
$this: VALUE_PARAMETER this@Any: Any