Immutable Km Effect
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.
data class ImmutableKmEffect
Content copied to clipboard
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
copy
Link copied to clipboard
fun copy(type: KmEffectType, invocationKind: KmEffectInvocationKind?, constructorArguments: List<ImmutableKmEffectExpression>, conclusion: ImmutableKmEffectExpression?): ImmutableKmEffect
Content copied to clipboard
equals
Link copied to clipboard
Properties
conclusion
Link copied to clipboard
Conclusion of the effect. If this value is set, the effect represents an implication with this value as the right-hand side.
constructorArguments
Link copied to clipboard
Arguments of the effect constructor, i.e. the constant value for the KmEffectType.RETURNS_CONSTANT effect, or the parameter reference for the KmEffectType.CALLS effect.
invocationKind
Link copied to clipboard
Optional number of invocations of the lambda parameter of this function, specified further in the effect expression.