C# Class PclUnit.Constraints.Pieces.BinaryOperator

Abstract base class for all binary operators
Inheritance: ConstraintOperator
Afficher le fichier Open project: jbtule/PclUnit

Méthodes publiques

Méthode Description
ApplyOperator ( Constraint left, Constraint right ) : Constraint

Abstract method that produces a constraint by applying the operator to its left and right constraint arguments.

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

ApplyOperator() public abstract méthode

Abstract method that produces a constraint by applying the operator to its left and right constraint arguments.
public abstract ApplyOperator ( Constraint left, Constraint right ) : Constraint
left Constraint
right Constraint
Résultat Constraint

Reduce() public méthode

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
Résultat void