[FIR] FirRenderer: render name for scripts
A script name is important information, so it is better to render it. This also will fix the inconsistency with redundant space after 'SCRIPT:'.
This commit is contained in:
committed by
Space Team
parent
c6bb9af823
commit
12dc6b1ebc
+14
-15
@@ -1,7 +1,7 @@
|
||||
RAW_FIR:
|
||||
FILE: [ResolvedTo(RAW_FIR)] syntheticResultDeclaration.kts
|
||||
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
||||
SCRIPT: [ResolvedTo(RAW_FIR)]
|
||||
SCRIPT: [ResolvedTo(RAW_FIR)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
||||
@@ -13,7 +13,7 @@ FILE: [ResolvedTo(RAW_FIR)] syntheticResultDeclaration.kts
|
||||
IMPORTS:
|
||||
FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
||||
SCRIPT: [ResolvedTo(RAW_FIR)]
|
||||
SCRIPT: [ResolvedTo(RAW_FIR)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
||||
@@ -25,7 +25,7 @@ FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
COMPILER_REQUIRED_ANNOTATIONS:
|
||||
FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
||||
SCRIPT: [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)]
|
||||
SCRIPT: [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
||||
@@ -37,7 +37,7 @@ FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
COMPANION_GENERATION:
|
||||
FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
||||
SCRIPT: [ResolvedTo(COMPANION_GENERATION)]
|
||||
SCRIPT: [ResolvedTo(COMPANION_GENERATION)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
||||
@@ -49,7 +49,7 @@ FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
SUPER_TYPES:
|
||||
FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
||||
SCRIPT: [ResolvedTo(SUPER_TYPES)]
|
||||
SCRIPT: [ResolvedTo(SUPER_TYPES)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
||||
@@ -61,7 +61,7 @@ FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
TYPES:
|
||||
FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(TYPES)]
|
||||
SCRIPT: [ResolvedTo(TYPES)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
||||
@@ -73,7 +73,7 @@ FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
STATUS:
|
||||
FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(STATUS)]
|
||||
SCRIPT: [ResolvedTo(STATUS)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
||||
@@ -85,7 +85,7 @@ FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
EXPECT_ACTUAL_MATCHING:
|
||||
FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(EXPECT_ACTUAL_MATCHING)]
|
||||
SCRIPT: [ResolvedTo(EXPECT_ACTUAL_MATCHING)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
||||
@@ -97,7 +97,7 @@ FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
ARGUMENTS_OF_ANNOTATIONS:
|
||||
FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(ARGUMENTS_OF_ANNOTATIONS)]
|
||||
SCRIPT: [ResolvedTo(ARGUMENTS_OF_ANNOTATIONS)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
||||
@@ -109,7 +109,7 @@ FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
CONTRACTS:
|
||||
FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(CONTRACTS)]
|
||||
SCRIPT: [ResolvedTo(CONTRACTS)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
||||
@@ -121,7 +121,7 @@ FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
IMPLICIT_TYPES_BODY_RESOLVE:
|
||||
FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
@@ -135,7 +135,7 @@ FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
ANNOTATIONS_ARGUMENTS_MAPPING:
|
||||
FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(ANNOTATIONS_ARGUMENTS_MAPPING)]
|
||||
SCRIPT: [ResolvedTo(ANNOTATIONS_ARGUMENTS_MAPPING)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
@@ -149,7 +149,7 @@ FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
BODY_RESOLVE:
|
||||
FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
@@ -163,7 +163,7 @@ FILE: [ResolvedTo(IMPORTS)] syntheticResultDeclaration.kts
|
||||
FILE RAW TO BODY:
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] syntheticResultDeclaration.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-syntheticResultDeclaration.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
@@ -172,4 +172,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] syntheticResultDeclaration.kts
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val $$result: R|kotlin/Int| = R|/foo|()
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
|
||||
|
||||
Reference in New Issue
Block a user