IrInvalidationTraceTable

Helper class to make the ComposableInvalidationTraceTable class easier to handle in IR.

Parameters

prop

The property where ComposableInvalidationTraceTable is instantiated. It can be created with the irInvalidationTraceTableProp function.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun irComputeInvalidationReason(keyName: IrConst, compoundKey: IrExpression, arguments: IrValueAccessExpression): IrCall

Returns an IrCall that invokes ComposableInvalidationTraceTable#computeInvalidationReason.

Link copied to clipboard
fun irRegisterStateObject(value: IrExpression, name: IrConst): IrCall

Returns an IrCall that invokes ComposableInvalidationTraceTable#registerStateObject.

Link copied to clipboard
fun propGetter(startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET): IrCall

Returns an IrCall that invokes the getter of rawProp.