Files
kotlin-fork/analysis/low-level-api-fir/testData/contextCollector/simple.txt
T
2023-09-22 10:48:31 +00:00

53 lines
1.8 KiB
Plaintext
Vendored

Tower Data Context:
Element 0
Scope: FirDefaultStarImportingScope
Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope
Element 3
Scope: FirDefaultSimpleImportingScope
Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope
Element 6
Scope: FirExplicitSimpleImportingScope
Element 7
Implicit receiver:
FirRegularClassSymbol public final class Foo : R|kotlin/Any|
Type: foo.Foo
Element 8
Scope: FirLocalScope
Properties:
FirValueParameterSymbol p: R|kotlin/String|
Element 9
Scope: FirLocalScope
Properties:
FirPropertySymbol lval x: R|kotlin/Float|
FILE: [ResolvedTo(IMPORTS)] simple.kt
public final [ResolvedTo(STATUS)] class Foo : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|foo/Foo| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] val a: R|kotlin/Int|
public [ResolvedTo(STATUS)] get(): R|kotlin/Int|
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] p: R|kotlin/String|): R|kotlin/Unit| {
[ResolvedTo(BODY_RESOLVE)] lval x: R|kotlin/Float| = Float(1.0)
<Unresolved name: print>#(R|<local>/x|)
}
}
public? final? [ResolvedTo(RAW_FIR)] class Unrelated : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|foo/Unrelated| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] val unrelatedMember: Boolean
public? [ResolvedTo(RAW_FIR)] get(): Boolean { LAZY_BLOCK }
}
public? final? [ResolvedTo(RAW_FIR)] fun unrelatedFunction(): Int { LAZY_BLOCK }