C# Class PclUnit.Constraints.Pieces.PrefixOperator

PrefixOperator takes a single constraint and modifies it's action in some way.
Inheritance: ConstraintOperator
Show file Open project: jbtule/PclUnit

Public Methods

Method Description
ApplyPrefix ( Constraint constraint ) : Constraint

Returns the constraint created by applying this prefix to another constraint.

Reduce ( ConstraintBuilder stack ) : void

Reduce produces a constraint from the operator and any arguments. It takes the arguments from the constraint stack and pushes the resulting constraint on it.

Method Details

ApplyPrefix() public abstract method

Returns the constraint created by applying this prefix to another constraint.
public abstract ApplyPrefix ( Constraint constraint ) : Constraint
constraint Constraint
return Constraint

Reduce() public method

Reduce produces a constraint from the operator and any arguments. It takes the arguments from the constraint stack and pushes the resulting constraint on it.
public Reduce ( ConstraintBuilder stack ) : void
stack ConstraintBuilder
return void