C# Class PclUnit.Constraints.Pieces.ConstraintBuilder.OperatorStack

OperatorStack is a type-safe stack for holding ConstraintOperators
Show file Open project: jbtule/PclUnit

Public Methods

Method Description
OperatorStack ( ConstraintBuilder builder ) : System

Initializes a new instance of the T:OperatorStack class.

Pop ( ) : ConstraintOperator

Pops the topmost operator from the stack.

Push ( ConstraintOperator op ) : void

Pushes the specified operator onto the stack.

Method Details

OperatorStack() public method

Initializes a new instance of the T:OperatorStack class.
public OperatorStack ( ConstraintBuilder builder ) : System
builder ConstraintBuilder The builder.
return System

Pop() public method

Pops the topmost operator from the stack.
public Pop ( ) : ConstraintOperator
return ConstraintOperator

Push() public method

Pushes the specified operator onto the stack.
public Push ( ConstraintOperator op ) : void
op ConstraintOperator The op.
return void