namespace Jint;
///
/// A constraint that engine can check for validate during statement execution.
///
public abstract class Constraint
{
///
/// Called before each statement to check if your requirements are met; if not - throws an exception.
///
public abstract void Check();
///
/// Called before script is run. Useful when you use an engine object for multiple executions.
///
public abstract void Reset();
}