FIR IDE: move low level api testdata sources to the analysis directory

This commit is contained in:
Ilya Kirillov
2021-09-14 16:39:48 +02:00
parent 633b0fa612
commit 989f3248e4
371 changed files with 0 additions and 0 deletions
@@ -0,0 +1,6 @@
public annotation class Annotation(val name: String)
@Annotation(<expr>"y"</expr>)
fun x() {
}
@@ -0,0 +1,5 @@
KT element: KtValueArgument
FIR element: FirConstExpressionImpl
FIR element rendered:
String(y)
@@ -0,0 +1,8 @@
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtValueArgumentList
public annotation class Annotation(val name: String)
@Annotation<expr>("y")</expr>
fun x() {
}
@@ -0,0 +1,5 @@
KT element: KtValueArgumentList
FIR element: FirResolvedArgumentListImpl
FIR element rendered:
String(y)
@@ -0,0 +1,5 @@
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtConstructorCalleeExpression
@<expr>Suppress</expr>("")
fun x() {
}
@@ -0,0 +1,5 @@
KT element: KtConstructorCalleeExpression
FIR element: FirAnnotationCallImpl
FIR element rendered:
@R|kotlin/Suppress|(names = vararg(String()))
@@ -0,0 +1,4 @@
@Suppress("1", <expr>"2"</expr>)
fun x() {
}
@@ -0,0 +1,5 @@
KT element: KtValueArgument
FIR element: FirConstExpressionImpl
FIR element rendered:
String(2)
@@ -0,0 +1,5 @@
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtAnnotationEntry
<expr>@Suppress("")</expr>
fun x() {
}
@@ -0,0 +1,5 @@
KT element: KtAnnotationEntry
FIR element: FirAnnotationCallImpl
FIR element rendered:
@R|kotlin/Suppress|(names = vararg(String()))
@@ -0,0 +1,4 @@
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtAnnotationEntry
// WITH_STDLIB
<expr>@file:Suppress("")</expr>
@@ -0,0 +1,5 @@
KT element: KtAnnotationEntry
FIR element: FirAnnotationCallImpl
FIR element rendered:
@FILE:R|kotlin/Suppress|(names = vararg(String()))