[IR] Autogenerate IrLocalDelegatedProperty

^KT-65773 In Progress
This commit is contained in:
Wojciech Litewka
2024-02-16 12:44:26 +01:00
committed by Space Team
parent 87f5d3901c
commit 5aedc24f00
2 changed files with 16 additions and 9 deletions
@@ -1,8 +1,13 @@
/*
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
// This file was generated automatically. See compiler/ir/ir.tree/tree-generator/ReadMe.md.
// DO NOT MODIFY IT MANUALLY.
@file:Suppress("DuplicatedCode", "unused")
package org.jetbrains.kotlin.ir.declarations.impl
import org.jetbrains.kotlin.descriptors.VariableDescriptorWithAccessors
@@ -18,18 +23,17 @@ class IrLocalDelegatedPropertyImpl @IrImplementationDetail constructor(
override val startOffset: Int,
override val endOffset: Int,
override var origin: IrDeclarationOrigin,
override val symbol: IrLocalDelegatedPropertySymbol,
override val factory: IrFactory,
override var name: Name,
override val symbol: IrLocalDelegatedPropertySymbol,
override var type: IrType,
override var isVar: Boolean,
override val factory: IrFactory,
) : IrLocalDelegatedProperty() {
init {
symbol.bind(this)
}
override var annotations: List<IrConstructorCall> = emptyList()
override lateinit var parent: IrDeclarationParent
override var annotations: List<IrConstructorCall> = emptyList()
override var metadata: MetadataSource? = null
@ObsoleteDescriptorBasedAPI
override val descriptor: VariableDescriptorWithAccessors
@@ -41,5 +45,7 @@ class IrLocalDelegatedPropertyImpl @IrImplementationDetail constructor(
override var setter: IrSimpleFunction? = null
override var metadata: MetadataSource? = null
init {
symbol.bind(this)
}
}
@@ -60,7 +60,8 @@ object ImplementationConfigurator : AbstractIrTreeImplementationConfigurator() {
}
impl(localDelegatedProperty) {
implementation.doPrint = false
isLateinit("delegate", "getter")
defaultNull("setter")
}
impl(typeParameter) {