[LL API] Add in-body modification tests for code fragments

This commit is contained in:
Yan Zhulanow
2023-08-04 02:26:23 +09:00
committed by Space Team
parent 75868d5f52
commit 4fbbe9f274
18 changed files with 222 additions and 53 deletions
@@ -202,6 +202,11 @@ class FirRenderer(
printer.popIndent()
}
override fun visitCodeFragment(codeFragment: FirCodeFragment) {
printer.print("CODE FRAGMENT:")
bodyRenderer?.renderBody(codeFragment.block)
}
override fun visitFileAnnotationsContainer(fileAnnotationsContainer: FirFileAnnotationsContainer) {
if (fileAnnotationsContainerRenderer != null) {
fileAnnotationsContainerRenderer.render(fileAnnotationsContainer)