It is a temporary step to be able to implement granular scripts support ^KT-60728
26 lines
906 B
Plaintext
26 lines
906 B
Plaintext
KT element: KtParameter
|
|
FIR element: FirPropertyImpl
|
|
FIR source kind: KtRealSourceElementKind
|
|
|
|
FIR element rendered:
|
|
[ResolvedTo(RAW_FIR)] lval x: <implicit> = R|<local>/<iterator>|.next#()
|
|
|
|
FIR FILE:
|
|
FILE: [ResolvedTo(IMPORTS)] forExpressionVariableScript.kts
|
|
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
|
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
|
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
|
|
{
|
|
[ResolvedTo(RAW_FIR)] lval <iterator>: <implicit> = IntegerLiteral(0).rangeTo#(IntegerLiteral(1)).iterator#()
|
|
while(R|<local>/<iterator>|.hasNext#()) {
|
|
[ResolvedTo(RAW_FIR)] lval x: <implicit> = R|<local>/<iterator>|.next#()
|
|
{
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} |