public void Initialize()
 {
     this.operationTable = new OperationTable();
 }
Exemple #2
0
 public PostfixCalculator(IOperationTable operationTable, IOperationFactory operationFactory)
 {
     this.machineStack     = new Stack <IOperand>();
     this.operationTable   = operationTable;
     this.operationFactory = operationFactory;
 }
 public ExpressionParser(IOperationTable operationTable)
 {
     this.operationTable = operationTable;
 }
Exemple #4
0
 public InfixToPostfixConverter(IOperationTable operationTable)
 {
     this.operationTable = operationTable;
 }