Exemplo n.º 1
0
 /**
  * Evaluate the variable by getting its value from the Table
  * @param table Table of values
  * @return int value
  */
 public int eval(IMyDictionary<string, int> table, IHeap<int, int> heap)
 {
     return table.lookUp(name);
 }
Exemplo n.º 2
0
 public int eval(IMyDictionary<string, int> table, IHeap<int, int> heap)
 {
     return heap.lookUp(table.lookUp(variableName));
 }