IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
The ConstraintOperator class is used internally by a ConstraintBuilder to represent an operator that modifies or combines constraints. More...
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 |
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.
|
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.
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().
|
private |
|
private |
|
protected |
The precedence value used when the operator is about to be pushed to the stack.
|
protected |
The precedence value used when the operator is on the top of the stack.
|
getset |
The syntax element preceding this operator
Referenced by NUnit.Framework.Constraints.ConstraintBuilder.Append().
|
getset |
The syntax element following this operator
|
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().
|
get |
The precedence value used when the operator is on the top of the stack.