IR: descriptor-less rendering of IR elements (work in progress)

This commit is contained in:
Dmitry Petrov
2019-03-18 14:15:50 +03:00
parent cd138bc022
commit 9a82f926a1
323 changed files with 19062 additions and 18959 deletions
+11 -11
View File
@@ -1,21 +1,21 @@
FILE fqName:<root> fileName:/defaultArguments.kt
FUN name:test1 visibility:public modality:FINAL <> (x:kotlin.Int, y:kotlin.Int, z:kotlin.String) returnType:kotlin.Unit flags:[]
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]
VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:[]
FUN name:test1 visibility:public modality:FINAL <> (x:kotlin.Int, y:kotlin.Int, z:kotlin.String) returnType:kotlin.Unit
VALUE_PARAMETER name:x index:0 type:kotlin.Int
VALUE_PARAMETER name:y index:1 type:kotlin.Int
EXPRESSION_BODY
CONST Int type=kotlin.Int value=0
VALUE_PARAMETER name:z index:2 type:kotlin.String flags:[]
VALUE_PARAMETER name:z index:2 type:kotlin.String
EXPRESSION_BODY
CONST String type=kotlin.String value="abc"
BLOCK_BODY
FUN name:local visibility:local modality:FINAL <> (xx:kotlin.Int, yy:kotlin.Int, zz:kotlin.String) returnType:kotlin.Unit flags:[]
VALUE_PARAMETER name:xx index:0 type:kotlin.Int flags:[]
FUN name:local visibility:local modality:FINAL <> (xx:kotlin.Int, yy:kotlin.Int, zz:kotlin.String) returnType:kotlin.Unit
VALUE_PARAMETER name:xx index:0 type:kotlin.Int
EXPRESSION_BODY
GET_VAR 'VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
VALUE_PARAMETER name:yy index:1 type:kotlin.Int flags:[]
GET_VAR 'x: kotlin.Int declared in <root>.test1' type=kotlin.Int origin=null
VALUE_PARAMETER name:yy index:1 type:kotlin.Int
EXPRESSION_BODY
GET_VAR 'VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
VALUE_PARAMETER name:zz index:2 type:kotlin.String flags:[]
GET_VAR 'y: kotlin.Int declared in <root>.test1' type=kotlin.Int origin=null
VALUE_PARAMETER name:zz index:2 type:kotlin.String
EXPRESSION_BODY
GET_VAR 'VALUE_PARAMETER name:z index:2 type:kotlin.String flags:[]' type=kotlin.String origin=null
GET_VAR 'z: kotlin.String declared in <root>.test1' type=kotlin.String origin=null
BLOCK_BODY