FIR IDE: move low level api testdata sources to the analysis directory
This commit is contained in:
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
public annotation class Annotation(val name: String)
|
||||
|
||||
@Annotation(<expr>"y"</expr>)
|
||||
fun x() {
|
||||
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtValueArgument
|
||||
FIR element: FirConstExpressionImpl
|
||||
|
||||
FIR element rendered:
|
||||
String(y)
|
||||
Vendored
+8
@@ -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() {
|
||||
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtValueArgumentList
|
||||
FIR element: FirResolvedArgumentListImpl
|
||||
|
||||
FIR element rendered:
|
||||
String(y)
|
||||
analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/annotationApplicationCallExpression.kt
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtConstructorCalleeExpression
|
||||
@<expr>Suppress</expr>("")
|
||||
fun x() {
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtConstructorCalleeExpression
|
||||
FIR element: FirAnnotationCallImpl
|
||||
|
||||
FIR element rendered:
|
||||
@R|kotlin/Suppress|(names = vararg(String()))
|
||||
analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/annotationApplicationVarargArgument.kt
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
@Suppress("1", <expr>"2"</expr>)
|
||||
fun x() {
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtValueArgument
|
||||
FIR element: FirConstExpressionImpl
|
||||
|
||||
FIR element rendered:
|
||||
String(2)
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtAnnotationEntry
|
||||
<expr>@Suppress("")</expr>
|
||||
fun x() {
|
||||
|
||||
}
|
||||
analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/annotationApplicationWithArguments.txt
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtAnnotationEntry
|
||||
FIR element: FirAnnotationCallImpl
|
||||
|
||||
FIR element rendered:
|
||||
@R|kotlin/Suppress|(names = vararg(String()))
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtAnnotationEntry
|
||||
// WITH_STDLIB
|
||||
|
||||
<expr>@file:Suppress("")</expr>
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtAnnotationEntry
|
||||
FIR element: FirAnnotationCallImpl
|
||||
|
||||
FIR element rendered:
|
||||
@FILE:R|kotlin/Suppress|(names = vararg(String()))
|
||||
Reference in New Issue
Block a user