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

component1
Link copied to clipboard
operator fun component1(): KmEffectType
component2
Link copied to clipboard
operator fun component2(): KmEffectInvocationKind?
component3
Link copied to clipboard
operator fun component3(): List<ImmutableKmEffectExpression>
component4
Link copied to clipboard
operator fun component4(): ImmutableKmEffectExpression?
copy
Link copied to clipboard
fun copy(type: KmEffectType, invocationKind: KmEffectInvocationKind?, constructorArguments: List<ImmutableKmEffectExpression>, conclusion: ImmutableKmEffectExpression?): ImmutableKmEffect
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toMutable
Link copied to clipboard
fun toMutable(): KmEffect
toString
Link copied to clipboard
open override fun toString(): String

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