FIR IDE: move low level api testdata sources to the analysis directory
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
class X< <expr>T</expr> >()
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtTypeParameter
|
||||
FIR element: FirTypeParameterImpl
|
||||
|
||||
FIR element rendered:
|
||||
T
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
enum class X {
|
||||
<expr>ENTRY</expr>
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtEnumEntry
|
||||
FIR element: FirEnumEntryImpl
|
||||
|
||||
FIR element rendered:
|
||||
public final static enum entry ENTRY: R|X|
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
fun x< <expr>T</expr> > foo(){}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtTypeParameter
|
||||
FIR element: FirTypeParameterImpl
|
||||
|
||||
FIR element rendered:
|
||||
T
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
fun foo(<expr>x: Int</expr>) {
|
||||
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtParameter
|
||||
FIR element: FirValueParameterImpl
|
||||
|
||||
FIR element rendered:
|
||||
x: R|kotlin/Int|
|
||||
@@ -0,0 +1,2 @@
|
||||
val x: String
|
||||
<expr>get() = ""</expr>
|
||||
@@ -0,0 +1,7 @@
|
||||
KT element: KtPropertyAccessor
|
||||
FIR element: FirPropertyAccessorImpl
|
||||
|
||||
FIR element rendered:
|
||||
public get(): R|kotlin/String| {
|
||||
^ String()
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
fun y() {
|
||||
<expr>
|
||||
class X {
|
||||
fun y(): String
|
||||
}
|
||||
</expr>
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
KT element: KtClass
|
||||
FIR element: FirRegularClassImpl
|
||||
|
||||
FIR element rendered:
|
||||
local final class X : R|kotlin/Any| {
|
||||
public constructor(): R|X| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final fun y(): R|kotlin/String|
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
fun y() {
|
||||
<expr>
|
||||
fun x(): String = ""
|
||||
</expr>
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
KT element: KtNamedFunction
|
||||
FIR element: FirSimpleFunctionImpl
|
||||
|
||||
FIR element rendered:
|
||||
local final fun x(): R|kotlin/String| {
|
||||
^x String()
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
fun y() {
|
||||
<expr>
|
||||
val x: String = ""
|
||||
</expr>
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtProperty
|
||||
FIR element: FirPropertyImpl
|
||||
|
||||
FIR element rendered:
|
||||
lval x: R|kotlin/String| = String()
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Y {
|
||||
<expr>
|
||||
fun x(): String = ""
|
||||
</expr>
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
KT element: KtNamedFunction
|
||||
FIR element: FirSimpleFunctionImpl
|
||||
|
||||
FIR element rendered:
|
||||
public final fun x(): R|kotlin/String| {
|
||||
^x String()
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Y {
|
||||
<expr>
|
||||
val x: String = ""
|
||||
</expr>
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
KT element: KtProperty
|
||||
FIR element: FirPropertyImpl
|
||||
|
||||
FIR element rendered:
|
||||
public final val x: R|kotlin/String| = String()
|
||||
public get(): R|kotlin/String|
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Y {
|
||||
<expr>
|
||||
typealias Str = String
|
||||
</expr>
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtTypeAlias
|
||||
FIR element: FirTypeAliasImpl
|
||||
|
||||
FIR element rendered:
|
||||
public final typealias Str = R|kotlin/String|
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
class Y {
|
||||
<expr>
|
||||
class X {
|
||||
fun y(): String
|
||||
}
|
||||
</expr>
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
KT element: KtClass
|
||||
FIR element: FirRegularClassImpl
|
||||
|
||||
FIR element rendered:
|
||||
public final class X : R|kotlin/Any| {
|
||||
public constructor(): R|Y.X| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final fun y(): R|kotlin/String|
|
||||
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
class X(<expr>val x: Int</expr>)
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtParameter
|
||||
FIR element: FirValueParameterImpl
|
||||
|
||||
FIR element rendered:
|
||||
x: R|kotlin/Int|
|
||||
+1
@@ -0,0 +1 @@
|
||||
class X(<expr>x: Int</expr>)
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtParameter
|
||||
FIR element: FirValueParameterImpl
|
||||
|
||||
FIR element rendered:
|
||||
x: R|kotlin/Int|
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class X(x: Int) {
|
||||
constructor(<expr>y: String</expr>): this(1)
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtParameter
|
||||
FIR element: FirValueParameterImpl
|
||||
|
||||
FIR element rendered:
|
||||
y: R|kotlin/String|
|
||||
@@ -0,0 +1,2 @@
|
||||
var x: String
|
||||
<expr>set(value) {}</expr>
|
||||
@@ -0,0 +1,6 @@
|
||||
KT element: KtPropertyAccessor
|
||||
FIR element: FirPropertyAccessorImpl
|
||||
|
||||
FIR element rendered:
|
||||
public set(value: R|kotlin/String|): R|kotlin/Unit| {
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<expr>
|
||||
class X {
|
||||
fun y(): String
|
||||
}
|
||||
</expr>
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
KT element: KtClass
|
||||
FIR element: FirRegularClassImpl
|
||||
|
||||
FIR element rendered:
|
||||
public final class X : R|kotlin/Any| {
|
||||
public constructor(): R|X| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final fun y(): R|kotlin/String|
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<expr>
|
||||
fun x() {
|
||||
fun y(): String
|
||||
}
|
||||
</expr>
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
KT element: KtNamedFunction
|
||||
FIR element: FirSimpleFunctionImpl
|
||||
|
||||
FIR element rendered:
|
||||
public final fun x(): R|kotlin/Unit| {
|
||||
local final fun y(): R|kotlin/String|
|
||||
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
<expr>
|
||||
val x = 1
|
||||
</expr>
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
KT element: KtProperty
|
||||
FIR element: FirPropertyImpl
|
||||
|
||||
FIR element rendered:
|
||||
public final val x: R|kotlin/Int| = Int(1)
|
||||
public get(): R|kotlin/Int|
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
<expr>
|
||||
typealias Str = String
|
||||
</expr>
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
KT element: KtTypeAlias
|
||||
FIR element: FirTypeAliasImpl
|
||||
|
||||
FIR element rendered:
|
||||
public final typealias Str = R|kotlin/String|
|
||||
Reference in New Issue
Block a user