interpret

fun <T> MST.interpret(algebra: Algebra<T>, arguments: Map<Symbol, T>): T

Interprets the MST node with this Algebra and optional arguments


fun <T> MST.interpret(algebra: Algebra<T>, vararg arguments: Pair<Symbol, T>): T

Interprets the MST node with this Algebra and optional arguments

Receiver

the node to evaluate.

Return

the value of expression.

Parameters

algebra

the algebra that provides operations.