コード例 #1
0
 protected Object computeAssign(Environment env, Object rvalue) {
   ASTree l = left();
   if (l instanceof Name) {
     env.put(((Name) l).name(), rvalue);
     return rvalue;
   } else throw new StoneException("bad assignment", this);
 }