WheneverEvaluator

An evaluator that describes what should happen around the code that the premise represents.

Constructors

Link copied to clipboard
constructor(premise: ConditionComponent)

Functions

Link copied to clipboard
fun call(op: Op, location: CallLocationBuilder.() -> CallLocation? = { null })

Specifies that op has to be called in the given location in regard to the premise.

Link copied to clipboard

Specifies a condition that has to be ensured around the premise.

Link copied to clipboard
abstract fun evaluate(context: EvaluationContext): Collection<Finding>