[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:
committed by
Space Team
parent
e737320d01
commit
6fadc51856
+2
-2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user