IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.Constraints.BinaryOperator Class Referenceabstract

Abstract base class for all binary operators More...

+ Inheritance diagram for NUnit.Framework.Constraints.BinaryOperator:
+ Collaboration diagram for NUnit.Framework.Constraints.BinaryOperator:

Public Member Functions

override void Reduce (ConstraintBuilder.ConstraintStack stack)
 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. More...
 
abstract IConstraint ApplyOperator (IConstraint left, IConstraint right)
 Abstract method that produces a constraint by applying the operator to its left and right constraint arguments. More...
 

Properties

override int LeftPrecedence [get]
 Gets the left precedence of the operator More...
 
override int RightPrecedence [get]
 Gets the right precedence of the operator More...
 
- Properties inherited from NUnit.Framework.Constraints.ConstraintOperator
object LeftContext [get, set]
 The syntax element preceding this operator More...
 
object RightContext [get, set]
 The syntax element following this operator More...
 
virtual int LeftPrecedence [get]
 The precedence value used when the operator is about to be pushed to the stack. More...
 
virtual int RightPrecedence [get]
 The precedence value used when the operator is on the top of the stack. More...
 

Additional Inherited Members

- Protected Attributes inherited from NUnit.Framework.Constraints.ConstraintOperator
int left_precedence
 The precedence value used when the operator is about to be pushed to the stack. More...
 
int right_precedence
 The precedence value used when the operator is on the top of the stack. More...
 

Detailed Description

Abstract base class for all binary operators

Member Function Documentation

override void NUnit.Framework.Constraints.BinaryOperator.Reduce ( ConstraintBuilder.ConstraintStack  stack)
inlinevirtual

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.

Parameters
stack

Implements NUnit.Framework.Constraints.ConstraintOperator.

abstract IConstraint NUnit.Framework.Constraints.BinaryOperator.ApplyOperator ( IConstraint  left,
IConstraint  right 
)
pure virtual

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

Implemented in NUnit.Framework.Constraints.AndOperator, and NUnit.Framework.Constraints.OrOperator.

Property Documentation

override int NUnit.Framework.Constraints.BinaryOperator.LeftPrecedence
get

Gets the left precedence of the operator

override int NUnit.Framework.Constraints.BinaryOperator.RightPrecedence
get

Gets the right precedence of the operator


The documentation for this class was generated from the following file: