SuperCall

sealed class SuperCall(source)

The function call being handled by the proxy. Includes both the original function (superFun) and the call's args.

Inheritors

Types

Link copied to clipboard
data class FunctionCall(val superFunction: SimpleFunction, val args: ArgumentList) : SuperCall

A call to a simple function.

Link copied to clipboard
sealed class PropertyAccess : SuperCall
Link copied to clipboard
data class PropertyGet(val superProperty: Property, val superFun: PropertyGetter, val args: ArgumentList) : SuperCall.PropertyAccess

A call to a property's getter.

Link copied to clipboard
data class PropertySet(val superProperty: Property, val superFun: PropertySetter, val args: ArgumentList) : SuperCall.PropertyAccess

A call to a property's setter.

Properties

Link copied to clipboard
abstract val args: ArgumentList

The arguments the function is being called with.

Link copied to clipboard

The short name of the function called. May be a name like <get-foo> for a property accessor.

Link copied to clipboard

Whether superFun is abstract.

Link copied to clipboard

Whether superFun can be invoked.

Link copied to clipboard

Whether superFun (and thus this call) is suspending.

Link copied to clipboard

The parameters of the function originally being called.

Link copied to clipboard

If this is an accessor call, return the short name of the property.

Link copied to clipboard
abstract val superFun: Function

The function originally being called.

Link copied to clipboard

Functions

Link copied to clipboard
fun callSuper(): Any?

Call superFun with the call's arguments.

inline fun callSuper(builder: ArgumentsBuilder): Any?

Call superFun with the given arguments.

Link copied to clipboard
suspend fun callSuperSuspend(): Any?

Call superFun with the call's arguments.

inline suspend fun callSuperSuspend(builder: ArgumentsBuilder): Any?

Call superFun with the given arguments.

Link copied to clipboard

Copy the call's arguments into this argument list.