Tower Data Context:
    Element 0
        Scope: FirDefaultStarImportingScope
    Element 1
        Scope: FirExplicitStarImportingScope
    Element 2
        Scope: FirExplicitStarImportingScope
    Element 3
        Scope: FirDefaultSimpleImportingScope
    Element 4
        Scope: FirDefaultSimpleImportingScope
    Element 5
        Scope: FirExplicitSimpleImportingScope
    Element 6
        Scope: FirPackageMemberScope
    Element 7
        Scope: FirExplicitSimpleImportingScope
    Element 8
        Implicit receiver:
            FirReceiverParameterSymbol <script receiver parameter>: R|kotlin/script/templates/standard/ScriptTemplateWithArgs|
                Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
    Element 9
        Scope: FirScriptDeclarationsScope
            Classifiers:
                FirRegularClassSymbol public final? class ScriptClass : R|kotlin/Any|
            Functions
                FirNamedFunctionSymbol public? final? fun foo(i: Int, action: ( (Int) -> Unit )): R|kotlin/Unit|
                FirNamedFunctionSymbol public final fun scriptFunction(): R|kotlin/Int|
                FirNamedFunctionSymbol public? final? fun unusedScriptFunction(p: String): <implicit>
            Properties:
                FirRegularPropertySymbol public final val $$result: <implicit>
                    public get(): <implicit>
    Element 10
        Scope: FirLocalScope
    Element 11
        Scope: FirLocalScope

FILE: [ResolvedTo(IMPORTS)] statement.kts
    SCRIPT: [ResolvedTo(RAW_FIR)] <script-statement.kts>
        [ResolvedTo(RAW_FIR)] <script receiver parameter>: R|kotlin/script/templates/standard/ScriptTemplateWithArgs|
        [ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|

        public final? [ResolvedTo(RAW_FIR)] class ScriptClass : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] constructor(): R|ScriptClass| {
                LAZY_super<R|kotlin/Any|>
            }

            public? final? [ResolvedTo(RAW_FIR)] val memberProperty: <implicit> = LAZY_EXPRESSION
                public? [ResolvedTo(RAW_FIR)] get(): <implicit>

        }

        public? final? [ResolvedTo(RAW_FIR)] fun scriptFunction(): <implicit> { LAZY_BLOCK }

        public? final? [ResolvedTo(RAW_FIR)] fun unusedScriptFunction([ResolvedTo(RAW_FIR)] p: String): <implicit> { LAZY_BLOCK }

        [ResolvedTo(BODY_RESOLVE)] init {
            R|/scriptFunction|()
        }

        public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] i: Int, [ResolvedTo(RAW_FIR)] action: ( (Int) -> Unit )): R|kotlin/Unit| { LAZY_BLOCK }

        public final [ResolvedTo(RAW_FIR)] val $$result: <implicit> = foo#(LAZY_EXPRESSION, LAZY_EXPRESSION)
            public [ResolvedTo(RAW_FIR)] get(): <implicit>