19202122232425
if (!(left instanceof NameExpression)) throw new ParseException( "The left-hand side of an assignment must be a name."); String name = ((NameExpression)left).getName(); return new AssignExpression(name, right); }