Package-level declarations
Types
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun IrPluginContext.createDefaultPropertyAccessor(name: String, builder: IrFunctionBuilder.() -> Unit = {}, function: IrSimpleFunction.() -> Unit = {}): IrSimpleFunction
Link copied to clipboard
inline fun IrPluginContext.createExpressionBody(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, expression: IrExpression): IrExpressionBody
Link copied to clipboard
inline fun IrPluginContext.createGetterIrSimpleFunction(name: Name, builder: IrFunctionBuilder.() -> Unit = {}, function: IrSimpleFunction.() -> Unit = {}): IrSimpleFunction
Link copied to clipboard
inline fun IrPluginContext.createIrBlockBody(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET): IrBlockBody
inline fun IrPluginContext.createIrBlockBody(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, initializer: IrBlockBody.() -> Unit): IrBlockBody
inline fun IrPluginContext.createIrBlockBody(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, statements: List<IrStatement>): IrBlockBody
Link copied to clipboard
inline fun IrPluginContext.createIrField(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, origin: IrDeclarationOrigin = IrDeclarationOrigin.DEFINED, name: Name, visibility: DescriptorVisibility = DescriptorVisibilities.LOCAL, symbol: IrFieldSymbol = IrFieldSymbolImpl(), type: IrType, isFinal: Boolean = true, isStatic: Boolean = false, isExternal: Boolean = false, block: IrField.() -> Unit = {}): IrField
Link copied to clipboard
inline fun createIrFunctionExpression(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, type: IrType, function: IrSimpleFunction, origin: IrStatementOrigin): IrFunctionExpression
Link copied to clipboard
inline fun createIrGetValue(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, type: IrType, symbol: IrValueSymbol, origin: IrStatementOrigin? = null, block: IrGetValueImpl.() -> Unit = {}): IrGetValue
Link copied to clipboard
inline fun createIrReturn(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, type: IrType, returnTargetSymbol: IrReturnTargetSymbol, value: IrExpression, block: IrReturnImpl.() -> Unit = {}): IrReturn
Link copied to clipboard
inline fun createIrVariable(name: Name, type: IrType, parent: IrDeclarationParent? = null, startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, origin: IrDeclarationOrigin = IrDeclarationOrigin.DEFINED, isVar: Boolean = false, isConst: Boolean = false, isLateinit: Boolean = false, block: IrVariableImpl.() -> Unit = {}): IrVariable
Link copied to clipboard
inline fun IrType.createIrVariable(name: Name, parent: IrDeclarationParent? = null, startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, origin: IrDeclarationOrigin = IrDeclarationOrigin.DEFINED, isVar: Boolean = false, isConst: Boolean = false, isLateinit: Boolean = false, block: IrVariableImpl.() -> Unit = {}): IrVariable
Link copied to clipboard
inline fun IrPluginContext.createLambdaIrSimpleFunction(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, origin: IrDeclarationOrigin = IrDeclarationOrigin.LOCAL_FUNCTION_FOR_LAMBDA, name: Name = SpecialNames.ANONYMOUS, visibility: DescriptorVisibility = DescriptorVisibilities.LOCAL, isInline: Boolean = false, isExpect: Boolean = false, returnType: IrType = irBuiltIns.nothingType, modality: Modality = Modality.FINAL, symbol: IrSimpleFunctionSymbol = IrSimpleFunctionSymbolImpl(), isTailrec: Boolean = false, isSuspend: Boolean = false, isOperator: Boolean = false, isInfix: Boolean = false, isExternal: Boolean = false, containerSource: DeserializedContainerSource? = null, isFakeOverride: Boolean = origin == IrDeclarationOrigin.FAKE_OVERRIDE, block: IrSimpleFunction.() -> Unit = {}): IrSimpleFunction
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun IrPluginContext.firstIrSimpleFunctionSymbol(callableId: CallableId): IrSimpleFunctionSymbol
Link copied to clipboard
inline fun IrPluginContext.firstIrSimpleFunctionSymbolOrNull(callableId: CallableId): IrSimpleFunctionSymbol?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun IrType.substituteOrSelf(original: IrTypeParametersContainer, transformed: IrTypeParametersContainer): IrType
Link copied to clipboard
inline fun IrSimpleFunction.toIrCall(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, symbol: IrSimpleFunctionSymbol = this.symbol, type: IrType = returnType, typeArgumentsCount: Int = typeParameters.size, origin: IrStatementOrigin? = null, superQualifierSymbol: IrClassSymbol? = null, block: IrCall.() -> Unit = {}): IrCall
Link copied to clipboard
inline fun IrExpression?.toIrConstOrNull(irType: IrType? = this?.type, startOffset: Int = SYNTHETIC_OFFSET, endOffset: Int = SYNTHETIC_OFFSET): IrConst?
Link copied to clipboard
inline fun IrConstructor.toIrConstructorCall(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, symbol: IrConstructorSymbol = this.symbol, type: IrType = symbol.owner.returnType, typeArgumentsCount: Int = symbol.owner.typeParameters.size, origin: IrStatementOrigin? = null, source: SourceElement = SourceElement.NO_SOURCE, block: IrFunctionAccessExpression.() -> Unit = {}): IrConstructorCall
Link copied to clipboard
Link copied to clipboard
inline fun IrValueParameter.toIrField(pluginContext: IrPluginContext, startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, origin: IrDeclarationOrigin = IrDeclarationOrigin.DEFINED, name: Name = this.name, visibility: DescriptorVisibility = DescriptorVisibilities.LOCAL, symbol: IrFieldSymbol = IrFieldSymbolImpl(), type: IrType = this.type, isFinal: Boolean = true, isStatic: Boolean = false, isExternal: Boolean = false, block: IrField.() -> Unit = {}): IrField
Link copied to clipboard
inline fun IrDeclaration.toIrFunctionAccessExpression(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, symbol: IrFunctionSymbol = when (this) {
is IrFunction -> this.symbol
else -> TODO()
}, type: IrType = symbol.owner.returnType, typeArgumentsCount: Int = symbol.owner.typeParameters.size, origin: IrStatementOrigin? = null, superQualifierSymbol: IrClassSymbol? = null, source: SourceElement = SourceElement.NO_SOURCE, block: IrFunctionAccessExpression.() -> Unit = {}): IrFunctionAccessExpression
inline fun IrFunction.toIrFunctionAccessExpression(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, symbol: IrFunctionSymbol = this.symbol, type: IrType = symbol.owner.returnType, typeArgumentsCount: Int = symbol.owner.typeParameters.size, origin: IrStatementOrigin? = null, superQualifierSymbol: IrClassSymbol? = null, source: SourceElement = SourceElement.NO_SOURCE, block: IrFunctionAccessExpression.() -> Unit = {}): IrFunctionAccessExpression
Link copied to clipboard
Link copied to clipboard
inline fun IrClass.toIrGetObjectValue(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, symbol: IrClassSymbol = this.symbol, type: IrType = symbol.owner.defaultType): IrGetObjectValue
Link copied to clipboard
inline fun IrClass.toIrGetValue(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, symbol: IrValueSymbol = this.thisReceiver?.symbol ?: error("${dumpKotlinLike()} has no `thisReceiver`"), block: IrGetValueImpl.() -> Unit = {}): IrGetValue
inline fun IrFunction.toIrGetValue(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, symbol: IrValueSymbol = this.dispatchReceiverParameter!!.symbol, type: IrType = symbol.owner.type, origin: IrStatementOrigin? = null, block: IrGetValueImpl.() -> Unit = {}): IrGetValue
Link copied to clipboard
Link copied to clipboard
inline fun IrSimpleType.toIrTypeProjection(variance: Variance = Variance.INVARIANT): IrTypeProjection
Link copied to clipboard
inline fun IrType.toIrTypeProjectionOrNull(variance: Variance = Variance.INVARIANT): IrTypeProjection?