transform

fun transform(topFrameReplacement: Frame, frameTransformer: (Frame) -> Frame): Frame

Transform the receiver via the given Function.

Return

The transformed Frame, possibly the receiver if the result of the transformation would have been an equal value.

Parameters

topFrameReplacement

The Frame to substitute for the top frame of the code being inlined.

frameTransformer

How to transform Frame parts of the receiver.