[LL FIR] rename testdata to testData to avoid copyright generation
We exclude testData pattern from copyright scope
This commit is contained in:
committed by
Space Team
parent
aef5290210
commit
33e6a85a2d
+11
@@ -0,0 +1,11 @@
|
||||
class A {
|
||||
class B {
|
||||
class C {
|
||||
val x = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun x() {
|
||||
<expr>A</expr>.B.C().x
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirResolvedQualifierImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
Q|A.B|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] firstPartOfQualifiedCallWithNestedClasses.kt
|
||||
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor(): R|A| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=B] constructor(): R|A.B| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] class C : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=C] constructor(): R|A.B.C| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] val x: R|kotlin/Int| = Int(10)
|
||||
public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=C] get(): R|kotlin/Int|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
|
||||
Q|A.B|.R|/A.B.C.C|().R|/A.B.C.x|
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
class A {
|
||||
class B {
|
||||
class C {
|
||||
val x = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun x() {
|
||||
<expr>A</expr>.B.C().x
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirResolvedQualifierImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
Q|A.B|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] firstPartOfQualifiedCallWithNestedClassesScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(TYPES)]
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor(): R|A| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=B] constructor(): R|A.B| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] class C : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=C] constructor(): R|A.B.C| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] val x: R|kotlin/Int| = Int(10)
|
||||
public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=C] get(): R|kotlin/Int|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
|
||||
Q|A.B|.R|/A.B.C.C|().R|/A.B.C.x|
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
class A {
|
||||
class B {
|
||||
class C {
|
||||
val x = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun x() {
|
||||
A.B.<expr>C()</expr>.x
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
KT element: KtCallExpression
|
||||
FIR element: FirFunctionCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
Q|A.B|.R|/A.B.C.C|()
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] lastPartOfQualifiedCallWithNestedClasses.kt
|
||||
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor(): R|A| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=B] constructor(): R|A.B| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] class C : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=C] constructor(): R|A.B.C| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] val x: R|kotlin/Int| = Int(10)
|
||||
public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=C] get(): R|kotlin/Int|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
|
||||
Q|A.B|.R|/A.B.C.C|().R|/A.B.C.x|
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
class A {
|
||||
class B {
|
||||
class C {
|
||||
val x = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun x() {
|
||||
A.<expr>B</expr>.C().x
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirResolvedQualifierImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
Q|A.B|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] middlePartOfQualifiedCallWithNestedClasses.kt
|
||||
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor(): R|A| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=B] constructor(): R|A.B| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] class C : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=C] constructor(): R|A.B.C| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] val x: R|kotlin/Int| = Int(10)
|
||||
public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=C] get(): R|kotlin/Int|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
|
||||
Q|A.B|.R|/A.B.C.C|().R|/A.B.C.x|
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class FF {
|
||||
fun handleLeftBracketInFragment() {
|
||||
<expr>peek()</expr>.braceBalance++
|
||||
}
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
KT element: KtCallExpression
|
||||
FIR element: FirFunctionCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
<Unresolved name: peek>#()
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] qualifiedPartOfQualifiedCallUnresolved.kt
|
||||
public final [ResolvedTo(STATUS)] class FF : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=FF] constructor(): R|FF| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun handleLeftBracketInFragment(): R|kotlin/Unit| {
|
||||
{
|
||||
[ResolvedTo(BODY_RESOLVE)] lval <receiver>: R|ERROR CLASS: Unresolved name: peek| = <Unresolved name: peek>#()
|
||||
[ResolvedTo(BODY_RESOLVE)] lval <unary>: <ERROR TYPE REF: Unresolved name: braceBalance> = R|<local>/<receiver>|.<Unresolved name: braceBalance>#
|
||||
R|<local>/<receiver>|.<Unresolved name: braceBalance># = R|<local>/<unary>|.<Unresolved name: inc (++)>#()
|
||||
R|<local>/<unary>|
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class FF {
|
||||
fun handleLeftBracketInFragment() {
|
||||
<expr>peek()</expr>.braceBalance++
|
||||
}
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
KT element: KtCallExpression
|
||||
FIR element: FirFunctionCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
<Unresolved name: peek>#()
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] qualifiedPartOfQualifiedCallUnresolvedScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(TYPES)]
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(STATUS)] class FF : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=FF] constructor(): R|FF| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun handleLeftBracketInFragment(): R|kotlin/Unit| {
|
||||
{
|
||||
[ResolvedTo(BODY_RESOLVE)] lval <receiver>: R|ERROR CLASS: Unresolved name: peek| = <Unresolved name: peek>#()
|
||||
[ResolvedTo(BODY_RESOLVE)] lval <unary>: <ERROR TYPE REF: Unresolved name: braceBalance> = R|<local>/<receiver>|.<Unresolved name: braceBalance>#
|
||||
R|<local>/<receiver>|.<Unresolved name: braceBalance># = R|<local>/<unary>|.<Unresolved name: inc (++)>#()
|
||||
R|<local>/<unary>|
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
class A {
|
||||
class B {
|
||||
class C {
|
||||
val x = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun x() {
|
||||
<expr>A.B</expr>.C().x
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
KT element: KtDotQualifiedExpression
|
||||
FIR element: FirResolvedQualifierImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
Q|A.B|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] qualifiedPartOfQualifiedCallWithNestedClasses.kt
|
||||
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor(): R|A| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=B] constructor(): R|A.B| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] class C : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=C] constructor(): R|A.B.C| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] val x: R|kotlin/Int| = Int(10)
|
||||
public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=C] get(): R|kotlin/Int|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
|
||||
Q|A.B|.R|/A.B.C.C|().R|/A.B.C.x|
|
||||
}
|
||||
Reference in New Issue
Block a user