ContextValue

expect class ContextValue<E : Any>

Deprecated

use org.modelix.kotlin.utils.ContextValue from org.modelix:kotlin-utils

actual class ContextValue<E : Any>
actual class ContextValue<E : Any>

Constructors

Link copied to clipboard
expect constructor()
constructor()
constructor()

Functions

Link copied to clipboard
expect fun <T> computeWith(newValue: E, r: () -> T): T
actual fun <T> computeWith(newValue: E, r: () -> T): T
actual fun <T> computeWith(newValue: E, r: () -> T): T
Link copied to clipboard
expect fun getStack(): List<E>
actual fun getStack(): List<E>
actual fun getStack(): List<E>
Link copied to clipboard
expect fun getValue(): E
actual fun getValue(): E
actual fun getValue(): E
Link copied to clipboard
expect fun tryGetValue(): E?
actual fun tryGetValue(): E?
actual fun tryGetValue(): E?