[Analysis API FIR] support generated temp properties

KTIJ-23492 (array index expression), KTIJ-23138 (inc/dec desugaring)
This commit is contained in:
Anna Kozlova
2022-11-07 11:39:23 +01:00
parent ee2e966c5c
commit 3590c4ea35
16 changed files with 123 additions and 6 deletions
@@ -163,6 +163,11 @@ sealed class KtFakeSourceElementKind : KtSourceElementKind() {
// list[0] -> list.get(0) where name reference will have a fake source element
object ArrayAccessNameReference : KtFakeSourceElementKind()
// a[b]++
// b -> val <index0> = b where b will have fake property
object ArrayIndexExpressionReference : KtFakeSourceElementKind()
// super.foo() --> super<Supertype>.foo()
// where `Supertype` has a fake source
object SuperCallImplicitType : KtFakeSourceElementKind()