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.ConstraintOperator Class Referenceabstract

The ConstraintOperator class is used internally by a ConstraintBuilder to represent an operator that modifies or combines constraints. More...

+ Inheritance diagram for NUnit.Framework.Constraints.ConstraintOperator:

Public Member Functions

abstract 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...
 

Protected Attributes

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...
 

Properties

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...
 

Private Attributes

object leftContext
 
object rightContext
 

Detailed Description

The ConstraintOperator class is used internally by a ConstraintBuilder to represent an operator that modifies or combines constraints.

Constraint operators use left and right precedence _values to determine whether the top operator on the stack should be reduced before pushing a new operator.

Member Function Documentation

abstract void NUnit.Framework.Constraints.ConstraintOperator.Reduce ( ConstraintBuilder.ConstraintStack  stack)
pure virtual

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

Implemented in NUnit.Framework.Constraints.PropOperator, NUnit.Framework.Constraints.AttributeOperator, NUnit.Framework.Constraints.ThrowsOperator, NUnit.Framework.Constraints.PrefixOperator, and NUnit.Framework.Constraints.BinaryOperator.

Referenced by NUnit.Framework.Constraints.ConstraintBuilder.Resolve().

Member Data Documentation

object NUnit.Framework.Constraints.ConstraintOperator.leftContext
private
object NUnit.Framework.Constraints.ConstraintOperator.rightContext
private
int NUnit.Framework.Constraints.ConstraintOperator.left_precedence
protected

The precedence value used when the operator is about to be pushed to the stack.

int NUnit.Framework.Constraints.ConstraintOperator.right_precedence
protected

The precedence value used when the operator is on the top of the stack.

Property Documentation

object NUnit.Framework.Constraints.ConstraintOperator.LeftContext
getset

The syntax element preceding this operator

Referenced by NUnit.Framework.Constraints.ConstraintBuilder.Append().

object NUnit.Framework.Constraints.ConstraintOperator.RightContext
getset

The syntax element following this operator

virtual int NUnit.Framework.Constraints.ConstraintOperator.LeftPrecedence
get

The precedence value used when the operator is about to be pushed to the stack.

Referenced by NUnit.Framework.Constraints.ConstraintBuilder.Append(), and NUnit.Framework.Constraints.ConstraintBuilder.SetTopOperatorRightContext().

virtual int NUnit.Framework.Constraints.ConstraintOperator.RightPrecedence
get

The precedence value used when the operator is on the top of the stack.


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