[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:
Dmitrii Gridin
2023-09-18 16:46:59 +02:00
committed by Space Team
parent c6bb9af823
commit 12dc6b1ebc
291 changed files with 2096 additions and 2226 deletions
+14 -14
View File
@@ -1,7 +1,7 @@
RAW_FIR:
FILE: [ResolvedTo(RAW_FIR)] script3.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)]
SCRIPT: [ResolvedTo(RAW_FIR)] <script-script3.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class UnusedClass : R|kotlin/Any| {
@@ -35,7 +35,7 @@ FILE: [ResolvedTo(RAW_FIR)] script3.kts
IMPORTS:
FILE: [ResolvedTo(IMPORTS)] script3.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)]
SCRIPT: [ResolvedTo(RAW_FIR)] <script-script3.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class UnusedClass : R|kotlin/Any| {
@@ -69,7 +69,7 @@ FILE: [ResolvedTo(IMPORTS)] script3.kts
COMPILER_REQUIRED_ANNOTATIONS:
FILE: [ResolvedTo(IMPORTS)] script3.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)]
SCRIPT: [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] <script-script3.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class UnusedClass : R|kotlin/Any| {
@@ -103,7 +103,7 @@ FILE: [ResolvedTo(IMPORTS)] script3.kts
COMPANION_GENERATION:
FILE: [ResolvedTo(IMPORTS)] script3.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(COMPANION_GENERATION)]
SCRIPT: [ResolvedTo(COMPANION_GENERATION)] <script-script3.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class UnusedClass : R|kotlin/Any| {
@@ -137,7 +137,7 @@ FILE: [ResolvedTo(IMPORTS)] script3.kts
SUPER_TYPES:
FILE: [ResolvedTo(IMPORTS)] script3.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(SUPER_TYPES)]
SCRIPT: [ResolvedTo(SUPER_TYPES)] <script-script3.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class UnusedClass : R|kotlin/Any| {
@@ -171,7 +171,7 @@ FILE: [ResolvedTo(IMPORTS)] script3.kts
TYPES:
FILE: [ResolvedTo(IMPORTS)] script3.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)]
SCRIPT: [ResolvedTo(TYPES)] <script-script3.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class UnusedClass : R|kotlin/Any| {
@@ -205,7 +205,7 @@ FILE: [ResolvedTo(IMPORTS)] script3.kts
STATUS:
FILE: [ResolvedTo(IMPORTS)] script3.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(STATUS)]
SCRIPT: [ResolvedTo(STATUS)] <script-script3.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class UnusedClass : R|kotlin/Any| {
@@ -239,7 +239,7 @@ FILE: [ResolvedTo(IMPORTS)] script3.kts
EXPECT_ACTUAL_MATCHING:
FILE: [ResolvedTo(IMPORTS)] script3.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(EXPECT_ACTUAL_MATCHING)]
SCRIPT: [ResolvedTo(EXPECT_ACTUAL_MATCHING)] <script-script3.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class UnusedClass : R|kotlin/Any| {
@@ -273,7 +273,7 @@ FILE: [ResolvedTo(IMPORTS)] script3.kts
ARGUMENTS_OF_ANNOTATIONS:
FILE: [ResolvedTo(IMPORTS)] script3.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(ARGUMENTS_OF_ANNOTATIONS)]
SCRIPT: [ResolvedTo(ARGUMENTS_OF_ANNOTATIONS)] <script-script3.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class UnusedClass : R|kotlin/Any| {
@@ -307,7 +307,7 @@ FILE: [ResolvedTo(IMPORTS)] script3.kts
CONTRACTS:
FILE: [ResolvedTo(IMPORTS)] script3.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(CONTRACTS)]
SCRIPT: [ResolvedTo(CONTRACTS)] <script-script3.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class UnusedClass : R|kotlin/Any| {
@@ -341,7 +341,7 @@ FILE: [ResolvedTo(IMPORTS)] script3.kts
IMPLICIT_TYPES_BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] script3.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)]
SCRIPT: [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] <script-script3.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class UnusedClass : R|kotlin/Any| {
@@ -375,7 +375,7 @@ FILE: [ResolvedTo(IMPORTS)] script3.kts
ANNOTATIONS_ARGUMENTS_MAPPING:
FILE: [ResolvedTo(IMPORTS)] script3.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(ANNOTATIONS_ARGUMENTS_MAPPING)]
SCRIPT: [ResolvedTo(ANNOTATIONS_ARGUMENTS_MAPPING)] <script-script3.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class UnusedClass : R|kotlin/Any| {
@@ -409,7 +409,7 @@ FILE: [ResolvedTo(IMPORTS)] script3.kts
BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] script3.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-script3.kts>
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class UnusedClass : R|kotlin/Any| {
@@ -456,7 +456,7 @@ FILE: [ResolvedTo(IMPORTS)] script3.kts
FILE RAW TO BODY:
FILE: [ResolvedTo(BODY_RESOLVE)] script3.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-script3.kts>
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(BODY_RESOLVE)] class UnusedClass : R|kotlin/Any| {