[IR] Autogenerate IrLocalDelegatedProperty
^KT-65773 In Progress
This commit is contained in:
committed by
Space Team
parent
87f5d3901c
commit
5aedc24f00
+14
-8
@@ -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.
|
* 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
|
package org.jetbrains.kotlin.ir.declarations.impl
|
||||||
|
|
||||||
import org.jetbrains.kotlin.descriptors.VariableDescriptorWithAccessors
|
import org.jetbrains.kotlin.descriptors.VariableDescriptorWithAccessors
|
||||||
@@ -18,18 +23,17 @@ class IrLocalDelegatedPropertyImpl @IrImplementationDetail constructor(
|
|||||||
override val startOffset: Int,
|
override val startOffset: Int,
|
||||||
override val endOffset: Int,
|
override val endOffset: Int,
|
||||||
override var origin: IrDeclarationOrigin,
|
override var origin: IrDeclarationOrigin,
|
||||||
override val symbol: IrLocalDelegatedPropertySymbol,
|
override val factory: IrFactory,
|
||||||
override var name: Name,
|
override var name: Name,
|
||||||
|
override val symbol: IrLocalDelegatedPropertySymbol,
|
||||||
override var type: IrType,
|
override var type: IrType,
|
||||||
override var isVar: Boolean,
|
override var isVar: Boolean,
|
||||||
override val factory: IrFactory,
|
|
||||||
) : IrLocalDelegatedProperty() {
|
) : IrLocalDelegatedProperty() {
|
||||||
init {
|
override var annotations: List<IrConstructorCall> = emptyList()
|
||||||
symbol.bind(this)
|
|
||||||
}
|
|
||||||
|
|
||||||
override lateinit var parent: IrDeclarationParent
|
override lateinit var parent: IrDeclarationParent
|
||||||
override var annotations: List<IrConstructorCall> = emptyList()
|
|
||||||
|
override var metadata: MetadataSource? = null
|
||||||
|
|
||||||
@ObsoleteDescriptorBasedAPI
|
@ObsoleteDescriptorBasedAPI
|
||||||
override val descriptor: VariableDescriptorWithAccessors
|
override val descriptor: VariableDescriptorWithAccessors
|
||||||
@@ -41,5 +45,7 @@ class IrLocalDelegatedPropertyImpl @IrImplementationDetail constructor(
|
|||||||
|
|
||||||
override var setter: IrSimpleFunction? = null
|
override var setter: IrSimpleFunction? = null
|
||||||
|
|
||||||
override var metadata: MetadataSource? = null
|
init {
|
||||||
|
symbol.bind(this)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -60,7 +60,8 @@ object ImplementationConfigurator : AbstractIrTreeImplementationConfigurator() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl(localDelegatedProperty) {
|
impl(localDelegatedProperty) {
|
||||||
implementation.doPrint = false
|
isLateinit("delegate", "getter")
|
||||||
|
defaultNull("setter")
|
||||||
}
|
}
|
||||||
|
|
||||||
impl(typeParameter) {
|
impl(typeParameter) {
|
||||||
|
|||||||
Reference in New Issue
Block a user