Resolve local declaration statuses & types inside bodies in FirBodyResolveTransformer

This commit is contained in:
Mikhail Glukhikh
2019-10-29 12:40:43 +03:00
parent 668a2a58be
commit 60e6d2e521
86 changed files with 857 additions and 276 deletions
@@ -75,7 +75,7 @@ object NodeConfigurator : AbstractFieldConfigurator() {
callableDeclaration.configure {
withArg("F", "FirCallableDeclaration<F>")
parentArg(symbolOwner, "E", "F")
+field("receiverTypeRef", typeRef, nullable = true)
+field("receiverTypeRef", typeRef, nullable = true).withTransform()
+symbol("FirCallableSymbol", "F")
}
@@ -104,7 +104,7 @@ object NodeConfigurator : AbstractFieldConfigurator() {
memberDeclaration.configure {
+typeParameters
+status
+status.withTransform()
}
expression.configure {
@@ -183,7 +183,7 @@ object NodeConfigurator : AbstractFieldConfigurator() {
}
functionCall.configure {
+typeArguments
+typeArguments.withTransform()
+field("calleeReference", namedReference)
}
@@ -296,7 +296,7 @@ object NodeConfigurator : AbstractFieldConfigurator() {
+symbol("FirPropertyAccessorSymbol")
+booleanField("isGetter")
+booleanField("isSetter")
+status
+status.withTransform()
+annotations
}