Arithmetic Evaluator
class ArithmeticEvaluator<E : ExecutionContext>(request: Solve.Request<E>, index: Int?) : AbstractEvaluator<E, Numeric>
Content copied to clipboard
Evaluates an expression as a Numeric term. Throws a TypeError in case a non-evaluable sub-term is met. Throws a TypeError in case the evaluation produces a non-numeric term.
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
ArithmeticEvaluator
Link copied to clipboard
fun <E : ExecutionContext> ArithmeticEvaluator(request: Solve.Request<E>)
Content copied to clipboard
ArithmeticEvaluator
Link copied to clipboard
fun <E : ExecutionContext> ArithmeticEvaluator(request: Solve.Request<E>, index: Int?)
Content copied to clipboard
the request of the primitive in which the evaluation should happen
Types
Functions
defaultValue
Link copied to clipboard
visit
Link copied to clipboard
visitClause
Link copied to clipboard
visitCollection
Link copied to clipboard
visitConstant
Link copied to clipboard
visitDirective
Link copied to clipboard
visitEmpty
Link copied to clipboard
visitEmptyList
Link copied to clipboard
visitEmptySet
Link copied to clipboard
visitIndicator
Link copied to clipboard
visitInteger
Link copied to clipboard
visitNumeric
Link copied to clipboard
visitStruct
Link copied to clipboard
visitTruth
Link copied to clipboard
visitTuple
Link copied to clipboard