25 lines
1.5 KiB
Plaintext
Vendored
25 lines
1.5 KiB
Plaintext
Vendored
FILE fqName:<root> fileName:/ifElseIf.kt
|
|
FUN name:test visibility:public modality:FINAL <> (i:kotlin.Int) returnType:kotlin.Int
|
|
VALUE_PARAMETER name:i index:0 type:kotlin.Int
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='public final fun test (i: kotlin.Int): kotlin.Int declared in <root>'
|
|
WHEN type=kotlin.Int origin=IF
|
|
BRANCH
|
|
if: CALL 'public final fun greater (arg0: kotlin.Int, arg1: kotlin.Int): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=GT
|
|
arg0: GET_VAR 'i: kotlin.Int declared in <root>.test' type=kotlin.Int origin=null
|
|
arg1: CONST Int type=kotlin.Int value=0
|
|
then: CONST Int type=kotlin.Int value=1
|
|
BRANCH
|
|
if: CONST Boolean type=kotlin.Boolean value=true
|
|
then: WHEN type=kotlin.Int origin=IF
|
|
BRANCH
|
|
if: CALL 'public final fun less (arg0: kotlin.Int, arg1: kotlin.Int): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=LT
|
|
arg0: GET_VAR 'i: kotlin.Int declared in <root>.test' type=kotlin.Int origin=null
|
|
arg1: CONST Int type=kotlin.Int value=0
|
|
then: CALL 'public final fun unaryMinus (): kotlin.Int declared in kotlin.Int' type=kotlin.Int origin=null
|
|
$this: CONST Int type=kotlin.Int value=1
|
|
BRANCH
|
|
if: CONST Boolean type=kotlin.Boolean value=true
|
|
then: CONST Int type=kotlin.Int value=0
|
|
|