code: public <T extends Variable> T lookupVariable(String token) {
          Variable result = variables.get(token);
          return (T)result;
      }
docs: Looks up a variable given its name.  If none is found then return null.