Detailed "operator" convention information (for JS).

This commit is contained in:
Dmitry Petrov
2016-08-18 17:53:04 +03:00
committed by Dmitry Petrov
parent 4a62a6b7c3
commit 64d630faa3
42 changed files with 529 additions and 421 deletions
+20 -20
View File
@@ -2,57 +2,57 @@ IrFile /augmentedAssignment2.kt
DUMMY A
IrFunction public operator fun A.plusAssign(/*0*/ s: kotlin.String): kotlin.Unit
IrExpressionBody
BLOCK type=<no-type> hasResult=false isDesugared=false
BLOCK type=<no-type> hasResult=false operator=null
IrFunction public operator fun A.minusAssign(/*0*/ s: kotlin.String): kotlin.Unit
IrExpressionBody
BLOCK type=<no-type> hasResult=false isDesugared=false
BLOCK type=<no-type> hasResult=false operator=null
IrFunction public operator fun A.timesAssign(/*0*/ s: kotlin.String): kotlin.Unit
IrExpressionBody
BLOCK type=<no-type> hasResult=false isDesugared=false
BLOCK type=<no-type> hasResult=false operator=null
IrFunction public operator fun A.divAssign(/*0*/ s: kotlin.String): kotlin.Unit
IrExpressionBody
BLOCK type=<no-type> hasResult=false isDesugared=false
BLOCK type=<no-type> hasResult=false operator=null
IrFunction public operator fun A.modAssign(/*0*/ s: kotlin.String): kotlin.Unit
IrExpressionBody
BLOCK type=<no-type> hasResult=false isDesugared=false
BLOCK type=<no-type> hasResult=false operator=null
IrProperty public val p: A getter=null setter=null
IrExpressionBody
CALL .<init> type=A operator=
CALL .<init> type=A operator=null
IrFunction public fun testVariable(): kotlin.Unit
IrExpressionBody
BLOCK type=<no-type> hasResult=false isDesugared=false
BLOCK type=<no-type> hasResult=false operator=null
VAR val a: A
CALL .<init> type=A operator=
CALL .<init> type=A operator=null
CALL .plusAssign type=kotlin.Unit operator=PLUSEQ
$receiver: GET_VAR a type=A
$receiver: GET_VAR a type=A operator=PLUSEQ
s: LITERAL String type=kotlin.String value='+='
CALL .minusAssign type=kotlin.Unit operator=MINUSEQ
$receiver: GET_VAR a type=A
$receiver: GET_VAR a type=A operator=MINUSEQ
s: LITERAL String type=kotlin.String value='-='
CALL .timesAssign type=kotlin.Unit operator=MULTEQ
$receiver: GET_VAR a type=A
$receiver: GET_VAR a type=A operator=MULTEQ
s: LITERAL String type=kotlin.String value='*='
CALL .divAssign type=kotlin.Unit operator=DIVEQ
$receiver: GET_VAR a type=A
$receiver: GET_VAR a type=A operator=DIVEQ
s: LITERAL String type=kotlin.String value='/='
CALL .modAssign type=kotlin.Unit operator=PERCEQ
$receiver: GET_VAR a type=A
$receiver: GET_VAR a type=A operator=PERCEQ
s: LITERAL String type=kotlin.String value='*='
IrFunction public fun testProperty(): kotlin.Unit
IrExpressionBody
BLOCK type=<no-type> hasResult=false isDesugared=false
BLOCK type=<no-type> hasResult=false operator=null
CALL .plusAssign type=kotlin.Unit operator=PLUSEQ
$receiver: GET_PROPERTY .p type=A
$receiver: GET_PROPERTY .p type=A operator=PLUSEQ
s: LITERAL String type=kotlin.String value='+='
CALL .minusAssign type=kotlin.Unit operator=MINUSEQ
$receiver: GET_PROPERTY .p type=A
$receiver: GET_PROPERTY .p type=A operator=MINUSEQ
s: LITERAL String type=kotlin.String value='-='
CALL .timesAssign type=kotlin.Unit operator=MULTEQ
$receiver: GET_PROPERTY .p type=A
$receiver: GET_PROPERTY .p type=A operator=MULTEQ
s: LITERAL String type=kotlin.String value='*='
CALL .divAssign type=kotlin.Unit operator=DIVEQ
$receiver: GET_PROPERTY .p type=A
$receiver: GET_PROPERTY .p type=A operator=DIVEQ
s: LITERAL String type=kotlin.String value='/='
CALL .modAssign type=kotlin.Unit operator=PERCEQ
$receiver: GET_PROPERTY .p type=A
s: LITERAL String type=kotlin.String value='*='
$receiver: GET_PROPERTY .p type=A operator=PERCEQ
s: LITERAL String type=kotlin.String value='%='