d5cfea330b
Script parameters now can be resolved independently of the script. But, as parameters are part of the script, their resolve will be called before the script. ^KT-66276 Fixed
50 lines
2.1 KiB
Plaintext
Vendored
50 lines
2.1 KiB
Plaintext
Vendored
KT element: KtNamedFunction
|
|
FIR element: FirSimpleFunctionImpl
|
|
FIR source kind: KtRealSourceElementKind
|
|
|
|
FIR element rendered:
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun build([ResolvedTo(BODY_RESOLVE)] action: R|Builder.() -> kotlin/Unit|): R|Builder| {
|
|
^build R|/Builder.Builder|().R|kotlin/apply|<R|Builder|>(R|<local>/action|)
|
|
}
|
|
|
|
FIR FILE:
|
|
FILE: [ResolvedTo(IMPORTS)] function.kts
|
|
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: [ResolvedTo(TYPES)] <script-function.kts>
|
|
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public open [ResolvedTo(STATUS)] class Builder : R|kotlin/Any| {
|
|
public [ResolvedTo(STATUS)] [ContainingClassKey=Builder] constructor(): R|Builder| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public final [ResolvedTo(STATUS)] var version: R|kotlin/String| = LAZY_EXPRESSION
|
|
public [ResolvedTo(STATUS)] [ContainingClassKey=Builder] get(): R|kotlin/String|
|
|
public [ResolvedTo(STATUS)] [ContainingClassKey=Builder] set([ResolvedTo(STATUS)] value: R|kotlin/String|): R|kotlin/Unit|
|
|
|
|
public final [ResolvedTo(STATUS)] fun execute(): R|kotlin/Unit| { LAZY_BLOCK }
|
|
|
|
public final? [ResolvedTo(RAW_FIR)] class NestedBuilder : Builder {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=NestedBuilder] constructor(): R|Builder.NestedBuilder| {
|
|
LAZY_super<Builder>
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun build([ResolvedTo(BODY_RESOLVE)] action: R|Builder.() -> kotlin/Unit|): R|Builder| {
|
|
^build R|/Builder.Builder|().R|kotlin/apply|<R|Builder|>(R|<local>/action|)
|
|
}
|
|
|
|
[ResolvedTo(RAW_FIR)] init { LAZY_BLOCK }
|
|
|
|
public? final? [ResolvedTo(RAW_FIR)] val builder: <implicit> = LAZY_EXPRESSION
|
|
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
|
|
|
|
[ResolvedTo(RAW_FIR)] init { LAZY_BLOCK }
|
|
|
|
[ResolvedTo(RAW_FIR)] init {
|
|
builder#.version# = String()
|
|
}
|