Expression Evaluator
class ExpressionEvaluator<E : ExecutionContext>(request: Solve.Request<E>, index: Int? = null) : AbstractEvaluator<E, <ERROR CLASS>>
Content copied to clipboard
Evaluates a Term as an expression, w.r.t. the loaded functions provided through request. Throws a TypeError in case a non-evaluable sub-term is met.
Parameters
request
the request of the primitive in which the evaluation should happen
index
the index of the argument being evalued in the aforementioned primitive
Constructors
Link copied to clipboard
fun <E : ExecutionContext> ExpressionEvaluator(request: Solve.Request<E>, index: Int? = null)
Content copied to clipboard