[LL API] Recognize scripts in Analysis API

Although the proper support for script resolution is yet to arrive
in K2, some initial steps are required to make LL API understand
such a concept.
This commit is contained in:
Yan Zhulanow
2023-01-26 02:15:29 +09:00
committed by Space Team
parent 603b46e531
commit f352f7d5ba
9 changed files with 60 additions and 28 deletions
@@ -475,6 +475,9 @@ object NodeConfigurator : AbstractFieldConfigurator<FirTreeBuilder>(FirTreeBuild
+name
+fieldList(statement).withTransform()
+symbol("FirScriptSymbol")
+field("containingFileSymbol", type("fir.symbols.impl", "FirFileSymbol"), argument = null).apply {
withBindThis = false
}
+FieldList("parameters", variable, withReplace = false)
+fieldList(contextReceiver, useMutableOrEmpty = true)
}