C# Класс PclUnit.Constraints.Pieces.ConstraintOperator

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.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
left_precedence int
right_precedence int

Открытые методы

Метод Описание
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.

Описание методов

Reduce() публичный абстрактный Метод

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 abstract Reduce ( ConstraintBuilder stack ) : void
stack ConstraintBuilder
Результат void

Описание свойств

left_precedence защищенное свойство

The precedence value used when the operator is about to be pushed to the stack.
protected int left_precedence
Результат int

right_precedence защищенное свойство

The precedence value used when the operator is on the top of the stack.
protected int right_precedence
Результат int