Character literals and string templates.
This commit is contained in:
committed by
Dmitry Petrov
parent
f83237498f
commit
86a52e6426
@@ -0,0 +1,33 @@
|
||||
FILE /stringTemplates.kt
|
||||
FUN public fun foo(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=foo
|
||||
CONST String type=kotlin.String value=''
|
||||
PROPERTY public val test1: kotlin.String = "" getter=null setter=null
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value=''
|
||||
PROPERTY public val test2: kotlin.String = "abc" getter=null setter=null
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value='abc'
|
||||
PROPERTY public val test3: kotlin.String = "" getter=null setter=null
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value=''
|
||||
PROPERTY public val test4: kotlin.String = "abc" getter=null setter=null
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value='abc'
|
||||
PROPERTY public val test5: kotlin.String = "
|
||||
abc
|
||||
" getter=null setter=null
|
||||
EXPRESSION_BODY
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
CONST String type=kotlin.String value='
|
||||
'
|
||||
CONST String type=kotlin.String value='abc'
|
||||
CONST String type=kotlin.String value='
|
||||
'
|
||||
PROPERTY public val test6: kotlin.String getter=null setter=null
|
||||
EXPRESSION_BODY
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
CALL .<get-test1> type=kotlin.String operator=GET_PROPERTY
|
||||
CONST String type=kotlin.String value=' '
|
||||
CALL .foo type=kotlin.String operator=null
|
||||
Reference in New Issue
Block a user