ImmutableKmEffect

data class ImmutableKmEffect

Immutable representation of KmEffect.

Represents an effect (a part of the contract of a Kotlin function).

Contracts are an internal feature of the standard Kotlin library, and their behavior and/or binary format may change in a subsequent release.

Functions

toMutable
Link copied to clipboard
fun toMutable(): KmEffect

Properties

conclusion
Link copied to clipboard
val conclusion: ImmutableKmEffectExpression?
Conclusion of the effect.
constructorArguments
Link copied to clipboard
val constructorArguments: List<ImmutableKmEffectExpression>
Arguments of the effect constructor, i.e.
invocationKind
Link copied to clipboard
val invocationKind: KmEffectInvocationKind?
Optional number of invocations of the lambda parameter of this function, specified further in the effect expression.
type
Link copied to clipboard
val type: KmEffectType
Type of the effect