[IR] Add a kDoc for IrRawFunctionReference
This commit is contained in:
committed by
Space Team
parent
fea73ae64a
commit
de502301ed
+5
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user