Package-level declarations

Types

Link copied to clipboard
annotation class ExperimentalIrHelpers
Link copied to clipboard
abstract class IrFullProcessor(val context: IrPluginContext) : IrVisitorVoid, WithIrContext
Link copied to clipboard
abstract class IrFullTransformer(val context: IrPluginContext) : IrElementTransformerVoid, WithIrContext
Link copied to clipboard
abstract class IrFullTransformerWithContext(val context: IrPluginContext) : IrElementTransformerVoidWithContext, WithIrContext
Link copied to clipboard
interface WithIrContext

A type that provides a IrPluginContext - for use as a context parameter.

Functions

Link copied to clipboard
fun createLambda(context: IrPluginContext, parent: IrDeclarationParent? = null, functionType: IrType? = null, builder: IrSimpleFunction.() -> Unit): IrFunctionExpressionImpl

Create a lambda expression.

Link copied to clipboard
context(ctx: WithIrContext)
inline fun <R> IrSymbolOwner.withBuilder(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, block: DeclarationIrBuilder.() -> R): R
Link copied to clipboard
context(ctx: WithIrContext)
inline fun <R> withUnscopedBuilder(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, block: IrBuilder.() -> R): R