public int evaluate(ISymbolTable <string, int> s) { if (s.contains(this.name)) { return(s.getValue(this.name)); } else { throw new IException("no such variable " + this.name); } }