[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:
+3
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user