Expression

fun interface Expression<T>

An elementary function that could be invoked on a map of arguments.

Parameters

T

the type this expression takes as argument and returns.

Functions

Link copied to clipboard
abstract operator fun invoke(arguments: Map<Symbol, T>): T

Calls this expression from arguments.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
operator fun <T> Expression<T>.invoke(): T

Calls this expression without providing any arguments.

@JvmName(name = "callBySymbol")
operator fun <T> Expression<T>.invoke(vararg pairs: Pair<Symbol, T>): T
@JvmName(name = "callByString")
operator fun <T> Expression<T>.invoke(vararg pairs: Pair<String, T>): T

Calls this expression from arguments.

Sources

Link copied to clipboard