Files
kotlin-fork/compiler/testData/ir/sourceRanges/augmentedAssignmentWithExpression.txt
T
2018-12-07 10:51:55 +03:00

47 lines
3.3 KiB
Plaintext
Vendored

@0:0..23:0 FILE fqName:test fileName:/augmentedAssignmentWithExpression.kt
@2:0..8:1 CLASS CLASS name:Host modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
@2:0..8:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:test.Host flags:
@2:0..8:1 CONSTRUCTOR visibility:public <> () returnType:test.Host flags:primary
@2:0..8:1 BLOCK_BODY
@2:0..8:1 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@2:0..8:1 INSTANCE_INITIALIZER_CALL classDescriptor='Host'
@3:13..38 FUN name:plusAssign visibility:public modality:FINAL <> ($this:test.Host, x:kotlin.Int) returnType:kotlin.Unit flags:
@3:4..38 VALUE_PARAMETER name:<this> type:test.Host flags:
@3:28..34 VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
@3:36..38 BLOCK_BODY
@5:4..7:5 FUN name:test1 visibility:public modality:FINAL <> ($this:test.Host) returnType:kotlin.Unit flags:
@5:4..7:5 VALUE_PARAMETER name:<this> type:test.Host flags:
@5:16..7:5 BLOCK_BODY
@6:8..17 CALL 'plusAssign(Int): Unit' type=kotlin.Unit origin=PLUSEQ
@6:8..12 GET_VAR 'this@Host: Host' type=test.Host origin=PLUSEQ
@6:16..17 CONST Int type=kotlin.Int value=1
@2:0..8:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@2:0..8:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@2:0..8:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@2:0..8:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@2:0..8:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@2:0..8:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@2:0..8:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@10:0..18 FUN name:foo visibility:public modality:FINAL <> () returnType:test.Host flags:
@10:12..18 BLOCK_BODY
@10:12..18 RETURN type=kotlin.Nothing from='foo(): Host'
@10:12..18 CALL 'constructor Host()' type=test.Host origin=null
@12:0..14:1 FUN name:test2 visibility:public modality:FINAL <> ($receiver:test.Host) returnType:kotlin.Unit flags:
@12:4..8 VALUE_PARAMETER name:<this> type:test.Host flags:
@12:17..14:1 BLOCK_BODY
@13:4..13 CALL 'plusAssign(Int): Unit' type=kotlin.Unit origin=PLUSEQ
@13:4..8 GET_VAR 'this@test2: Host' type=test.Host origin=PLUSEQ
@13:12..13 CONST Int type=kotlin.Int value=1
@16:0..18:1 FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
@16:12..18:1 BLOCK_BODY
@17:4..14 CALL 'plusAssign(Int): Unit' type=kotlin.Unit origin=PLUSEQ
@17:4..9 CALL 'foo(): Host' type=test.Host origin=null
@17:13..14 CONST Int type=kotlin.Int value=1
@20:0..22:1 FUN name:test4 visibility:public modality:FINAL <> (a:kotlin.Function0<test.Host>) returnType:kotlin.Unit flags:
@20:10..23 VALUE_PARAMETER name:a index:0 type:kotlin.Function0<test.Host> flags:
@20:25..22:1 BLOCK_BODY
@21:4..12 CALL 'plusAssign(Int): Unit' type=kotlin.Unit origin=PLUSEQ
@21:4..7 CALL 'invoke(): R' type=test.Host origin=INVOKE
@21:4..5 GET_VAR 'value-parameter a: () -> Host' type=kotlin.Function0<test.Host> origin=VARIABLE_AS_FUNCTION
@21:11..12 CONST Int type=kotlin.Int value=1