[IR] Add a kDoc for IrRawFunctionReference

This commit is contained in:
Sergej Jaskiewicz
2023-11-28 16:15:31 +01:00
committed by Space Team
parent fea73ae64a
commit de502301ed
2 changed files with 13 additions and 8 deletions
@@ -12,7 +12,11 @@ import org.jetbrains.kotlin.ir.symbols.IrFunctionSymbol
import org.jetbrains.kotlin.ir.visitors.IrElementVisitor
/**
* A leaf IR tree element.
* Represents a platform-specific low-level reference to a function.
*
* On the JS platform it represents a plain reference to a JavaScript function.
*
* On the JVM platform it represents a [java.lang.invoke.MethodHandle] constant.
*
* Generated from: [org.jetbrains.kotlin.ir.generator.IrTree.rawFunctionReference]
*/
@@ -823,16 +823,17 @@ object IrTree : AbstractTreeBuilder() {
+symbol(enumEntrySymbolType, mutable = true)
}
/**
* Platform-specific low-level reference to function.
*
* On JS platform it represents a plain reference to JavaScript function.
* On JVM platform it represents a MethodHandle constant.
*/
val rawFunctionReference: Element by element(Expression) {
parent(declarationReference)
kDoc = """
Represents a platform-specific low-level reference to a function.
On the JS platform it represents a plain reference to a JavaScript function.
On the JVM platform it represents a [java.lang.invoke.MethodHandle] constant.
""".trimIndent()
+symbol(functionSymbolType, mutable = true)
}
val containerExpression: Element by element(Expression) {