[tree generator] Minor: pass model inside ImplementationConfigurator

Needed for config across many elements in subsequent commits.

^KT-65773 In Progress
This commit is contained in:
Wojciech Litewka
2024-02-15 18:37:55 +01:00
committed by Space Team
parent e737320d01
commit 6fadc51856
5 changed files with 14 additions and 11 deletions
@@ -9,11 +9,11 @@ import org.jetbrains.kotlin.sir.tree.generator.config.AbstractSwiftIrTreeImpleme
object ImplementationConfigurator : AbstractSwiftIrTreeImplementationConfigurator() {
override fun configure() = with(SwiftIrTree) {
override fun configure(model: Model) = with(SwiftIrTree) {
// Declare custom implementation classes, see org.jetbrains.kotlin.fir.tree.generator.ImplementationConfigurator
}
override fun configureAllImplementations() {
override fun configureAllImplementations(model: Model) {
// Use configureFieldInAllImplementations to customize certain fields in all implementation classes
configureFieldInAllImplementations(
field = "parent",