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

Return

the value of expression.

Parameters

<receiver>

the node to evaluate.

algebra

the algebra that provides operations.