Edytuj

Udostępnij za pośrednictwem


BinaryOperator Class

Definition

Abstract base class for all binary operators

public abstract class BinaryOperator : NUnit.Framework.Constraints.ConstraintOperator
type BinaryOperator = class
    inherit ConstraintOperator
Inheritance
BinaryOperator
Derived

Constructors

BinaryOperator()

Fields

left_precedence

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

(Inherited from ConstraintOperator)
right_precedence

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

(Inherited from ConstraintOperator)

Properties

LeftContext

The syntax element preceding this operator

(Inherited from ConstraintOperator)
LeftPrecedence

Gets the left precedence of the operator

RightContext

The syntax element folowing this operator

(Inherited from ConstraintOperator)
RightPrecedence

Gets the right precedence of the operator

Methods

ApplyOperator(Constraint, Constraint)

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

Reduce(ConstraintBuilder+ConstraintStack)

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.

Applies to